Skip to content

Database Backup

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 the Master 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
Alternatively, use the automated script as per instruction: How to create a backup of SolusVM database

Back to top