9.3.2. An example: rsync to a USB storage device
As discussed in
Section 3.1.2.3, we will
first have to mount the device. Possibly, this should be done as
root:
root@theserver# mkdir /mnt/usbstore
root@theserver# mount -t vfat /dev/sda1 /mnt/usbstore
|
 |
Userfriendly |
|
More and more distributions give access to removable devices for
non-prilileged users and mount USB devices, CD-ROMs and such
automatically.
|
Note that this guideline requires USB support to be installed on
your system. See
the USB Guide for help if this does not work.
Check with dmesg that /dev/sda1 is indeed the device to mount.
Then you can start the actual backup, for instance of the
/home/karl directory:
karl@theserver:~> rsync -avg /home/karl /mnt/usbstore
|
As usual, refer to the man pages for more.