Backup And Restore
Warning
If you’re about to perform a backup, there needs to be > 50 % of the drive space free on the root
filesystem.
You can check in the IP Fabric’s VM shell with command df -h
.
Backup
IP Fabric enables users to backup data it collects with two options:
- Local backup
- Remote backup (FTP, sFTP)
Tip
Backups are encrypted with osadmin user password configured during the first boot wizard. When you lose osadmin user password, backups are also lost!
Local Backup
Local backup saves database, user, and system files locally on a dedicated backup volume. It’s highly recommended to place the backup volume on a different datastore, ideally on separate physical storage.
Backup Disk
The backup disk is not present by default! Please add a new virtual disk to enable local backups. (See below)
To add a new backup drive and mount
it as desired, follow instructions in Increase Disk Space - Local Backup Disk.
Trigger a Backup Manually (On-Demand)
Both types of backup can be also triggered manually on demand. This is useful for example before a system upgrade.
Warning
A directory has to be specified for FTP and SFTP backups.
Directory path for SFTP has to be defined as an absolute path and for FTP as a relative path. Directory has to exist on the remote side. If it does not exist, you will get an error.
Manual backup can be triggered from IP Fabric Administrative interface:
-
Log in to the admin interface (for example
https://ipfabric.example.com:8443
) -
Go to Restore or Backup
-
Select Backup from Do you wish to proceed with a backup or restore? drop-down menu.
-
For local backup select Local hard drive from the Backup files destination.
-
For remote backup select FTP or SFTP from the Backup files destination.
-
Enter remote FTP/SFTP Server FQDN or IP address. Make sure that your DNS client is configured and working properly in the case of FQDN.
-
Enter Username to access FTP/SFTP server.
-
Enter Password to access FTP/SFTP server.
-
Specify a Directory where FTP/SFTP backup should be uploaded.
-
-
Click Next
Username and Password character restrictions
Username must match the following /^[a-zA-Z0-9_][a-zA-Z0-9_-]*\$?$/
.
Password must match the following [A-Za-z0-9.,/_@%^:=+ -]*
.
Restore
In case of database or system corruption, IP Fabric can be restored from a backup.
Info
Restore is supported only to the same version of IP Fabric as source of a backup. This is checked automatically during restore.
The only exception are snapshots which can be restored to any version of IP Fabric appliance.
Restore From Local Hard Drive
-
Log in to the admin interface (for example
https://ipfabric.example.com:8443
) -
Go to Restore or Backup
-
Select Restore from Do you wish proceed a backup or restore? drop down menu.
-
Select What restore? There are four options:
-
Restore data & all system services - This option restores database and system files. It’s usable for restore from general system failures or upgrade failures.
-
Restore database - it means that only database data are restored. It can be sufficient in case of database failure or accidental database drop.
-
Restore syslog data - it means that only syslog data are restored. It can be sufficient in case of database failure or accidental database drop.
-
Restore snapshot file - particular snapshot can be restored.
-
-
For restore from local backup choose Local hard drive from Backup files source.
-
Click Next.
-
Select backup file - there is year, month, day and time when a backup file was created in a backup filename.
-
Click Restore.
Warning
Backups are encrypted with osadmin user password configured during the First Boot Wizard. When you lose osadmin user password, all backups encrypted by this password are lost.
Restore From Remote Server
-
Log in to the admin interface (for example
https://ipfabric.example.com:8443
) -
Go to Restore or Backup
-
Select Restore from Do you wish proceed a backup or restore? drop down menu.
-
Select What restore? There are four options:
-
Restore data & all system services - This option restores database and system files. It’s usable for restore from general system failures or upgrade failures.
-
Restore database - it means that only database data are restored. It can be sufficient in case of database failure or accidental database drop.
-
Restore syslog data - it means that only syslog data are restored. It can be sufficient in case of database failure or accidental database drop.
-
Restore snapshot file - particular snapshot can be restored.
-
-
For restore from local backup choose FTP or SFTP from Backup files source.
-
Specify Server FQDN or IP address. Make sure that your DNS client is configured and working properly in case of FQDN.
-
Enter Username to access FTP/SFTP server.
-
Enter Password to access FTP/SFTP server.
-
If you would like to use different Directory than FTP/SFTP root please specify.
-
Click Next.
-
Select backup file - there is year, month, day and time when a backup file was created in a backup filename.
-
Click Restore.
Username and Password character restrictions
Username must match the following /^[a-zA-Z0-9_][a-zA-Z0-9_-]*\$?$/
.
Password must match the following [A-Za-z0-9.,/_@%^:=+ -]*
.
Warning
Backups are encrypted with osadmin user password configured during the First Boot Wizard. When you lose osadmin user password, all backups encrypted by this password are lost.