Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page describes how to perform a basic backup of the platform. You could use this when you are performing a minor upgrade or in addition to VM snapshots for a major upgrade

Before you begin:


Check you have enough space on your destination systems before you start the backup


To perform a basic backup of the platform, run the following backups:

  1. Back up the Abiquo MySQL DBs with the date in timestamp format.

    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)
  2. Dump the redis datastore and back it up.

    redis-cli save
    cp -a /var/lib/redis /var/lib/redis-$(date +%Y%m%d_%H%M%S)
    
  3. Back up /opt/abiquo folder on all Abiquo platform servers.

    tar cvfz /opt/abiquo.tgz-$(date +%Y%m%d_%H%M%S) /opt/abiquo
  4. Back up the UI

    tar cvfz /var/www/html/ui.tgz-$(date +%Y%m%d_%H%M%S) /var/www/html/ui

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


Related topics

  • No labels