SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Way to handle symlinks
Author Message
Post Way to handle symlinks 
Dear All,

I need to backup a directory with multiple large files of the form snapshot/foo-yymmddhhMMSS.log  which are snapshots of foo.log.

Conceptually,  what I would like to do is for each file

ln -s snapshot/foo-yymmddhhMMSS.log intermediate/foo.log

rdiff-backup intermediate  backup

Can anyone suggest a sane way of doing this?   I'm mounting snapshot across a network and I would like to avoid unnecessarily copying files.


This was discussed on http://old.nabble.com/Can-I-make-rdiff-backup-follow-symlinks--td17100388.html
--
Thanks, Steve

Post Way to handle symlinks 
On Tue, Nov 22, 2011 at 01:37:22PM -0500, Steve Dutky wrote:
Dear All,

I need to backup a directory with multiple large files of the form
snapshot/ foo-yymmddhhMMSS.log which are snapshots of foo.log.

Conceptually, what I would like to do is for each file

ln -s snapshot/foo-yymmddhhMMSS.log intermediate/foo.log

rdiff-backup intermediate backup

Can anyone suggest a sane way of doing this? I'm mounting snapshot
across a network and I would like to avoid unnecessarily copying
files.

Hello Steve,

I am trying to understand how "ln -s" will offer reduced bandwidth
utilization over something like:

rsync -a snapshot/foo-yymmddhhMMSS.log intermediate/foo.log
rdiff-backup intermediate backup

or

cp snapshot/foo-yymmddhhMMSS.log intermediate/foo.log
rdiff-backup intermediate backup

Either way the data has to cross the network, right?

Also, I can see using a single 'foo.log' to save having to figure out
what the latest log file if you restore, but not for saving disk
space. Assuming each daily log is new and different, rdiff-backup will
just save the whole file each day, just like it would if you copied
over a new file every day and kept them all on hand.

I assume I am just misunderstanding what you are trying to do.

Best,

Chuck

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB