Forum Discussion
swo0sh_gt_13163
Jul 20, 2014Altostratus
F5 Auto backup script for SCP for V10 and 11.
Hello Guys,
I have tried looking for the subjected topic within DevCentral, but unfortunately that didn't help. (I must be doing something wrong for sure). By the way I couldn't find any script ...
What_Lies_Bene1
Jul 21, 2014Cirrostratus
The script just saves the files locally I'm afraid.
Storing a username and password in this file would not be a good idea. You'd want to set-up key-based authentication as explained here: https://blogs.oracle.com/jkini/entry/how_to_scp_scp_and.
Then it would be as simple as adding something like this before the end of the script;
scp "${UCS_FILENAME}.ucs" username@hostname:/dir/location/
scp "${UCS_FILENAME}.scf" username@hostname:/dir/location/
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects