LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2006, 03:07 PM   #1
sparton
Member
 
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Rep: Reputation: 15
Mondo Backup Script


Hello, I am running Suse 9.3 pro and have mondo rescue installed and working fine. I can manually back up with my HP tape drive (/dev/st0).

Now what im trying to do is find some resources and help to make a script to automatically backup everynight to /dev/st0.
Most the scipts i have found are to backup to your hard drive and or to a CD . I also want to exclude /shared from the backup.

Can anyone give me a link of some help to get me started.

Thanks!
 
Old 03-09-2006, 03:16 PM   #2
sparton
Member
 
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Original Poster
Rep: Reputation: 15
wait...i found a good site myself

http://www.mondorescue.org/docs/mondoarchive.8.html


very helpful i was able to throw together my script with this site.


Quote:
#!/bin/bash
PATH=/usr/bin:$PATH
export PATH

mondoarchive -Ot -7 -d /dev/st0 -E '/mnt /shared' -T
/backup/mondo -S /backup/mondo/scratch -9 -F

tail -200 /var/log/mondo-archive.log > /tmp/mondo-archive.stripped
mail -s "Mondo Archive Report" < /tmp/mondo-archive.stripped
rm /tmp/mondo-archive.stripped
 
  


Reply


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
System backup using Mondo tuxian Mandriva 9 02-07-2006 04:53 PM
Using CP in my backup script. Echo Kilo Programming 6 06-01-2005 09:43 AM
backup to CD (mondo-rescue, dar or partimage) simon196405 Linux - Software 1 11-27-2004 04:09 AM
Script Backup Buto Linux - General 2 10-18-2004 06:56 PM
Mondo: backup across network? lhoff Linux - Software 0 06-01-2002 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration