[an error occurred while processing this directive][an error occurred while processing this directive]

archive-sites (Configuration File)


archive-sites {file://<path>/<filename>;ftp://username@host:<port>url-path password password;http://username@host:<port>url-path password password;scp://username@host:<port>url-path password password;}

Hierarchy Level

[edit system archival configuration]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Specify where to transfer the current configuration files. When specifying a URL in a JUNOS Software 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 or switch 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 or switch is configured as UTC or the local time zone. The default time zone on the router or switch is UTC.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Published: 2010-04-26

[an error occurred while processing this directive]