Backing Up the Console Database

Backup Console's database.

Which Method Should I Use?

There are two different ways to back up the Console database:

  1. Through the asctl command, which backs up only the MySQL database. Use this method before a Console upgrade procedure, or to guard against possible database corruption.
  2. Through the Console web GUI, which backs up the MySQL database in addition to all the files required to fully restore the Console application. Use this method for disaster recovery purposes, in order to restore Console when the entire server is lost.

Backing up via asctl

To backup Console's database using the asctl command, execute the following command in a Terminal:

$ asctl -v console:backup_database

This command uses mysqldump to create Console's MySQL database backup. The backup file, aspera_console.sql, is saved in the following directory:

/opt/aspera/console/backup/<year-month-day_time>

Backing up via the GUI

This procedure is performed via the Console web GUI. Please refer to the topic Database Maintenance.