====== Migrating a SUSE (SLES) 9.3 / 9.4 physical server to an OpenVZ container ======
===== Rsync =====
from inside the container edit the file /root/.excludes:
# pico /root/.excludes
.bash_history
/etc/fstab
/etc/mtab
/boot
/dev/*
/mnt/*
/tmp/*
/proc/*
/sys/*
/etc/sysconfig/network-scripts/ifcfg-eth*
# rsync -arvpz --numeric-ids --exclude-from '/root/.excludes' 195.98.197.48:/ /
===== Disable mcelog =====
in the old x86_64 days we used /dev/mcelog to pickup certain information for logging. This is NOT an option in a container so either remove the package or remove the cronjob
rm /etc/cron.hourly/mcelog