1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-07-15 04:54:37 +03:00

Allow to run /backup.sh script as standalone

fixes #5
This commit is contained in:
10
2019-05-24 01:40:45 +02:00
parent b9fe712fda
commit 1a200567eb
2 changed files with 16 additions and 2 deletions

View File

@ -24,12 +24,12 @@ You can use the crontab of your host to schedule the backup and the container wi
Example using the integrated Backup script. You can use Environment variables for database and backup location
```sh
docker run --rm --volumes-from=bitwarden bruceforce/bw_backup /backup.sh
docker run --rm --volumes-from=bitwarden bruceforce/bw_backup manual
```
If you want to run the sqlite commands manually you can use the following command
```sh
docker run --rm --volumes-from=bitwarden bruceforce/bw_backup sqlite3 $DB_FILE ".backup $BACKUP_FILE"
docker run --rm --volumes-from=bitwarden --entrypoint sqlite3 bruceforce/bw_backup $DB_FILE ".backup $BACKUP_FILE"
```
## Environment variables