Page tree

Versions Compared

Key

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

Backup

...

Connect to the source slave node over SSH.

Find a logical volume of the VPS:

...

# lvdisplay | grep "LV Path" | grep "vm101"
LV Path                /dev/solusvm/vm101_img

Create a copy of the logical volume:

...

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

Restore

...

Restore the copy to the created logical volume:

...

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