Performing a backup
You can export (or create a snapshot of) a VM for a backup. For example, for VMware, from the vSphere client, shut down the database VMs from the VM console. If you are using the sample MySQL database, log in as user fpc
, get root privileges, type sudo su
, and type shutdown now
.
To perform a backup:
- For VMware users, go to File > Export > Export OVF Template to export the VM.
- For Name, set a name for the backup.
- For Directory, select a directory from which you can restore the backup to vSphere.
- Optionally, enter a Description for the backup.
- Select OK.
- After the backup is complete, right-click the virtual machine you backed up and go to Power > Power On.
You can use https://mysqlbackupftp.com to back up the portal database. |
To backup and restore using the CLI:
Use the following CLI commands to backup and restore the configuration:
-
execute backup all-settings {ftp | scp | sftp} <server ip> <path/filename> <username> <password>
-
execute restore all-settings {ftp | scp | sftp} <server ip> <path/filename> <username> <password>