Backup
Configuration backup tool
The op5 Monitor GUI has got a built-in backup feature. This is not supposed to be a replacement to op5-backup.
| The configuration backup is only backing up the op5 Monitor configuration, nothing else. |
Backup/Restore actions
In the list of backups the second column is called ACTIONS. This is the functions you will find there, from the left to the right:
•View what files are included in the backup.
•Restor the backup
•Delete the backup.
Backing up the configuration
To backup your op5 Monitor configuration
1 Click Backup/Restore in the main menu.

2 Click
Save your current op5 Monitor configuration.

3 Now your backup is created and can be restored at any time you like.

4 Click the backup archive name to download and save the backup archive somewhere else.
Restoring a configuration backup
To restor a op5 Monitor configuration backup
1 Click Backup/Restore in the main menu.

2 Click restor icon on the configuration backup you like to restore.

Now the backup has been restored.
op5-backup
About
The op5-backup script is a script that backs up the op5 installation. It does not backup the operating system.
Configuration
The configuration for op5-backup is located in:
/etc/op5-backup/main.conf
op5-backup support local or ftp backup. Local backup can be done to a mounted share.
Create a backup
Creating a full backup
A full backup will back up the following (if installed):
•op5-system
•op5-monitor
•op5-plugins
•Docuwiki
•Logserver
•Statistics
To run a full backup of your op5 server enter
op5-backup
The backup file will be stored in the location specified in the configuration file.
Creating a custom backup
It is possible to exclude or include different modules in a backup.
To get a list of the different modules type:
ls /etc/op5-backup/modules/legacy
To create a backup that excludes a specific module type:
op5-backup -- -<module1> -<module2>
To create a backup that includes only the specified modules type:
op5-backup -- +<module1> +<module2>
Creating a change arch backup
A change arch backup is used when i.e backing up a 32-bits system and restore it on a 64-bits system.
To create a change arch backup type:
op5-backup -m charch
It is also possible to combine this with the include/exclude modules option.
I.e we what to create a backup of a 32-bit system with the system configuration to restore that on a 64-bits system.
op5-backup -m charch -- -op5-system
| A change arch backup will convert all graphs, in a large installation with a lot of history this can take up to a couple of hours. |
Restoring a backup
To restore a full backup type:
op5-restore -b <path to backup file>
| Only do a full restore when using a local terminal. Do not restore via SSH. The session will be lost if the network service is restarted. |