Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 18 Dec 2010 10:21:26 +0300
From: gremlin@...mlin.ru
To: owl-users@...ts.openwall.com
Subject: Re: VZ container migration [Former: new to openwall! some migration question]

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>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.