From bf66f192df5bbdab06ddae437d47c2b8ba5a46ee Mon Sep 17 00:00:00 2001 From: sevichecc <91365763+Sevichecc@users.noreply.github.com> Date: Wed, 1 Feb 2023 13:23:37 +0800 Subject: [PATCH] Update info --- backup.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/backup.sh b/backup.sh index 50dc5b8..1de825d 100644 --- a/backup.sh +++ b/backup.sh @@ -10,7 +10,7 @@ echo "————————————backup to local directory———— echo "1.dump database" sudo -Hu postgres pg_dump -d $PLEROMA_DB --format=custom -f ${BACKUP_PATH}/pleroma.pgdump -echo "2.pack upload & static folder" +echo "2.pack uploads & static folder" tar -czf static.tar.gz --absolute-names ${PLEROMA_PATH}/static tar -czf uploads.tar.gz --absolute-names ${PLEROMA_PATH}/uploads} @@ -21,8 +21,6 @@ echo "————————————upload to remote——————— echo "4.backup to remote" ./duplicacy.sh -echo "restart pleroma" +echo "5.restart pleroma" sudo systemctl start pleroma -echo `date +"%Y-%m-%d %H:%M:%S"` " done!" - - +echo `date +"%Y-%m-%d %H:%M:%S"` " done!" \ No newline at end of file