Archive

Archive for the ‘humyo.com’ Category

humyo.com on Ubuntu Server… [update]

March 7th, 2011 No comments

A few months have passed and it is about time I resolved a problem I’m having with WebDAV access to humyo. I found myself reinstalling ubuntu a while back and in my rush to get things up and running I skipped the setup of WebDAV and my humyo mount. However time has come to pull my finger out (as it were!)…

If the truth is known, not much has changed since my original post [here]. However humyo look to have been messing with their security settings and the ‘https’ access is failing… Doh!!

Though not ideal, the best solution is to change the ‘https’ settings to ‘http’. Hopefully this problem will be resolved in the not too distant…

humyo.com on Ubuntu Server…

April 12th, 2010 4 comments
humyo.com

humyo.com

Introduction

I have been searching for a secure and reliable online backup service for some time now. There are many providers offering very similar services, and it has always been a balancing act between price, support and security. I have finally opted for one that ticks all the right boxes. I have chosen humyo.com which is located in the UK. As I am using both Windows and Linux systems I needed a service which works well with both. Humyo doesn’t currently have a client application for Linux, however they do support WebDAV which is ideal…

Setup WebDAV

In order to access the storage using WebDAV we need a WebDAV client. I have chosen to use davfs2 due to FUSE support. At the date of this post the latest version of davfs2 is 1.4.1 and installation is very simple.

sudo apt-get install davfs2

However, there are a number of small configuration changes to be made. Again, nothing too complicated. We need to remove the root access limitation and add account credentials. To add credentials first open the following file:

/etc/davfs2/secrets

Then add your account settings:

https://dav.humyo.com    <EMAIL ADDRESS>    "<PASSWORD>"

As Humyo doesn’t support file locking we need to disable it in order to remove the warning every time a file system is mounted. This can be done either on a per-system, per-user level or in a specific configuration file. Consult the mount.davfs manual for information how this can be changed.

man mount.davfs

To disable the file locking, open the davfs2 config file:

/etc/davfs2/davfs2.conf

Change the option:

# use_locks 1

To the following:

use_locks 0

Finally we need to configure the SSL certificate. Execute the following command:

wget -O - "https://support.comodo.com/index.php?_m=downloads&_a=downloadfile&downloaditemid=10" | \
sudo tee /etc/davfs2/certs/addtrust_ab.pem

Update the config file:

/etc/davfs2/davfs2.conf

And add the following line:

servercert /etc/davfs2/certs/addtrust_ab.pem

Mount

We are now ready to create a folder and mount point. I have used a standard path:

sudo mkdir /mnt/humyo

To mount the humyo drive execute the following command:

sudo mount -t davfs https://dav.humyo.com /mnt/humyo/

To allow users to access the mounted folder and remount at boot we need to modify the fstab config file:

/etc/fstab

And add the following line:

https://dav.humyo.com    /mnt/humyo    davfs    user,auto,rw    0    0

If all goes well you should now have access to humyo storage drive…