Config Backup–What if you had a Backup for Every Commit?

I’m not kidding, OK on each device Juniper keeps that last 49 old plus the active config for a total of 50.  But what if you needed to look back further than that.

Well you can in fact you can configure JUNOS to save a backup of every commit to a FTP server.  Its simple, here’s how.

edit

set system archival configuration transfer-on-commit archive sites ftp://server/path

 

Active FTP server

system {
    archival {
        configuration {
            transfer-on-commit;
                archive-sites {
                    "ftp://admin:password@192.168.1.100/configurations";
                }
        }
    }
}

Passive FTP server

system {
    archival {
        configuration {
            transfer-on-commit;
                archive-sites {
                    "pasvftp://admin:password@192.168.1.100/configurations";
                }
        }
    }
}

 

And your all done.

 

Reference Juniper KB 20952

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s