Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 00:13:17 -0400
From:      George Georgalis <george@galis.org>
To:        Marc Ramirez <mrami@mrami.homeunix.org>
Cc:        Pete Ehlke <pde@ehlke.net>, Taylor Dondich <thexder@lvcm.com>, chat@FreeBSD.ORG
Subject:   Re: Backing up my CDs [was Re: My horror story]
Message-ID:  <20020512001317.D8967@trot.haven.dom>
In-Reply-To: <20020510140416.C16272-100000@mrami.homeunix.org>; from mrami@mrami.homeunix.org on Fri, May 10, 2002 at 02:06:19PM -0400
References:  <20020510063645.A16371@ehlke.net> <20020510140416.C16272-100000@mrami.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020512001317.D8967>