F5 Automated Backups - The Right Way
Hi all,
Often I've been scouring the devcentral fora and codeshares to find that one piece of handywork that will drastically simplify my automated backup needs on F5 devices. Based on the wo...
Published Mar 13, 2014
Version 1.0Thomas_Schocka1
Altocumulus
Joined May 04, 2012
Thomas_Schocka1
Altocumulus
Joined May 04, 2012
Peter_J_146842
Sep 19, 2014Nimbostratus
Has anyone got this to work 100% properly? I am not able to restore from FTP.
I have no problem with making a job FTP the UCS file (without passphrase) to a FTP server. But when I download it back to the F5, and try to restore it from the file, it fails with:
Saving active configuration...
Current configuration backed up to /var/local/ucs/cs_backup.ucs.
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: SPEC-Files: Not found in archive
tar: Error exit delayed from previous errors
Fatal: executing: tar -zxf /var/local/ucs/20140919_backup_test.com.ucs SPEC-Manifest SPEC-Files
Operation aborted.
/var/tmp/configsync.spec: Error installing package
Config install aborted.
Unexpected Error: UCS loading process failed.
I am not sure what this mean, but I have notices that the version is “unknown” when opening the backup file on the F5.
Furthermore, if I set the job to save on F5 instead of FTP, I can restore it without problem, and the version is now shown right version.
Please advice.
P.S. This is testet in both version 2.0, 2.0.1-tdd and 2.0.2-tdd