Re: VZ container migration [Former: new to openwall! some migration question]

[email protected]
Newsgroups gmane.linux.openwall.user
Message-ID <[email protected]>
On 17-Dec-2010 20:18:48 -0300, Leonardo Lazzaro wrote:
 > I want to migrate to Openwall. My server is running proxmox
 > and using OpenVZ for virtualization.

Backup your containers in Proxmox:
0. vzctl stop 1234
1. tar -C /path/to/ve/roots/1234 -czf ve-1234-`date +%Y%m%d`-backup.tgz .
2. cp /etc/vz/conf/1234.conf .

Then transfer these two files to Owl server and restore them:
4. mkdir -p /new/path/to/ve/roots/1234
5. tar -C /new/path/to/ve/roots/1234 -xzf ve-1234-*-backup.tgz
6. cp 1234.conf /etc/vz/conf/
7. Edit /etc/vz/conf/1234.conf if necessary
8. vzctl start 1234

(Of course, you have to edit commands as necessary)


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin п÷п═п≤ gremlin п╒п╖п  ru>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.