...
To perform a basic backup of the platform
...
, run the following backups:
Note |
---|
Before you begin |
...
, stop platform services |
...
Note |
---|
Check and check you have enough space on your destination systems before you start the backup |
Excerpt |
To perform a basic backup of the platform, run the following backups: |
Back up the Abiquo MySQL DBs with the date in timestamp format.
Code Block mysqldump --routines --triggers kinton > kinton.sql-$(date +%Y%m%d_%H%M%S) mysqldump --routines --triggers kinton_accounting > kinton_accounting.sql-$(date +%Y%m%d_%H%M%S)
Dump the redis datastore and back it up.
Code Block redis-cli save cp -a /var/lib/redis /var/lib/redis-$(date +%Y%m%d_%H%M%S)
Back up /opt/abiquo folder on all Abiquo platform servers.
Code Block tar cvfz /opt/abiquo.tgz-$(date +%Y%m%d_%H%M%S) /opt/abiquo
Back up the UI
Code Block tar cvfz /var/www/html/ui.tgz-$(date +%Y%m%d_%H%M%S) /var/www/html/ui
If you are using SAML authentication with multiple IdPs, back up this file from every API server:
Code Block cp /opt/abiquo/tomcat/webapps/api/WEB-INF/classes/springresources/security/saml/security-saml-generated-beans.xml /opt/abiquo/tomcat/webapps/api/WEB-INF/classes/springresources/security/saml/security-saml-generated-beans.xml-$(date +%Y%m%d_%H%M%S)
...
When the backup steps are done, store the resulting files in a secure location.
Related topics
...