Jungledisk and WebDAV

In: Linux|Software

29 Apr 2009

I wrote about the troubles I had to mount the Amazon storage on my virtual server from Hosteurope. Yesterday I stumbled over the twitter account of Jungledisk and I asked them for help. The gave me the tip to use WebDAV for uploading to my storage. So today I gave it a try and installed cadaver, a very good command line WebDAV utility.

Jungledisk runs a WebDAV server under http://localhost:2667/ – so I was able to connect to that with links and cadaver after starting jungledisk. All I had to do now was to include cadaver in my backup scripts, therefore I wrote a small help script webdavupload.sh:

#!/bin/bash
cadaver http://localhost:2667/ <<EOF
put $1
quit
EOF

Everything I had to do now was to add the line

webdavupload.sh mybackupfile.tgz

in my backup scripts to upload the file to my online storage.

Comment Form

Follow Me!

Photostream

    P1010008 (2)P1010026P1010028P1010021P1010009 (2)P1010033 (2)

RSStOMPSON's tweets