backup script
I would like to write a perl script (or whatever you guys suggest) to backup my system for me. It will need to mount 2 smb shares, tar up some directories, copy the tar files to the smb shares, then unmount the smb shares. I also would like to write in prompts (ie, 'Do you want to unmount remote shares, now? y/n' ; or 'Please select one of the following: 1 - full backup, 2 - email backup, 3 - storage backup').
edit: sorry, hit the submit button too fast. anyway, what do you guys suggest I use, and where should I go to get information on writing something like this? |
Hi,
I would recommend you to use Bash shell . Here are some useful links : Introduction to Bash shell scripting Advanced Bash-scripting guide or you could search http://www.google.com/linux Hope that helps, hfawzy |
thanks for the suggestion! Bash is alot of fun to program in. Reminds me of a long time ago programming in batch files, cept I like Bash better..:D
|
All times are GMT -5. The time now is 11:43 PM. |