[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] using rdiff-backup for server migration
From: |
Keith Edmunds |
Subject: |
Re: [rdiff-backup-users] using rdiff-backup for server migration |
Date: |
Sun, 03 Sep 2006 10:11:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060813 Thunderbird/1.5.0.5 Mnenhy/0.7.4.666 |
On 09/03/2006 5:55:24 AM +0100
Noah <address@hidden> said:
> So we built a new server and want to migrate
> the user and web data file to the new machine. any recommendations
> about how to get rdiff-backup to help us perform these tasks?
I wouldn't do it with rdiff-backup. However, if you did want to do it
that way for some reason, backup the files from the old server and
restore to the new one (have I missed something?).
I would set up the new server with all the required software, /ensure/
that the group and user ids are the same between the two systems (this
just makes life easier), and do either:
oldsys # tar -C /var/www -cf - . | ssh newsys tar -C /var/www -xvf -
(or use rsync or scp)
and repeat for each tree of files you want to replicate.