mirror of
https://github.com/xzeldon/vwdump.git
synced 2025-06-28 09:38:14 +03:00
Added timestamp support
This commit is contained in:
parent
e551725d7a
commit
e9ac54cebf
@ -8,6 +8,7 @@ COPY start.sh backup.sh /
|
||||
ENV DB_FILE /data/db.sqlite3
|
||||
ENV BACKUP_FILE /data/db-backup.sqlite3
|
||||
ENV CRON_TIME "0 5 * * *"
|
||||
ENV TIMESTAMP false
|
||||
|
||||
RUN chmod 700 /start.sh /backup.sh
|
||||
|
||||
|
@ -38,4 +38,4 @@ docker run --rm --volumes-from=bitwarden registry.gitlab.com/1o/bitwarden_rs-bac
|
||||
| DB_FILE | Path to the Bitwarden sqlite3 database |
|
||||
| BACKUP_FILE | Path to the desired backup location |
|
||||
| CRON_TIME | Cronjob format "Minute Hour Day_of_month Month_of_year Day_of_week Year" |
|
||||
|
||||
| TIMESTAMP | Set to `true` to append timestamp to the `BACKUP_FILE` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user