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