1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-06-27 23:48:15 +03:00

22 Commits

Author SHA1 Message Date
12ca3f2ac7
feat: initial refactor and feature implementation
This is the first major commit after forking the original project. The
script has been almost completely rewritten to add new features.

- Implement AES-256 encryption with configurable PBKDF2 iterations (default 600k).
- Add Telegram integration for status updates and optional file uploads.
- Rework backup logic to use safe `sqlite3 .backup` method.
- Add GitHub Action to build/publish multi-arch Docker images and create
  GitHub Releases on git tags.

BREAKING CHANGE: The project is not backward-compatible, configuration
and behavior are entirely different from the original version.
2025-06-14 12:11:44 +03:00
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
23d0115222
Minor updates (#24)
- Remove `crontab`.
- Rename dockerize action.
2021-08-30 11:34:54 -05:00
jmqm
d002dc9b29
Fix delete not running
- `delete` script was not running as the file was not found. This is fixed.
2021-07-15 00:49:16 -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
6974723efe
Switch from zip to tar.xz (#6)
**README.md**
- Minor text change.

**Dockerfile**
- Remove installation of `zip`.
- Add installation if `xz`.

**backup.sh**
- Switch to `tar.xz` archive _(`zip` was messing up permissions)_.
- `echo` when backups start and end.
2021-05-26 00:11:57 -05:00
jmqm
ae779ce6e5
Change execution schedule (#5)
**README**
- Changed `CRON_TIME` in `docker-compose`.
- Added info on when the script runs.

**Dockerfile**
- Changed execution schedule from 5am everyday to every 12 hours.
2021-05-25 21:10:41 -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
pierre perso
2ddc097df5 Check ATTACHMENT_BACKUP_FILE define 🔬 2021-04-04 08:05:17 +00:00
pierre perso
a86966bbe9 Update Dockerfile, entrypoint.sh, backup.sh files 2021-03-24 14:20:08 +00:00
1O
41c2ffe086
Added tzdata
fixes #14
2021-01-24 19:59:39 +01:00
1O
026ef778b6
Added buildx to allow multi-arch builds
Squashed commit of the following:

commit f3d42ceebe3f209645dc44b9e1ea956339c32968
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:48:23 2021 +0100

    Only build master since rpi3 is no longer needed

commit 32e213d65955291fa38d20c77e74aa30cf25cd24
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:46:40 2021 +0100

    Added dockerhub login

commit 960c44c7148073cfbee617be3019fb399d1fc0b1
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:38:21 2021 +0100

    Added ARCH to Dockerfile

commit fad35cd700dcf7a4c4ee5ac7eeea89f33871eaab
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:30:30 2021 +0100

    don't push in buildx

commit 9cd85b6787ec552d5dee393a40137fa3ed9cb94e
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:28:09 2021 +0100

    added context

commit 07fb2b320463dc495c4e69f40bb524bcc0ebd15a
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:20:02 2021 +0100

    Added experimental

commit 99b352dad13aca54f49fb56f0fb19a921cd81c9d
Author: 1O <2408212-1O@users.noreply.gitlab.com>
Date:   Sun Jan 24 19:16:59 2021 +0100

    Added buildx
2021-01-24 19:49:51 +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
SoarinFerret
54e734beb0 Add functionality to delete old backups 2019-12-24 09:06:04 +00: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
10
f7e48cc4de changed default backup path
updated README.md to new image paths
2018-11-18 14:26:08 +01:00
10
8c380b999f Added backup folder 2018-11-18 03:00:06 +01:00
10
e9ac54cebf Added timestamp support 2018-11-18 02:37:01 +01:00
10
c87cb48dcd Changed default backup time 2018-11-16 02:19:06 +01:00
10
bd9987a124 initial commit 2018-11-16 01:39:51 +01:00