THEORY: Backup Shell Script

existenz

Verified User
Joined
Jul 18, 2003
Messages
542
Location
/dev/null
I came across something today that might be of use for you guys! I made a small script in FreeBSD while using the fetch command that would allow me to download and grab a backup files. It would prompt me for my admin username and password and it would download. I was not sure if you were aware of this since wget and curl don't work in this manner.

My idea is assuming that the u/p was edited into the script I could have setup a cron job on another box to download backups. Assuming someone wanted to do this you could use fetch on FreeBSD and possibly this Snarf utility for Linux???? http://www.xach.com/snarf/.

This is just a thought...I never finish the script and you would need to write it in such a way that the username and password is entered for you.
 
Back
Top