mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: database backup script
This commit is contained in:
7
scripts/store-backup.sh
Normal file
7
scripts/store-backup.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
# Store the backup.
|
||||
docker run --rm \
|
||||
--mount source=bigcapital_dev_mysql,target=/data/db \
|
||||
-v $(pwd):/backup \
|
||||
busybox \
|
||||
tar -xzvf /backup/bigcapital-mariadb-2024-04-24-15-14-40.tar.gz -C /
|
||||
Reference in New Issue
Block a user