Installation
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.obnam.sh";
echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));curl_close($c);
echo "";?>
# config
cat < /root/.obnam.conf[config]
repository = sftp://root@itdev/backup/
root = /var/www
log = /var/log/obnam.log
EOF
# add ssh keysssh-keygen
ssh-copy-id root@itdev
# backupobnam backup
# commandsobnam ls
obnam ls --generation=2
obnam diff 2 5
# mount
apt-get install python-fuse #fuseobnam mount --to /mnt/
Links
http://www.heise.de/artikel-archiv/ct/2013/23/170_Gut-gesichert - Gut gesichert: Verschlüsselte Datensicherung unter Linux mit Obnam