Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Linux Backup Script
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
OK trying to convince a complete NEWBE for a PC »
« A shot across the bow?  
AuthorAll Replies


gquiring
I Did It My Way
Premium
join:2001-04-07
Matawan, NJ

reply to joako
Re: Linux Backup Script

This is what I use to backup my RH server:

DESTDIR="/u/backups/mail"
DESTSERVER="dev1"
LIST="/usr/local/bin/backup.list"
DOW=`date +\%a`

echo "Start: `date`"
tar -czf - --files-from $LIST|ssh $DESTSERVER "cat > ${DESTDIR}/mail_${DOW}.ztar"
echo "End: `date`"

DESTDIR is where it's located on the 'other' server
DESTSERVER is the 'other' server
LIST is a a flat text file of what to backup

Files are compressed in tar format.
Forums » Tech and Talk » OS and Software » All Things UnixOK trying to convince a complete NEWBE for a PC »
« A shot across the bow?  


Friday, 21-Nov 20:42:43 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.
page compression OFF
Most commented news this week
· [198] Obama FCC Selection Team Won't Make AT&T Happy
· [106] DSL's Not Dead Yet
· [84] Zone Alarm Pro Free Just For Today
· [80] Harvard Law Professor Sues RIAA
· [74] Storm Reviews Come Rolling In
· [67] New Xbox 360 'Experience' Goes Live
· [67] CRTC Rules Against Indie ISPs In Throttling Dispute
· [52] Just 26% of U.S. Broadband Users Faster Than 5Mbps
· [51] Cable Grabbing 71% Of New Broadband Customers
· [48] Comcast DOCSIS 3.0 Hits Pacific Northwest In December
Most people now reading
· CRTC ruling coming Thursday Nov 20 [TekSavvy]
· Pentagon Hit by Unprecedented Cyber Attack [Security]
· [Rant] Spelling on the Internet [Rants, Raves, & Praise]
· [WotLK] Championing explained [World of Warcraft]
· [iPhone] 2.2 out now [All things Macintosh]
· when will comcast add espnu? [Comcast Cable TV]
· Core i7 or phenom 2? [PC gaming Tech]
· Appliance repair bill question. [Home Repair & Improvement]
· CN8 signing off. What's this mean for Philly sports? [Verizon FIOS TV]