Fortinet white logo
Fortinet white logo

Performing a backup

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:
  1. For VMware users, go to File > Export > Export OVF Template to export the VM.
  2. For Name, set a name for the backup.
  3. For Directory, select a directory from which you can restore the backup to vSphere.
  4. Optionally, enter a Description for the backup.
  5. Select OK.
  6. After the backup is complete, right-click the virtual machine you backed up and go to Power > Power On.
Note

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>

Performing a backup

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:
  1. For VMware users, go to File > Export > Export OVF Template to export the VM.
  2. For Name, set a name for the backup.
  3. For Directory, select a directory from which you can restore the backup to vSphere.
  4. Optionally, enter a Description for the backup.
  5. Select OK.
  6. After the backup is complete, right-click the virtual machine you backed up and go to Power > Power On.
Note

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>