Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX/SRX] Example - Back up/archive a configuration file to a remote server while executing commit

0

0

Article ID: KB15399 KB Last Updated: 11 Oct 2019Version: 3.0
Summary:

This article describes the Junos OS configuration procedure for backing up a configuration file when a commit operation is executed. The file is then archived to a remote server.

Symptoms:

The goal of this article is to describe how to back up/archive a configuration file to a remote server when executing a commit operation.

Solution:

The following configuration shows how to back up and archive the Junos OS configuration file on an FTP server. On every commit applied from configuration mode, the EX /SRX device will transfer a copy of the configuration file to an ASCII file on the defined FTP server. The filename created on the FTP server contains the following:

  • hostname

  • date

  • time signature (timestamp)

Configuration

system {
              archival {
                  configuration {
                          transfer-on-commit;
                          archive-sites {
                                  "ftp://username@<IP address of FTP server>" password <password>;
                                  }
                          }
               }
     }

Note: Verify FTP server connectivity from the EX switch/SRX firewall to the FTP server prior to configuring archiving.

Modification History:

2019-10-11: SRX Series added to the Solution and Product category because the same config applies to SRX products as well

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search