some personal, more technical – by Thomas Einwaller
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.