Restoring your backup
A summary of how to restore from backup
Backing up your Oscar system is important. Even more important is the ability to restore from a backup - test it from time to time.
- Obtain the most recent backup files. You will need at least the Mysql database and the documents
- Have your replacement OSCAR install up and running matching the version that has gone down.
- Unencrypt the backup (this varies by encryption method)
- Overwrite the documents with the document files eg
tar -xzvf OscarDocumentBackup.tar.gz - Expand any compressed database file to the plain text .sql equivalent eg
tar -xzvf OscarBackup.tar.gz - Overwrite the database with your database backup eg
mysql -uroot -pYourMySqlpassword YourDatabase < OscarBackup.sql

