SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rsyncing parts of snapshots
Author Message
Post rsyncing parts of snapshots 
On Sun, 2008-02-10 at 13:30 +0900, Thomas Gutzler wrote:
I came across a very annoying problem during my attempt to copy my
snapshot folders to another machine. I have to many files/hardlinks.

I tried the following for all snapshots at once
- rsync
- tar and nc
- cpio and nc
all with the same results: out of memory.

I can't rsync the snapshots one after the other because it would kill
the hardlinks between them. So I thought, why not rsync a certain
subdirectory of all snapshots at once and do that for all directories.

I tried the following in the dir, which contains my snapshots:
rsync -aHv */subdir/ remote:/backup/snapshots
hoping it would rsync hourly.0/subdir/, hourly.1/subdir/,
hourly.2/subdir/, ...
but in fact in only created whatever was in subdir/ directly in
/backup/snapshots/ on remote rather than /backup/snapshots/hourly.X/

What am I doing wrong?

You want the --relative option. But possibly a better approach
altogether is to copy the snapshots one after the other, each time
giving a --link-dest to the previous snapshot, just as rsnapshot did
when it made the snapshots in the first place.

Matt


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post rsyncing parts of snapshots 
Hallo, Thomas,

Du (thomas.gutzler) meintest am 10.02.08:

I came across a very annoying problem during my attempt to copy my
snapshot folders to another machine. I have to many files/hardlinks.

Try "snapcopy" from "Snapback":

http://arktur.shuttle.de/CD/5.0-slack/slack/ap1/Snapback2-0.913-noarch-1hln.tgz

Viele Gruesse!
Helmut

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

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