1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-06-27 22:28:14 +03:00

21 Commits

Author SHA1 Message Date
jmqm
479d78b9e3
Combine scripts, refactor, minor README improvements (#26)
- Combined backup and delete scripts.
  - Consequently, deleted `backup.sh` and `delete.sh`.
  - Changed Dockerfile and `entrypoint.sh`.
- Refactored script.
- Docker compose example in README now includes network property _(is it called a property?)_.
- README volume permission requirements are placed at better locations.
2022-01-02 19:37:08 -06:00
jmqm
8573420236
Quality of life improvements (#17)
- Removed quotation marks with mounting volumes in docker-compose section.
- Replaced INFO prefix with each echo with a timestamp.
  - Subsequently, echoes that have a timestamp at the end have been adjusted to remove them.
- When deleting, it first checks if there are files to delete.
  - An appropriate echo will be shown in both circumstances.
2021-07-17 14:39:17 -05:00
jmqm
fe9ab8e045
Cron job fixes
- Previously, changes in CRON_TIME will apply but the previous CRON_TIME will not be removed.
  - Jobs are now cleared when ran every time.
  - Backup and delete scripts are now added when ran every time.
  - An echo is added to signify that parameters, changed or not, are acknowledged and applied.
2021-07-15 14:26:59 -05:00
jmqm
d47892e8bf
Fix delete script overwriting backup script
- `delete` script was overwriting `backup script`, so only `delete` ever ran; this is fixed.
2021-07-15 13:09:32 -05:00
jmqm
5378a1d4fb
Fix echo
Backup script `echo`ed that it added script as a `delete` script 🤦‍♂️.
Fixed!
2021-07-13 22:35:37 -05:00
jmqm
11c8653d26
More echoes (#12)
- `echo` when a script _(`backup`, `delete`)_ is added to cron jobs.
2021-07-13 22:13:24 -05:00
jmqm
fcda17fc09
Remove old backups (#11)
- Added `delete` script 🎉.
  - `DELETE_AFTER` variable must be greater than `0`.
2021-07-13 22:04:46 -05:00
jmqm
f9531d4a50
Minor echo changes and additions (#9)
- Remove unnecessary `echo`es.
- Remove `LOGFILE` environment variable.
- Minor documentation and `echo` changes and additions.
2021-05-26 06:32:01 -05:00
jmqm
734956821c
Fix execution scheduling (#7)
**Dockerfile**
- Fix `CRON_TIME`.

**backup.sh**
- Remove `TIMESTAMP` variable.
- Change how `date` is displayed when `echo`ing.
2021-05-26 00:57:04 -05:00
jmqm
02c9d71114
Overhaul (#4)
**README**
- Overhaul; changed docs to be better aligned to the new `backup.sh`.
- Add example `docker-compose`.

**Dockerfile**
- Install `zip`.
- Remove installation of `sqlite`.
- Remove unnecessary variables.

**backup.sh**
- Overhaul; now zips all required and recommended files and directories stated at [vaultwarden docs](https://github.com/dani-garcia/vaultwarden/wiki/Backing-up-your-vault).
- Removed deleting old backups; will be added later on in a separate script.

**entrypoint.sh**
- Removed creating folders.
2021-05-25 20:34:39 -05:00
jmqm
df32ec66f1
Add support for sends folder (#1)
* Add sends backup

* Add send

* Add docs for send
2021-05-25 16:55:22 -05:00
pierre perso
a86966bbe9 Update Dockerfile, entrypoint.sh, backup.sh files 2021-03-24 14:20:08 +00:00
10
95b93917c6 Merge branch 'dev'
Fixes #13
2021-01-18 19:35:32 +01:00
10
6621785c90 fixed manual mode 2021-01-17 23:37:53 +01:00
Alexis Lefebvre
a2a19a86aa
Fix typo: arugment → argument 2020-11-12 18:15:43 +01:00
10
51889d3be3 Added more logging and use install instead of mkdir
fixes #12
2020-10-18 19:17:27 +02:00
1O
7f585e3fd1 Added ENV BACKUP_FILE_PERMISSIONS to set permissions of the backup file 2020-09-16 19:17:41 +02:00
1O
bc6c9b6d48 fixed permission issues
Fixes #12
2020-09-06 21:13:33 +02:00
10
d15bbe9467 Moved crond start out of condition
fixes #7
2019-05-25 23:02:29 +02:00
10
1a200567eb Allow to run /backup.sh script as standalone
fixes #5
2019-05-24 01:40:45 +02:00
10
b9fe712fda Added UID and GID environment variables to allow execution as non-root
user

fixes #2
2019-05-11 02:42:16 +02:00