Home > humyo.com, Linux, Projects, Software Development, Ubuntu, WebDAV > humyo.com on Ubuntu Server…

humyo.com on Ubuntu Server…

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…

VN:F [1.9.22_1171]
Rating: 9.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)
humyo.com on Ubuntu Server..., 9.0 out of 10 based on 2 ratings
  1. jm_paulin
    April 19th, 2010 at 16:57 | #1

    I tried that last year, and the problem was the dates were not preserved by WebDAV… is that any better now?

    Thanks

    JM

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. April 20th, 2010 at 09:05 | #2

    Hi… Yes, it looks like it is working now… I have used rsync to backup several gigs of files with no obvious issues…

    Hope it helps,

    Phil

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  3. mbele3000
    February 21st, 2011 at 10:11 | #3

    Im currently running 10.10 64. I finally broke down and just ran XP in virtualbox and upload via internet explorer, so far so good! Im pretty sure its just as “fast” as the WebDav, although it seems demanding on the RAM but thats all

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  4. CDrewing
    July 3rd, 2011 at 16:19 | #4

    Actually I am having the problem that all directories with +100 files are shown as empty. Can anyone confirm?

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  1. April 14th, 2010 at 17:42 | #1
  2. March 7th, 2011 at 14:24 | #2
You must be logged in to post a comment.