Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 MySQL

Code Block

Code Block
languagebash
# On DB server, back up the Abiquo MySQL DBs
mysqldump --routines --triggers kinton            > kinton

...

.sql-$(date +%Y%m%d_%H%M%S)
mysqldump --routines --triggers kinton_accounting > kinton_accounting

...

Back up Redis

Code Block
redis-cli
lastsave
bgsave
lastsave

Back up the contents of opt abiquo

Code Block
tar cvfz opt-abiquo.tgz /opt/abiquo

Backup user interface

Code Block
tar cvfz var-www-html-ui.tgz /var/www/html/ui

When the backup steps are done, store the resulting files in a secure location.

Related topics

...

.sql-$(date +%Y%m%d_%H%M%S)

# On the Monitoring server, back up Watchtower DB
mysqldump --routines --triggers watchtower            > watchtower.sql-$(date +%Y%m%d_%H%M%S)

# On the Abiquo API Server or UI server, back up the UI
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, on ALL Abiquo API Servers, back up this file
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)

# On ALL servers, back up the /opt/abiquo folder
tar cvfz /opt/abiquo.tgz-$(date +%Y%m%d_%H%M%S) /opt/abiquo

# On Abiquo Monolithic or API Server, Remote Services, or Datanode, back up Redis
redis-cli save
cp -a /var/lib/redis /var/lib/redis-$(date +%Y%m%d_%H%M%S)