Versions Compared

Key

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

...

Excerpt

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.

    Code Block
    mysqldump --routines --triggers kinton            > kinton_dump_`date +%d%m%y`.sql.sql-$(date +%Y%m%d_%H%M%S)
    mysqldump --routines --triggers kinton_accounting > kinton_accounting_dump_`date +%d%m%y`.sql
    Back up Redis
    .sql-$(date +%Y%m%d_%H%M%S)


  2. Dump the redis datastore and back it up.

    Code Block
    redis-cli
    lastsave
    bgsave
    lastsave
    Back up the contents of opt abiquo
     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.

    Code Block
    tar cvfz /opt-/abiquo.tgz-$(date +%Y%m%d_%H%M%S) /opt/abiquo


  4. Backup user interfaceBack up the UI

    Code Block
    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.

...