Page tree

Versions Compared

Key

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

Backup via UI

  1. Go to SolusVM > Tools > Database
  2. Click Download or Send to Email

Database backup will be downloaded or sent to admin email

Backup via CLI

  1. Login to slave node via SSH as root
  2. Execute the following command to create a backup:

    Code Block
    MYSQL_PWD=`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $3}'` mysqldump -u`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $2}'` `cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $1}'` > solusvmdb.sql