remove duplicity backup script
This commit is contained in:
parent
c40da17466
commit
e045e7e5e1
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
## Remote backup script. Requires duplicity and gpg-agent with the keys and passphrases loaded as root.
|
|
||||||
## Uses separate encryption and signing keys
|
|
||||||
## Usage: 'backup_remote.sh'
|
|
||||||
|
|
||||||
enc_key=AF5834A6
|
|
||||||
sign_key=AF5834A6
|
|
||||||
src="/home"
|
|
||||||
#dest="scp://u93722@u93722.your-backup.de/duplicity"
|
|
||||||
dest="file:///mnt/backup/duplicity"
|
|
||||||
|
|
||||||
duplicity --gpg-options "--secret-keyring /data/duplicity/duplicity.sec --keyring /data/duplicity/duplicity.pub" \
|
|
||||||
--verbosity notice \
|
|
||||||
--encrypt-key "$enc_key" \
|
|
||||||
--sign-key "$sign_key" \
|
|
||||||
--full-if-older-than 60D \
|
|
||||||
--num-retries 3 \
|
|
||||||
--asynchronous-upload \
|
|
||||||
--volsize 250 \
|
|
||||||
--exclude-filelist-stdin \
|
|
||||||
--archive-dir /data/duplicity/cache \
|
|
||||||
--log-file /var/log/duplicity.log \
|
|
||||||
"$src" "$dest"
|
|
Loading…
Reference in New Issue
Block a user