Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



  1. Connect to the source


  1. server over SSH.


  1. Create an archive of the VPS:



Create a copy of the logical volume:


# dd if=/dev/yourvg/vm101_img | gzip | dd of=/home/vm101_backup.gz bs=4096


  1. Create a VPS at SolusVM > Virtual Servers > Add Virtual Server. Let's assume the VPS ID is vm101
  2. Restore the copy to the created logical volume:

    # dd if=/home/vm101_backup.gz | gzip -d | dd of=/dev/yourvg/vm101_img bs=4096

    vzdump --compress --dumpdir /home/backup VMID

    - compress : It will compress the dump file (results in a .tgz).
    - dumpdir specifies the directory in which you want to store the dump. If you don't specify a dumpdir, it stores in /vz/dump
    - VMID of VPS can be found in SolusVM > Virtual Servers.


  1. Restore the archive:

    # vzdump --restore /home/backup/vzdump-VMID.tgz VMID

    where VMID is a corresponding VM ID.

  2. Import VPS if required: Importing OpenVZ containers