]> apps.delaporte.us Git - matrix-cadbury.git/blobdiff - service/backup.sh
Add borg config
[matrix-cadbury.git] / service / backup.sh
index 48d01c3d4667378785de409fec1af53113585b08..37dae613bc7a145171fcb6a5103be880a97fbb9a 100755 (executable)
@@ -1,9 +1,11 @@
 # Avoid corruption by stopping Cadbury
 systemctl stop cadbury
 INSTALL_DIR=/etc/matrix-cadbury
 # Avoid corruption by stopping Cadbury
 systemctl stop cadbury
 INSTALL_DIR=/etc/matrix-cadbury
+
 # Create backup files while Cadbuary is paused
 mkdir -p $INSTALL_DIR/backups
 cp $INSTALL_DIR/*.db $INSTALL_DIR/backups
 # Create backup files while Cadbuary is paused
 mkdir -p $INSTALL_DIR/backups
 cp $INSTALL_DIR/*.db $INSTALL_DIR/backups
+
 # Resume Cadbury
 systemctl start cadbury
 
 # Resume Cadbury
 systemctl start cadbury