[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] moving synced directories
From: |
Kurt Yoder |
Subject: |
Re: [rdiff-backup-users] moving synced directories |
Date: |
Tue, 16 Oct 2007 13:39:25 -0400 |
When I want to do this kind of thing, I usually rsync the existing
backup, *minus* the rdiff-backup-data directory. Then I run rdiff-
backup from the new machine with the --force option. So in your
example, you'd do something like:
rsync -av --exclude --numeric-ids './rdiff-backup-data' /copy/office/
office1 /copy/office/office2
then let it finish, and set up your first rdiff-backup run:
rdiff-backup --force /home/office/office2 remote_server::/copy/office/
office2
on subsequent runs you can remove the --force option.
On Oct 16, 2007, at 4:13 AM, Chris Fanning wrote:
Hello,
rdiff-backup has been running just fine now for me for about a year
with a weekly cron.
rdiff-backup /home/office remote_server::/copy/office
Now we have opened a new branch office.
I would like to continue using the same remote_server but rearrange
the directories.
At office1 something like
rdiff-backup /home/office/office1 remote_server::/copy/office/office1
and at office2
rdiff-backup /home/office/office2 remote_server::/copy/office/office2
So, I want to move the data from /copy/office to /copy/office/office1
How should I do this without having to resync the data?
--Kurt