Installation und Konfiguration
Eingerichtet wird eine lokale Datensicherung des raspy3 auf ein gemostetes externes Volume.
raspy3 -> /mnt/backup/...
/dev/sde1 3,6T 16G 3,4T 1% /mnt/backup
apt-get install dirvish
mkdir -p /mnt/backup/dirvish/raspy3/raspy3-root
touch /etc/dirvish/master.conf
touch /mnt/backup/dirvish/raspy3/raspy3-root/dirvish/default.conf
/etc/dirvish/master.conf
bank:
/mnt/backup/dirvish/raspy3
exclude:
lost+found/
proc/
/mnt
Runall:
raspy6-root 22:00
expire-default: +15 days
expire-rule:
# MIN HR DOM MON DOW STRFTIME_FMT
* * * * 1 +3 months
# * * 1-7 * 1 +1 year
# * * 1-7 1,4,7,10 1
# * 10-20 * * * +4 days
# * * * * 2-7 +15 days
/mnt/backup/dirvish/raspy3/raspy3-root/dirvish/default.conf
client: raspy3
tree: /
xdev: 1
index: gzip
log: gzip
image-default: %Y%m%d
exclude:
/var/cache/apt/archives/*.deb
/var/cache/man/**
/tmp/**
/var/tmp/**
*.bak
/proc/**
/mnt
dann das init starten
dirvish --vault raspy3-root --init