mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-12-28 15:31:57 +00:00
add backup script
This commit is contained in:
parent
a8c34a95e8
commit
75c98193a6
1
backup/db_backup.sh
Normal file
1
backup/db_backup.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker exec -it oj-postgres pg_dumpall -c -U onlinejudge > db_backup_`date +%Y_%m_%d"_"%H_%M_%S`.sql
|
Loading…
Reference in New Issue
Block a user