Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Creating a crontab ucs automated backup

gadbekr
Altocumulus
Altocumulus

We are attempting to use the crontab on our F5 Viprion setup for all Hosts and guests to generate an automated backup and send this backup to our backup storage server. I have the below script and it is working, but I am not sure how to include the password for the SCP client so the backup will be moved to the server.

 

tmsh save /sys ucs /var/local/ucs/$(/bin/hostname).ucs && scp /var/local/ucs/$(/bin/hostname).ucs username@xxx.xxx.xxx.xxx:/$(/bin/hostname)-$(date +\%Y-\%m-\%d).ucs

 

Username and IP address have been modified for security purposes.

 

1 REPLY 1

Hi ,

 

please follow the procedure described in  K13454: Configuring SSH public key authentication on BIG-IP systems (11.x - 15.x), section "Configure public-key authentication from the BIG-IP system to a remote system".

 

KR

Daniel