This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Backup¶
You should always make sure that your solution is properly backed up. The following example shows you how to do this on a Linux-UNIX-based system where eZ Platform is using a MySQL database called "example". You should shut down Platform if it's running before making a backup or an upgrade.
Externally stored assets
If you store assets in any external service or localization, you should back them up before proceeding.
1. Navigate into the eZ Platform directory:
1 |
|
2. Clear all caches:
1 2 |
|
3. Create a dump of the database:
1 2 3 4 5 |
|
4. In parent directory create a tar archive of the files (including the DB dump) using the "tar" command:
1 |
|
At this point, the file backup_of_ezplatform.tar.gz
should contain a backup of DB and files.