execute backup-remove fd-report
This FortiDB CLI allows you to backup and then remove reports to a FTP server.
Please press <enter> to get back to the original prompt after the backup has completed with the message saying “Transfer Finished”. |
Syntax
execute backup-remove fd-report <before-date> <ftp server> <username> <password> [directory][filename]
where:
Keywords and variables | Description |
---|---|
<before-date>
|
Date of the last archive you want included in your backup. For example, if you specify 2008-12-31, the backup will include reports for up to this date. The format is YYYY-MM-DD (MM(1-12), DD(1-31)). YYYY is a 4-digit number representing the year. MM is a 2-digit number from 1 to 12 representing the month. DD is a 2-digit number from 1 to 31 representing the day of the month. |
<ftp server>
|
IP address or hostname of FTP server. |
<username>
|
User name of account that logs on to the FTP server. |
<password>
|
Password of account that logs on to the FTP server. |
[directory]
|
Location on FTP server where you want the tar file to be placed. |
[filename]
|
Name for the tar file on the FTP server where you want the reports to be placed. The default file name is FD-REPORT-<before-date>.tar. |
Example
execute backup-remove fd-report 2008-07-30 <your_ftp_server> <your_ftp_username> <your_ftp_password> . myReports.tar