Clone VM and or backup/restore VM?

  • Thread starter Thread starter jonathanb
  • Start date Start date
the simple way is backup restore. take a look on the restore options, several useful options for cloning (see 'man qmrestore'). (a share is not needed).
 
Thank you Tom for your reply.

I thought the only way to make a backup storage was through a NFS share. What is the other way and is there any documentation about it?

---
Jonathan
 
yes, the docu is in the man pages. on linux, most programs have manual pages, you can read them by just typing 'man' before the command. in this case, just type:

Code:
man qmrestore

Code:
qmrestore(1)                 Proxmox Documentation                qmrestore(1)


NAME
       qmrestore - restore QemuServer vzdump backups


SYNOPSIS
       qmrestore [OPTIONS] <archive> <VMID>


        --info                    read/verify archive and print relevant
                                  information (test run)


        --unique                  assign a unique random ethernet address


        --storage <STORAGE_ID>    restore to storage <STORAGE_ID>


        --prealloc                never generate sparse files


        --repeat <number>         repeat the restoration process with
                                  VMID numbers incremented per run


DESCRIPTION
       Restore the QemuServer vzdump backup <archive> to virtual machine
       <VMID>. Volumes are allocated on the original storage if there is no
       "--storage" specified.


SEE ALSO
           vzdump(1) vzrestore(1)


1.1                               2011-09-12                      qmrestore(1)
 
I was aware of the manpages, but I hoped that there was some information on the web about storing a backup to a hardrive. As far as I know there was only one way to do this and that was with a NFS share.