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

From: <gremlin_at_private>
Date: Sat, 18 Dec 2010 10:21:26 +0300
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>
Received on Fri Dec 17 2010 - 23:21:26 PST

This archive was generated by hypermail 2.2.0 : Fri Dec 17 2010 - 23:22:05 PST