LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-08-2003, 10:47 AM   #1
ixion
Member
 
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 10:51 AM.
 
Old 01-08-2003, 11:19 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
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
 
Old 01-09-2003, 06:39 AM   #3
ixion
Member
 
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..
 
  


Reply



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 09:52 AM
What backup script do you use? buldir Linux - Software 1 04-12-2005 02:57 PM
Need a backup script enygma Linux - General 5 11-04-2004 03:49 PM
help with backup script dennis_89 Linux - Networking 2 06-29-2004 09:47 AM
Backup Script imsajjadali Linux - General 7 01-28-2004 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 PM.

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