Home:FERP: Difference between revisions
Desheng Fu (talk | contribs) |
Desheng Fu (talk | contribs) |
||
| Line 15: | Line 15: | ||
FERP doesn't support roll-back. You may backup your system at first if you want to test a newer version. However, you can't roll-back to an older version with the new data. | FERP doesn't support roll-back. You may and should backup your system at first if you want to test a newer version. However, you can't roll-back to an older version with the new data. | ||
=== Backup, Restore & Move === | === Backup, Restore & Move === | ||
Revision as of 16:07, 11 June 2025
IM (Install & Maintain)
Install
Update & Roll-Back
Please follow the following instruction to update . 1. Backup the database. 2. Stop the web server so that no transition. 2. Update the packages.json npm. 3. FERP provides Template:Code 5. Start the web server again.
It's notable that if your current version is too old, maybe you're not allowed to update to the newest version directly. may have to update to a certain version at first
FERP doesn't support roll-back. You may and should backup your system at first if you want to test a newer version. However, you can't roll-back to an older version with the new data.
Backup, Restore & Move
FERP use a central database to store everything. You can use different tools to backup and restore the database.
Depending on your requirements, maybe you also want to backup the global configuration file config.json.
Backup / Restore is a safe way to move a system from one server to another server if and only if the both server are:
- running exact the same FERP version (including all plugins).
- running exact the same database version.
- reachable under the same URL (domain name).
You may have to shutdown the old server before restoring to the new server. You can follow this instruction to change domain before or after the movement.
WARNING:
- Both the database and the configuration file contain sensitive data. Never store or transmit them in an insecure way.
- Always verify the source of the data before restoring the system.