Auto-Backup $'Fri Jan 03 2025 02:33:10 GMT+0100 (Central European Standard Time)'

This commit is contained in:
2025-01-03 03:09:37 +01:00
parent 993f5bdb0b
commit 126d1d5405
2 changed files with 43 additions and 27 deletions

View File

@ -223,6 +223,7 @@ Jobs.Cloud_SpaccBBS = async () => {
Jobs.Cloud_SpaccBBSNodeBB = async () => {
await FolderGoCopyForCloud('SpaccBBS-NodeBB', 'SpaccBBS-NodeBB-2024-Git');
await $`rm -rf ./SpaccBBS-NodeBB/.git || true`;
await $`cp ../SpaccBBS-NodeBB/Db.Latest.rdb.tar.xz ./Db.rdb.tar.xz`;
await ccencryptNow('./Db.rdb.tar.xz', Secrets.BackupKey_Git_SpaccBBSNodeBB);
await GitPullPush();