[NTLUG:Discuss] backing up in linux....

Eric Schnoebelen eric at cirr.com
Thu Sep 14 11:23:59 CDT 2006


"Eric Waguespack" writes:
- I would like to backup a harddrive containing lets say 1.5GB of data,
- and I would like to copy (backup) this data to usb thumbdrives.
- 
- My question is how... since the only "archive" bit I am aware of in
- linux is only significant with the dump command.

	Er, there is no "archive bit", at all..

	There is a "time of last modification", which is what
you're interested in.

- basically I need to be able to do the following:
- 
- cp -r /home/me/dir /media/usbthumbdrive
- ...
- ...
- ...
- <disk full, replace and press a key to continue>
- etc...
- 
- the preferred solution would be a command line one, but anything is welcome.

	I'd approach it using find(1), with the ``-mtime''
option, and then using either tar or cpio to write to the
thumbdrives.

	Do you want the thumbdrives to be stand alone
filesystems, or are you willing to treat them like segments of
streaming media (aka, tape)?

	Another approach would be to use rsync on to the thumb
drives, along with "link farms" to minimize data duplication.
Jeff Rush gave a presentation on using rsync in this fashion at
a recent DFWUUG Linux SIG.  See http://www.dfwuug.org for more
details.

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
	I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs 
		  treat us as equals.  -- Winston Churchill



More information about the Discuss mailing list