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

116 Commits

Author SHA1 Message Date
7f531cb369
docs: add telegram screenshot of notification 2025-06-14 13:19:11 +03:00
d93e308cba
docs: use pre-built docker images in readme
Also add clarification about OWASP recommendations,
see: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
2025-06-14 12:34:02 +03:00
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.
v1.0.0
2025-06-14 12:11:44 +03:00
John M
1d523c8734
Update README.md (#33) 2024-11-29 22:47:09 -06:00
Shane Dolan
b24024fde5
add recommended restart behavior to readme.md (#31) 2024-10-15 22:12:23 -05:00
Shane Dolan
38dbb2d66d
Modify script.sh to not error when files missing from vw data vol (#30) 2024-10-05 23:35:25 -05:00
jmqm
10fa458b10
Create LICENSE.md 2022-08-14 21:10:54 -05: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
ea6ce91e8c
Update dockerize.yml 2021-08-09 21:24:25 -05:00
jmqm
9ac8c1ea06
Update dockerize.yml 2021-08-09 13:28:14 -05:00
jmqm
4e231f5557
Update dockerize.yml 2021-08-09 13:21:33 -05:00
jmqm
7c945771a5
Update dockerize.yml 2021-08-09 13:15:59 -05:00
jmqm
e8e8b65e66
Update dockerize.yml 2021-08-09 13:12:03 -05:00
jmqm
8b8aba2819
Update dockerize.yml 2021-08-09 13:08:28 -05:00
jmqm
5c7d39b775
Update dockerize.yml 2021-08-09 13:06:03 -05:00
jmqm
ed04e40550
Create dockerize.yml 2021-08-09 12:43:04 -05:00
jmqm
7ac41f6dec
Clarify permissions required (#21)
- `README` now says which directories require what permissions.
  - Read permission for `/data` directory.
  - Read, write and delete permissions for `/backups` directory.
2021-07-28 02:37:45 -05: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
0fb7abc0c1
Delay delete
- Delete script now has an initial one minute delay, to ensure a backup is created first.
  - Also to prevent this:
    ![image](https://user-images.githubusercontent.com/68612932/126045649-e737136f-80b0-4727-80fc-c7872812997c.png)
2021-07-17 12:50:53 -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
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
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
f2f6fab4d2
Update README.md 2021-07-13 22:18:35 -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
438a72650c
Update README.md
Note that config.json is also backed up.
2021-06-21 18:31:07 -05:00
jmqm
da276eca3c
Minor fixes to README
- Add programs that can open and extract tar.xz archives.
- Fixed spacing in docker-compose example.
- Further clarification for CRON_TIME in docker-compose example.
2021-05-31 03:18:42 -05:00
jmqm
20e2a129f7
Add latest tag to docker-compose example 2021-05-26 06:54:56 -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
48b391d082
Add list of files and directories that are backed up (#8)
**README.md**
- Replaced `folder` to `directory` and their plural forms.
- Added list of files and directories that are backed up.
2021-05-26 02:18:52 -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
jmqm
ee15635106
Change docker repository (#3) 2021-05-25 17:09:48 -05:00
jmqm
8d7f7f384a
Change docker user (#2) 2021-05-25 17:07:21 -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
1O
762026a5ad
master to main 2021-04-05 18:33:54 +02:00
1O
aa133a44eb
Added attachment example 2021-04-05 18:33:32 +02:00
Markus
c89c8f1a00 Merge branch '17-suggestion-backup-attachements' into 'dev'
Update Dockerfile, entrypoint.sh, backup.sh files

See merge request 1O/bitwarden_rs-backup!6
2021-04-05 16:02:09 +00:00
pierre perso
ec3d262120 fix : difference between bash and shell 2021-04-04 08:31:52 +00:00
pierre perso
ed158d7406 fix: check ATTACHMENT_BACKUP_FILE 💡 2021-04-04 08:18:58 +00: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
b7c6cac02a
Merge branch 'dev' 2021-03-09 19:46:07 +01:00
1O
b02bfed03e
removed workflow rules to fix scheduled builds 2021-03-09 19:44:17 +01:00
1O
20e4c5a326
Merge branch 'dev' 2021-02-15 11:06:37 +01:00
1O
7154aafd2f
Added hint for ARM datetime problems 2021-02-15 11:02:48 +01:00