From owner-freebsd-chat Sat May 11 21:12:51 2002 Delivered-To: freebsd-chat@freebsd.org Received: from trot.galis.org (ool-18bdd4e6.dyn.optonline.net [24.189.212.230]) by hub.freebsd.org (Postfix) with ESMTP id 47EE337B403 for ; Sat, 11 May 2002 21:12:47 -0700 (PDT) Received: (from gx@localhost) by trot.galis.org (8.11.6/8.11.6) id g4C4DIN16196; Sun, 12 May 2002 00:13:18 -0400 Date: Sun, 12 May 2002 00:13:17 -0400 From: George Georgalis To: Marc Ramirez Cc: Pete Ehlke , Taylor Dondich , chat@FreeBSD.ORG Subject: Re: Backing up my CDs [was Re: My horror story] Message-ID: <20020512001317.D8967@trot.haven.dom> References: <20020510063645.A16371@ehlke.net> <20020510140416.C16272-100000@mrami.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020510140416.C16272-100000@mrami.homeunix.org>; from mrami@mrami.homeunix.org on Fri, May 10, 2002 at 02:06:19PM -0400 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, May 10, 2002 at 02:06:19PM -0400, Marc Ramirez wrote: >On Fri, 10 May 2002, Pete Ehlke wrote: > >> Now, I understand that finding a way to back up your 200 Gb home MP3 >> collection can be painful, but if you have systems and data that are >> important to you, get that data backed up *somewhere*. > >As someone who is archiving his CD collection, what do people use out >there for backing up 200 gig of crap? > >Marc. > Fortunately for me, my CD collection is already archived ;-) here is a concept for keeping 'filenames' their 'cdrom name' ($s) and date of last modification in a file called 'index' could be run each week then write backup.$s.bz2 to CDROM, scripters incremental method. To restore: look in the index for your file, then pick the date you want, then use the CD name to find the disk you need. Better than below: make links in /mnt/4cdrom/ then make an iso of that and erase, so the CDs can be used without untaring. For the brave and bold... run a cron everyday, when there is 640MB of modified files make links, use -mtime and +mtime to catch the 640MB window. I guess the key will always be in getting the timing right. Sorry, you still got to make a lot of disks the first time through. Note: I've not used all these options so I don't know if it'll work and some of them I looked up on linux so the switches may be different. /bin/sh s=`date +%s` find / -mtime 7 -type f > files cat /dev/null > index2 for e in files ; do echo $e\t$s\t`date -r $e` >> index2 done cat files | tar cjf --multi-volume --tape-length 640 backup.$s.bz2 cat index2 >> index mv index index~ ; sort index~ > index end lucky for me, my backups are only 33256991415. :) // George -- GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 Security Services, Web, Mail, mailto:george@galis.org File, Print, DB and DNS Servers. http://www.galis.org/george To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message