[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: |
devzero |
Subject: |
Re: [rdiff-backup-users] using rdiff-backup for server migration |
Date: |
Sun, 03 Sep 2006 22:01:01 +0200 |
hello noah,
tar always keeps uids/gids intact on tar/untar - so does rsync if you use
"--numeric-ids" when transferring files.
regards
roland
> -----Ursprüngliche Nachricht-----
> Von: Noah <address@hidden>
> Gesendet: 03.09.06 20:26:56
> An: Keith Edmunds <address@hidden>
> CC: address@hidden
> Betreff: Re: [rdiff-backup-users] using rdiff-backup for server migration
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.
>
>
>
> -----------------------------------------------------------------
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130