I miss that feature as well! That combined with NOT having to use a
passwordless root ssh-certificate (whats wrong with providing ssh/rsync
the password via a prompt?) would be great! Currently I use vzdump and
vzrestore for that purpose of cloning to a different machine - beware
that the target machine should not have the VPSID of the source.
Greetings,
Joe
Am 17.09.2012 17:13, schrieb Mark Olliver:
> Hi.
>
> Is there an backup option to vzmigrate. I ideally would like to use vzmigrate on a running container to back it up to another host node.
>
> Vzmigrate looks to be a good tool to do this as I could do
>
> vzmigrate -r no --keep-dst --online -t
>
> But what i really need is a fine switch to say dont actually do the migration swap stage at the end.
>
> Is there a way to do that - could it be enhanced to have that as a flag?
>
> Thanks
>
> Mark
--
Joseph Hauptmann
> Hi Mark,
>
> I miss that feature as well! That combined with NOT having to use a
> passwordless root ssh-certificate (whats wrong with providing ssh/rsync
> the password via a prompt?) would be great! Currently I use vzdump and
> vzrestore for that purpose of cloning to a different machine - beware
> that the target machine should not have the VPSID of the source.
Just do a rsync of the private area, followed by vzctl chkpnt VEID
--suspend, followed by another rsync and then vzctl chkpnt VEID
--resume, thats what the vzmigrate is doing anyway. Don't forget to copy
over veid.conf, too.