Compare commits

..

No commits in common. "7bf365d747237d295cc2a066a4590019c635c0de" and "1020168077374d012aadbd44bc4c29e462168dec" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -5,16 +5,5 @@
backup_date="2022-09-22-1001" backup_date="2022-09-22-1001"
systemctl stop cryptpad.service
for i in blob blobstage block datastore ; do
echo""
echo -e " Syncing directory '${i}'.."
rsync -a --delete /var/www/cryptpad.BAK.${backup_date}/$i /var/www/cryptpad/cryptpad/
chown cryptpad:cryptpad /var/www/cryptpad/cryptpad/$i
done
systemctl start cryptpad.service
cp -a /var/www/cryptpad.BAK.${backup_date}/{blob,blobstage,block,datastore} /var/www/cryptpad/