Remote backup configuration
Use the Remote Backup Configuration view to define the connection details used to copy database and system files to a third party (remote) server.
Database and system backups occur automatically when the Database BackUp and System Backup scheduled tasks run. The backup files are stored on the local appliance. See Database backup/restore and System backups for more information.
The Administrator can, additionally, configure FortiNAC to place a copy of the database and system backups on a remote server for safekeeping. The backups are placed in time and date stamped files.
Files can be transferred using FTP and/or SSH protocols.
Database backup file naming convention:
FortiNAC_DataBase_BackUp_YYYY_MM_DD_HH_mm_SS_<hostname>.gz
System backup file naming convention:
<hostname>.YYYYMMDD.*.gz
Step 1: Configure the backup server
Remote server configuration using FTP
-
Create an account on the remote FTP server to be used by FortiNAC for backup file transfer.
-
Create a folder to which FortiNAC will copy the files.
For instructions on completing the above tasks, consult documentation specific to the FTP application used.
Remote server configuration using SSH
The FortiNAC’s public key must be appended to the authorized_keys file in the remote server for successful SSH communication.
High Availability configurations: SSH keys for both the primary and secondary FortiNAC servers must be appended.
-
In the FortiNAC UI, navigate to System > Settings > System Management > Remote backup configuration.
-
Select the checkbox next to Enable SSH Remote Backup.
-
Select Display Public SSH Keys.
-
The Public SSH Key window appears. Copy the key displayed.
-
Click Close.
-
Associate the public key to the remote server where the backups will be stored. This process will vary depending on the product. Refer to the SSH server product documentation for instructions.
-
The format of authorized_keys file is one entry per line.
-
Do not include extra white space or characters when pasting the key.
-
Step 2: Configure the remote backup target
-
In the UI navigate to System > Settings > System Management > Remote Backup Configuration.
-
Configure using the table below.
Field
Definition
Backup Timeout
Number of minutes for the backup to be created and copied to the remote server. If this time elapses before the backup is done, the process is interrupted. Be sure to select a time that is long enough for your system to complete its backup. The default is 20 minutes; however, large systems may require more time.
Enable FTP Remote Backup
Remote backups to this server are enabled when this is checked.
Default = Unchecked
Server
IP address of the remote server.
User Name
User Name required for write access to the server.
Password
Password required for write access to the server.
Remote Path
The directory path where the remote backup files will be placed. This directory must exist on the server.
EnableSSH Remote Backup
Remote backups to this server are enabled when this is checked. The SSH keys must already be established for the SSH remote backups to be successful.
Default = Unchecked
Display Public SSH Keys
Click to view the public SSH key from the FortiNAC Primary and Secondary Control Servers.
Server
The IP address of the remote server. Format is user@remote-server, such as asmith@192.168.1.1 .
Remote Path
The directory path where the remote backup files will be placed. This directory must exist on the server.
Test SSH Connection
Test the connection to the server using the SSH Server and SSH Remote Path settings to confirm the settings are valid.
If the test fails, it means the Remote Backup task will not back up the files to the specified remote server.
Step 3: Validate
FTP
-
Navigate to System > Scheduler.
-
Highlight the Database Backup task and click Run Now.
-
On the remote server, confirm the files were transferred.
SSH
-
Click Test SSH Connection to verify SSH communication with the remote server.
-
Once successfully tested, navigate to System > Scheduler.
-
Highlight the Database Backup task and click Run Now.
-
On the remote server, confirm the files were transferred.