- archive-sites {
- ftp://username@host:<port>url-path password password;
- http://username@host:<port>url-path password password;
- scp://username@host:<port>url-path password password;
- file://<path>/<filename>;
- }
- [edit system archival configuration]
Statement introduced before JUNOS Release 7.4.
Specify where to transfer the current configuration files. When specifying a URL in a JUNOS statement using an IPv6 host address, you must enclose the entire URL in quotation marks (" ") and enclose the IPv6 host address in brackets ([ ]). For example, “scp://username<:password>@[ipv6-host-address]<:port>/url-path”
If you specify more than one archive site, the router attempts to transfer the configuration files to the first archive site in the list, moving to the next only if the transfer fails. The format for the destination filename is router-name_juniper.conf[.gz]_YYYYMMDD_HHMMSS.
![]() |
Note: The time included in the destination filename is always in Coordinated Universal Time (UTC) regardless of whether the time on the router is configured as UTC or the local time zone. The default time zone on the router is UTC. |
See Using JUNOS Software to Configure a Router to Transfer Its Configuration to an Archive Site.
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
transfer-on-commit, transfer-on-commit, and configuration
- [edit system file filename archive]
Statement introduced in JUNOS Release 8.5.
Configure an archive site. If more than one site name is configured, a list of archive sites for the system log files is created. When a file is archived, the router attempts to transfer the file to the first URL in the list, moving to the next site only if the transfer does not succeed. The log file is stored at the archive site with the filename specified at the [edit system syslog] hierarchy level.
site-name—Any valid FTP URL to a destination. For information about how to specify valid FTP URLs, see Format for Specifying Filenames and URLs in JUNOS CLI Commands.
See Using JUNOS Software to Configure a Router to Transfer Its Configuration to an Archive Site.
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.