更新 2.sh

This commit is contained in:
lqs 2025-03-12 14:13:14 +08:00
parent 0179b156ef
commit 8b58a7609c

5
2.sh
View File

@ -5,9 +5,10 @@ curl -F 'master_pwd=Sj89061189' \
-F 'name=SJFZ2023' \
http://localhost:2023/web/database/restore
sudo chmod -R 777 SJFZ2024_1_2025-03-11_15-37-00.zip
unzip -t SJFZ2024_1_2025-03-12_06-03-55.zip
sudo chmod -R 777 SJFZ2024_1_2025-03-12_06-03-55.zip
curl -F 'master_pwd=Sj89061189' \
-F backup_file=@SJFZ2024_1_2025-03-11_15-37-00.zip \
-F backup_file=@SJFZ2024_1_2025-03-12_06-03-55.zip \
-F 'copy=true' \
-F 'name=SJFZ2024_1' \
http://localhost:2024/web/database/restore