LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-08-2003, 11:47 AM   #1
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
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?

Last edited by ixion; 01-08-2003 at 11:51 AM.
Old 01-08-2003, 12:19 PM   #2
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
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

Hope that helps,
Old 01-09-2003, 07:39 AM   #3
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
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..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup script raptorman Programming 4 08-22-2005 10:52 AM
What backup script do you use? buldir Linux - Software 1 04-12-2005 03:57 PM
Need a backup script enygma Linux - General 5 11-04-2004 04:49 PM
help with backup script dennis_89 Linux - Networking 2 06-29-2004 10:47 AM
Backup Script imsajjadali Linux - General 7 01-28-2004 04:30 PM

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration