This commit is contained in:
teldra 2021-04-14 20:23:06 +02:00
parent b759f7c97e
commit 082540e50d
1 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ if [[ ! ${cfg[fde_key_store]} == "none" ]]; then
echo "fi" >> /etc/runit/core-services/99-changepwuser.sh
fi
{echo "transaction_syslog daemon";
{ echo "transaction_syslog daemon";
echo "lockfile /tmp/btrbk.lock";
echo "incremental yes";
echo "btrfs_commit_delete after";
@ -111,9 +111,9 @@ echo " subvolume rootfs";
echo " target send-receive /var/lib/backup/ziel/void/rootfs";
echo " subvolume homefs";
echo " target send-receive /var/lib/backup/ziel/void/homefs";
echo "";} > /etc/btrbk/btrbk.conf
echo ""; } > /etc/btrbk/btrbk.conf
if [[ ! ${cfg[fde_key_store]} == "once" ]]; then
{echo "volume /var/lib/backup/quelle/bootfs";
{ echo "volume /var/lib/backup/quelle/bootfs";
echo " group snapshotboot";
echo " snapshot_dir snapshot";
echo " snapshot_preserve_min 4h";
@ -129,7 +129,7 @@ if [[ ! ${cfg[fde_key_store]} == "once" ]]; then
echo " target_preserve 20d 10w 2m";
echo " subvolume bootfs";
echo " target send-receive /var/lib/backup/ziel/void/bootfs";
echo "";} >> /etc/btrbk/btrbk.conf
echo ""; } >> /etc/btrbk/btrbk.conf
fi
cat <<'EOF' > /usr/bin/joinvpn