Configuring Archive Sites
After a file reaches its maximum size or the
transfer-intervaltime is exceeded, the file is closed, renamed, and, if you configured an archive site, transferred to a remote host. To configure archive sites, include thearchive-sitesstatement at the[edit accounting-options filefilename]hierarchy level:[edit accounting-options filefilename]archive-sites {site-name;}
site-nameis any valid FTP URL. For more information on how to specify valid FTP URLs, see the JUNOS System Basics Configuration Guide. You can specify more than one URL, in any order. When a file is archived, the router attempts to transfer the file to the first URL in the list, trying the next site in the list only if the transfer does not succeed. The log file is stored at the archive site with a filename of the formatrouter-name_log-filename_timestamp.