|
From: | Noah |
Subject: | Re: [rdiff-backup-users] using rdiff-backup for server migration |
Date: | Sun, 03 Sep 2006 11:25:58 -0700 |
User-agent: | Thunderbird 1.5.0.5 (Macintosh/20060719) |
Keith Edmunds wrote:
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: Keith, excellent suggestion. this is exactly what I am looking to do. I am wondering what the best suggested practices are to make sure that the group and user ids remain constant between the servers. Is it as easy as copying over /etc/group /etc/passwd and /etc/master.passwd I am trying to reduce the Possibility of screwing things up here. Any recommendations? Cheers, Noah 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. |
[Prev in Thread] | Current Thread | [Next in Thread] |