1
0
Fork 0

Add Tandoor containers stop/start for backups

This commit is contained in:
trotFunky 2022-05-08 20:17:17 +01:00
parent 0e92590a63
commit d28c291279

View file

@ -45,6 +45,8 @@ sqlite3 /home/bitwarden/data/db.sqlite3 ".backup $backup_origin/temp/BitWarden_d
echo "Backing up Firefly db..."
sqlite3 /var/www/firefly-iii/storage/database/database.sqlite ".backup $backup_origin/temp/Firefly_db.sqlite"
systemctl stop tandoor
# Backup apt package list and keys
(
cd temp
@ -98,4 +100,6 @@ if [ -n "$error_message" ]; then
exit 1
fi
systemctl start tandoor
exit 0