[PVE-User] How to duplicate a container?

sanjay kumar sanjaykvr at gmail.com
Fri Nov 16 06:08:40 CET 2012


Dear Bruce,

You can copy created dump file to your desired server where you want to run
it (i.e. another proxmox server) in any where like (i.e. /root/ or in your
home folder of proxmox server) then just follows the steps as written below:


   - Login to your server as a root (or be sudoers)
   - Go to directory where you copied the dump file (containerdump.tar.gz)
   - run the command as #vzrestore 106 containerdump.tar.gz(give your
   container dump file name)
   - Change the IP as per your configuration or keep it as it is if you
   have stopped older container (where from you have made vzdump
   - Now you may start the container as #vzstart 106

That's all
Thanks with Regards,
Sanjay Kumar
India

n Fri, Nov 16, 2012 at 6:47 AM, Bruce B <bruceb444 at gmail.com> wrote:

> Sorry, I made a mistake. I have to transfer a container from Proxmox 1.8
> to latest Proxmox version which is on another server. I have already used
> vzdump to create a .tar dump of the container and it's about 800MB. Where
> should I put that file in my other proxmox server (latest version) and what
> should I do to get it running?
>
> Thanks
>
> On Thu, Nov 15, 2012 at 4:38 PM, Alexandre Kouznetsov <alk at ondore.com>wrote:
>
>> Hi.
>>
>> El 15/11/12 14:09, Bruce B escribió:
>>
>>  Thanks for the feedback. Can you pleaes specify the commands. And also
>>> should I change the IP in GUI or some config file?
>>>
>> My pleasure.
>>
>> Well, the interaction with Proxmox is expected to be done via web GUI.
>>
>> Do the backup in "Backup" tab of your 105 container.
>> Do the restore in "Content" tab of your storage, it will offer you a
>> dialog to specify the new VM ID.
>> Change the IP in the "Network" tab of your new 106 (or whatever you
>> numbered it) container.
>>
>> Surely you can do the same via command line interface, but i'm not
>> familiar with it. Check http://pve.proxmox.com/wiki/**Command_line_tools<http://pve.proxmox.com/wiki/Command_line_tools>for reference.
>>
>>
>> --
>> Alexandre Kouznetsov
>> ______________________________**_________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-**bin/mailman/listinfo/pve-user<http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user>
>>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20121116/64d5ce7d/attachment-0014.html>


More information about the pve-user mailing list