Skip to content

Instantly share code, notes, and snippets.

@dado-prateek
dado-prateek / backup-host.sh
Last active December 23, 2023 08:09
Backup with duplicity to yandex.disk
#!/bin/sh
# Duplicity wrapper
#
# Not working for now. Yandex prevents uploading lagre files via webdav.
# add to crontab:
# 0 0 * * * /bin/sh /usr/local/sbin/backup-host.sh
set -e