Versions Compared

Key

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

...

There are two tools that can help you doing a backup of the flexVDI Manager instance:

  • flexVDI Config, for interactive backups,

...

  • manager_backup, for command line or scripting.

Interactive backup with flexVDI Config

To perform an interactive backup, follow those steps:

  1. Launch flexVDI Config running flexvdi-config command from the command line.
  2. Select Manager from the menu
  3. Select Backup.
  4. Enter the password for your instance of flexVDI Manager. The default password is flexvdi.

    config_manager_backup1.png
  5. Enter the path where the backup file will be stored.

    config_manager_backup2.png
  6. Enter the name of the backup file.
    config_manager_backup3.png
  7. The backup process will automatically start. You will be informed of the result of the operation, and the full path of the backup.

Backing up from the command line

This form of backup is ideal for integration into scripts, scheduled tasks or remote administration tools.

...

The only mandatory argument is -d, which is used to identify the target directory for the backup. But we usually must also use -w to state the password for the flexVDI Manager instance. If you the -n argument is not used, a file name based on the current date of the system will be automatically generated for this backup.

Usage example

In the following example we'll launch the manager_backup locally from the installed Host, generate a backup copy in the /flexvdi/backup directory, and use the default password for the flexVDI Manager instance.

Code Block
languagetext
[root@flexdemo01 ~]# manager_backup -d /flexvdi/backup -w flexvdi
Creating a temporal directory...
Backing up MongoDB...
Copying network configuration...
Creating tarball...
Downloading backup...
Cleaning temporal directory...
Finishing...
A new backup has been stored on /flexvdi/backup/flexvdi_backup_021114_1016.tgz

Restoring a backup

To restore a backup, use flexVDI Config, follow these steps:

...