Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

17 bytes added, 10:48, 19 October 2009
Tar: use --numeric-owner option
Then create the tar. But remember, when the system is 'not' using udev, you have to look into /proc/ after creating your container because some devices might not exist. (/dev/ptmx or others)
# tar --numeric-owner -cjpf /tmp/mysystem.tar.bz2 / -X /tmp/excludes.excl
Naturally, you can only do this when the critical services (MySQL, apache, ..) are stopped and your /tmp filesystem is big enough to contain your tar.