For the customer who are using WAR file, please follow this to backup your database. You can run a cron job to backup database daily For example:
/usr/bin/mysqldump -u root --password=root -h localhost cubedrive > /secundary/backup/cubedrive-DBBackup-`date +%d%m%y-%H%M%S`.sql
For backup purpose, we suggest that your team copy the result to another hardware disk daily.
Images and uploaded attach files are saved in the Linux folder. So this folder is also needed to be backup. This folder is set at app.properties file, such as:
Please backup this folder daily.
If system failed at any time with hardware problem. You can follow the above steps to install related software, apache, tomcat, mysql, Java, open office etc. Then dump the backup latest SQL to the new system, as well as image folders (Just replace the initial folder in our war file).
Everything will be back after your start new system.