Page tree
Skip to end of metadata
Go to start of metadata

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:

    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
  • No labels