sftp-backup (OCS Partition)
Syntax
sftp-backup {
accumulation-timeout seconds;
accumulation-count messages;
accumulation-size bytes;
logical-system;
retry-interval seconds;
response-timeout seconds;
routing-instance;
address ipv4 | ipv6;
port number;
directory filename;
file-name-prefix filename-prefix;
node-ipv4-address;
node-ipv6-address;
ssh-login;
ssh-connection-linger;
ssh-log-verbose;
ssh-passphrase;
}
Description
The data backup for OCS using the SFTP protocol to store data on a remote server.
Options
| accumulation-timeout seconds | The file accumulation time since the first CCR-GY-T was submitted. The maximum time is 30 seconds. |
| accumulation-count messages | The number of requests that are past file account count. The maximum accumulation count is 2000 messages. |
| accumulation-size bytes | The file once its size has reached the accumulation size limit. The maximum accumulation size is 3000000 bytes. |
| logical-system | The logical system to be used by sftp. |
| retry-interval seconds | Every failed write operation is retried after this interval until backup timeout is accumulated. The maximum retry interval is 1200 seconds. |
| response-timeout seconds | The timeout on individual SFTP command response. The maximum response timeout is 60 seconds. |
| routing-instance | The SFTP service connection context for the routing instance. |
| address | The address of SFTP server |
| port | The port number. The default port number is 22. |
| directory | The directory name. |
| file-prefix prefix | The prefix for the file. |
| node-ipv4-address | The IPv4 address of the sending node. |
| node-ipv6-address | The IPv6 address of the sending node. |
| ssh-login | The login name on SFTP server, may include %h and/or %r similar to directory. |
| ssh-connection-linger | The time to keep existing ssh connection idle state. |
| ssh-log-verbose | The verbose logs to be collected from ssh session. |
| ssh-passphrase | The password or later passphrase. |
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 18.1.