[CentOS] howto transfer all configuration between 2 remote dedicated servers?

Amos Shapira amos.shapira at gmail.com
Sat Nov 22 01:04:30 UTC 2008


Before you chroot, do "mount -bind..." of /sys, /dev, /proc and maybe
/boot under the chroot dir to make chroot more useful.

Cheers,

Amos

On 11/22/08, Joe Barjo <jobarjo78 at yahoo.fr> wrote:
> Thanks for the suggestion.
> I did the rpm -Va but have quite a lot of prelink warnings. But filtering
> them out gives a good list of files to transfer.
>
> I still wonder why the rsync method doesn't work, as I'm rsyncing from
> another server with the same distribution.
>
> I also don't know how to re install grub from the debian. Under chroot,
> there are no devices.
> It seems that the root filesystem doesn't even get mounted, as I have no
> logs at all.
>
>
> On Thu, Nov 20, 2008 at 5:04 PM, Lorenzo Quatrini <lorenzo at gmk.it> wrote:
>
>> Joe Barjo ha scritto:
>> > Hello
>> >
>> [snip]
>> >
>> > But my real question is: How can I get a list of files in the whole
>> > filesystem that were added or modified compared to all the files that
>> > come from rpms?
>> > Is there a script for doing such a thing?
>> >
>> I think that doing some scripting around rpm -Va (to find modified files
>> from
>> rpms) and a 'comm' between "rpm -qla" and something like "find /" (with
>> some
>> clean-up to get files not coming from rpms) will do the magic.
>>
>> --
>> Regards
>> Lorenzo Quatrini
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>


More information about the CentOS mailing list