Rsync to spare disk

Matt McCutchen hashproduct+rsync at gmail.com
Sat Dec 23 03:22:09 GMT 2006


On 12/21/06, klemen <klemen at eprostor.net> wrote:
> OK, i tryed with simpliest command:
>
> dd if=/dev/sd0 of=/dev/sd1/backup
>
> and get
>
> dd: /dev/sd0: Device busy
>
> ps: the os is openbsd

I'm guessing OpenBSD doesn't let you directly read a block device
containing a mounted filesystem.  To make a raw backup of the main
disk, you might need to reboot the machine to a live disk, or it might
be enough to remount the filesystem read-only.  Alternatively, you
could make a file-level backup using rsync while the machine is
running normally.

Matt


More information about the rsync mailing list