I have a Linux-vserver guest I want to dump the whole disk of. I have no access to the host.

I tried:

dd if=/dev/hdv1 | gzip -c | ssh user@remote.host.net 'dd of=/path/to/file.img' bs=2048

but the result was:

dd: opening `/dev/hdv1': No such file or directory

Running df inside the linux-vserver guest gives this result:

root@vs8904:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdv1              1511856   1409764     25292  99% /
root@vs8904:~#

But:

root@vs8904:~# ls -al /dev/hd*
ls: cannot access /dev/hd*: No such file or directory
root@vs8904:~#

Is there any tool which will allow me this?

I can not have any access to the host machine hosting this linux-vserver.

link|improve this question
feedback

2 Answers

Is is a Linux-VServer guest? If so it's only a "advanced" chroot and your guest only have a virtual-disk that is actually a directory on the host. So dd will not work.

link|improve this answer
feedback

If you wish to do a full backup of a Linux-VServer, you need to use rsync and not dd. You should be able to find the relevant documentation on their website.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.