Thursday, February 26, 2009

Backup first step - mounting remote disk

This will be a series on back up of files to remote data.

Firstly, the disk needs to be mounted and here we will use the sshfs utilities. This allows us to use backup tools to use remote directory as a normal directory.

Install the tools
$ sudo apt-get install sshfs

Create the disk and mount
$ mkdir /mnt/nicholas
$ sshfs nicholas@servername.com:/home/nicholas /mnt/nicholas

$ mount
nicholas@servername.com:/home/nicholas on /mnt/nicholas type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=oscc)


Remove the mount
$ fusermount -u /mnt/nicholas

No comments:

Blog Archive