Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-03-2006, 04:36 PM   #1
Member (13 bit)
 
Floppyman's Avatar
 
Join Date: Mar 1999
Posts: 6,791
Backup Scripts

Hi all,

I've got a Sony SCSI DDS-3 tape drive in my linux box that I have always wanted to setup to backup my files automatically twice a week or so. I think I can do most of what I need by setting up a cron job and using tar to write to the drive. Does anyone know of some good links that detail how to write a good weekly backup script for a tape drive to run in linux? TIA.

Last edited by Floppyman; 09-03-2006 at 04:39 PM.
Floppyman is offline   Reply With Quote
Old 09-03-2006, 06:53 PM   #2
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Try sbackup (http://sbackup.sourceforge.net). It will require you have your drive mounted. I use it and it works great.
If by chance you use Ubuntu it's in the repositories.
faulkner132 is offline   Reply With Quote
Old 09-03-2006, 07:29 PM   #3
Member (13 bit)
 
Floppyman's Avatar
 
Join Date: Mar 1999
Posts: 6,791
Thanks for the reply. I actually use slack, but I will give this a try.
Floppyman is offline   Reply With Quote
Old 09-03-2006, 08:30 PM   #4
Member (13 bit)
 
Floppyman's Avatar
 
Join Date: Mar 1999
Posts: 6,791
Yeah, I'm running into a dependency mess with my older version of Slack (2.4.29 kernel still ), plus I never installed the Gnome desktop nor its libraries way back when I installed it. Since my ultimate plan was to change to a different distro of linux anyway in the near future (probably Debian), I think I'll just wait and install Debian, and then use apt-get for sbackup instead of spending hours sorting out these dependency issues.
Floppyman is offline   Reply With Quote
Old 09-27-2006, 09:29 PM   #5
Member (8 bit)
 
MichaelS's Avatar
 
Join Date: May 2003
Location: Richmond Hill, Ontario, Canada
Posts: 128
Send a message via ICQ to MichaelS Send a message via MSN to MichaelS Send a message via Yahoo to MichaelS
Hey Floppyman,

For what it's worth, I created some backup scripts that I use my production web/dns/mail servers running Slackware. My backup gets done every night (actually early morning). The backup process consists of taking files from /etc /var /home and tar'ing them with maximum compression (bzip), then burning them to CD (on 1 server) and DVD on another server. Then the servers will mount the media and do a md5sum to compare what was backed up with what is stored locally. After this process is done, root will get an email with the results and total backup size.

If you still need some assistance with the scripting portion, please let me know. I'm by no means a programmer, but I do have some basic programming skills.

Regards,

Michael
MichaelS is offline   Reply With Quote
Old 09-28-2006, 07:11 AM   #6
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Michael, I would love to see your script. Any way you could post it or PM it to me?
faulkner132 is offline   Reply With Quote
Old 09-28-2006, 03:15 PM   #7
Member (13 bit)
 
Floppyman's Avatar
 
Join Date: Mar 1999
Posts: 6,791
Hi guys,

I actually found a pretty decent script online that backs up a directory onto tape, then prints out backup time/size into logfile which is stored aftewards in the directory that was backed up. If at all possible though, I would still be interested in seeing your backup script, Michael. TIA.
Floppyman is offline   Reply With Quote
Old 10-08-2006, 05:36 PM   #8
Member (8 bit)
 
MichaelS's Avatar
 
Join Date: May 2003
Location: Richmond Hill, Ontario, Canada
Posts: 128
Send a message via ICQ to MichaelS Send a message via MSN to MichaelS Send a message via Yahoo to MichaelS
Sorry for the delay folks...

I've posted the scripts I use at http://www.shalit.ca/~michael/dump

Username: pcmech
Password: pcmech

Regards,

MS

P.S. Please note that I'm not a programmer, so the scripts aren't perfect, but they do their job. Sometime soon, I hope to make the MD5SUM checks automatic as opposed to emailing root with the md5sums and comparing them visually. I just don't have as much free time as I used to...
MichaelS is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:53 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2