home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,272 of 10,769   
   richard@vorax.org to All   
   Re: Query - What do you use as a backup    
   14 Feb 07 18:40:56   
   
   Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfe   
   d.freenet.de!solnet.ch!solnet.ch!news.clara.net!wagner.news.clar   
   .net!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail   
   From: Richard Asbridge    
   Subject: Re: Query - What do you use as a backup solution   
   Newsgroups: alt.os.linux.ubuntu   
   References:    
   User-Agent: pan 0.120 (Plate of Shrimp)   
   MIME-Version: 1.0   
   Content-Type: text/plain; charset=UTF-8   
   Content-Transfer-Encoding: 8bit   
   Date: 14 Feb 2007 23:40:55 GMT   
   Lines: 58   
   Message-ID: <45d39e07$0$28977$da0feed9@news.zen.co.uk>   
   Organization: Zen Internet   
   NNTP-Posting-Host: 82.69.201.62   
   X-Trace: 1171496455 shaftesbury.zen.co.uk 28977 82.69.201.62:13326   
   X-Complaints-To: abuse@zen.co.uk   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:10442   
      
   On Sun, 11 Feb 2007 20:51:30 +0000, Moog wrote:   
      
   > Also...what do you use for your everyday solution? There seems to be a   
   > number of options and I would prefer recommendations rather than my usual   
   > "trial and error" route.   
      
   I use dar and a couple of shell scripts run by a cron job. I have one   
   shell script that backs up nearly everything and it runs once a week.    
   The "backup-full" script looks like this:   
      
   #!/bin/bash   
   dar -w -N -c /data/backup/00-full-system -z -R / -P proc -P    
     data/backup -P data/backupremote -P sys -P dev -P mnt    
     -P media -P tmp -P srv   
      
   The other script "backup-diff" is run every night, does a differential   
   backup and looks like this:   
      
   #!/bin/bash   
   day=`date +%A`   
   daynumber=`date +%u`   
   dar -w -N -A /data/backup/00-full-system   
     -c /data/backup/0$daynumber-diff-$day -z -R / -P dev -P media    
     -P mnt -P proc -P sys -P tmp -P data/backup -P data/backupremote   
     -P srv   
      
   Please note that the long lines that begin with dar have no cariage   
   returns in the real version   
      
   The "P" options prevent some directories from being backed up that are   
   either symlinks to other places on my server or not sensible to backup   
   like /proc or the place where I store the backups. The backup directory   
   lives on another linux machine which incidentally runs the same scripts   
   and backs itself up to this box so they copy the important bits to each   
   other. I.e. I have to lose both machines to lose either of them. I drop   
   the backup data to a external hard disk about once a month just in case as   
   well.   
      
   You can find dar in the ubuntu deb repository. and you can see it online   
   here http://dar.linux.free.fr/   
      
   All of this is driven by crontab entries that look like this:   
      
   # Backup the whole system every Wednesday morning at 4am   
   0 4 * * 3 /usr/local/sbin/backup-full   
      
   # Do a differential backup every morning at 3am   
   0 3 * * * /usr/local/sbin/backup-diff   
      
   You can edit your "root" cron jobs by typing "sudo crontab -e" also have a   
   look at the crontab man page for hints and tips about how this powerful   
   schedule systems works.   
      
   All of this may seem like a bit of a fuss but it is simple, it works and   
   I've successfully saved my ass with it a couple of times now. Ideally I'd   
   like a tape based system but simply can't afford the considerable cost of   
   both drive and media so I make do with a dump from one machine to the   
   other for a bit of redundancy.   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca