LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   backup script (https://www.linuxquestions.org/questions/linux-software-2/backup-script-40724/)

ixion 01-08-2003 10:47 AM

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?

hfawzy 01-08-2003 11:19 AM

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

ixion 01-09-2003 06:39 AM

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.