Wouldn't it be neat if you could mount your EVBackup account just like a USB drive? Well, you can -- that is exactly what SSHFS / FUSE does for you. The steps to mounting are pretty simple:
To check whether you have SSHFS installed on your *nix machine, open up a terminal and enter the following command
rsnapshot:, then you need to get it installed.
Installing SSHFS may be as simple as using your package management system. Depending on your flavor of *nix, enter one of the following into a terminal:
sudo apt-get install sshfs
sudo yum install fuse
sudo zypper install fuse
sudo zypper install fuse-devel
sudo make install
sudo), so that you have full access to all the files on your machine.
sudo ssh-keygen -f /backup/ssh_key -t rsa -N ''
An SSH key pair allows you to securely login to your backup server without entering a password each time.
sudo rsync -e ssh /backup/ssh_key.pub firstname.lastname@example.org:ssh_keys/key1.pub
ssh email@example.com addkeys
userwith your EVBackup account name.
sudo ssh -i /backup/ssh_key firstname.lastname@example.org
If you were successful, then something very similar to the following will appear in Terminal:
Last login: Thu Jul 15 16:16:44 2010 from c-28-26-13-101.
Copyright (c) 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.4-STABLE (EXAVAULT) #1:
Once you have SSHFS / FUSE installed and you can log in without a password, you are set to go with SSHFS. You just need to create the mount point and mount your account.
sudo mkdir /mnt/user.evbackup.com
sudo sshfs -o ssh_command="ssh -i /backup/ssh_key" email@example.com:/home/user /mnt/user.evbackup.com
sudo ls /mnt/user.evbackup.com
If you are successful, then you should see something like the following:
backup-1 backup-2 backup-3 backup-4
backup-5 backup-6 backup-7 backup-8
Yes, that's all there is to it. However, sometimes things don't go as planned. If you need some help, just ask: firstname.lastname@example.org
sudo fusermount -u /mnt/user.evbackup.com
sudo sshfs -o ro -o ssh_command="ssh -i /backup/ssh_key" email@example.com:/home/user /mnt/user.evbackup.com
sshfs firstname.lastname@example.org:/home/user /mnt/user.evbackup.com fuse ro 0 0
sudo ssh-add /backup/ssh_key
sudo chmod 700 ~/.ssh/config