Re: [bitfolk] Clonezilla Backup of VPS

Top Page
Author: Andy Smith
Date: 2015-09-30 15:26 -000
To: users
Subject: Re: [bitfolk] Clonezilla Backup of VPS

Reply to this message
gpg: Signature made Wed Sep 30 15:26:27 2015 UTC
gpg: using DSA key 2099B64CBF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andrew James Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>" [unknown]
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>" [unknown]
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>" [unknown]
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>" [unknown]
Hi George,

On Wed, Sep 30, 2015 at 04:13:34PM +0100, George Smart wrote:
> If there is a better solution to create a complete bit-level backup,
> fire away.


xen-shell> rescue
Booting rescue instance: username
.
.
.
rescue login: user
Password:
user@rescue:~$ sudo dd if=/dev/xvda | gzip --best --rsyncable | ssh you@other-host 'cat > /path/to/a_compressed_image_of_my_vps_xvda_disk.gz'

If you want a progress meter then use "pv". I forget if the rescue
VM has it there already, but if not it is but an apt-get away.

user@rescue:~$ sudo pv /dev/xvda | gzip --best --rsyncable | ssh you@other-host 'cat > /path/to/a_compressed_imag e_of_my_vps_xvda_disk.gz'

If you need it to be done while VPS is running then you could open a
support ticket asking for a disk snapshot, which would then get
attached to your VPS as a read-only disk. But these have performance
implications and are meant to be strictly short-term affairs so this
is not something you should do regularly or long-term.

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting