Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: "MLUG Members" <EMAIL:PROTECTED>
- Subject: Re: [MLUG] groking rsync
- From: "Mark Rages" <EMAIL:PROTECTED>
- Date: Thu, 3 May 2007 20:36:03 -0500
- Delivery-date: Thu, 03 May 2007 20:36:39 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OVsBO07NgnrtOYFWlNTto05Whe/PkLNGbzJlXBJJTUlX/MUYjn3DwrPVzOZsaZfboa3QFEUaQtjQLymbJrxgfofIqS7ZRoQg/ylwXc+NhZTqwhWdpM31yVzaeyRBHRS+d2o9ObqNJBpgXig0keJXNgFekUl5Nai88JjQojWbMJg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rOSxFGdIjMlT2jA0o6iBhr0ToRvE98RDxwYhDYGms1ZA86WR5hLbaT2R3DreUevxoyqdTRDxQCL8bnQv/+m/RpGEOG001FgxYDkCG25UzFDdZzrq3N37pfDmHiEI/WCEH+P3vQH04UK86WxEONezeDFwNmL14qOEjkHJpe3gjd8=
- Envelope-to: EMAIL:PROTECTED
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED> <EMAIL:PROTECTED> <EMAIL:PROTECTED>
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
On 5/3/07, Huggard, Arthur Charles (UMC-Student) <EMAIL:PROTECTED> wrote:
Another handy rsync switch (in case you're using rsync for remote backups) is --link-dest <old-directory>
If files are unchanged, this command will create a hardlink of the old file in the new directory, thus enabling you to maintain several "full backups" for the disk price of incremental ones! For example: here's the crux of the backup scheme I use on the lab servers:
rsync -a --delete --delete-excluded --delete-after --rsh="ssh -l `hostname`" --exclude="/sys/*" --exclude="/proc/*" --exclude="/mnt/*/*" --rsync-path="sudo /usr/bin/rsync" --link-dest=../backup.1 / destination:./backup.0/
I had a script that did this on a reiserfs / linux RAID5 system, and
it would get wedged if there were more than a couple hundred hardlinks
to the same file. Never was able to track it down more closely than
that. This was with one of the early 2.4 kernels.
Regards,
Mark
EMAIL:PROTECTED
--
Mark Rages, Engineer
Midwest Telecine LLC
EMAIL:PROTECTED
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members