Fortinet black logo

Handbook (HTML)

execute backup-remove fd-archive

execute backup-remove fd-archive

Allows you to backup and then remove archives to a FTP server.

To return to the original prompt after the backup is complete, when the message “Transfer Finished” is displayed, press Enter.

Syntax

execute backup-remove fd-archive <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 archives 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 archives to be placed. The default file name is FD-ARCHIVE-<before-date>.tar.

Example

execute backup-remove fd-archive 2008-07-30 <your_ftp_server> <your_ftp_username> <your_ftp_password> . myArchives.tar

See also

execute backup-remove fd-archive

Allows you to backup and then remove archives to a FTP server.

To return to the original prompt after the backup is complete, when the message “Transfer Finished” is displayed, press Enter.

Syntax

execute backup-remove fd-archive <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 archives 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 archives to be placed. The default file name is FD-ARCHIVE-<before-date>.tar.

Example

execute backup-remove fd-archive 2008-07-30 <your_ftp_server> <your_ftp_username> <your_ftp_password> . myArchives.tar

See also