1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-07-13 05:14:38 +03:00
Commit Graph

111 Commits

Author SHA1 Message Date
38dbb2d66d Modify script.sh to not error when files missing from vw data vol (#30) 2024-10-05 23:35:25 -05:00
10fa458b10 Create LICENSE.md 2022-08-14 21:10:54 -05:00
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
23d0115222 Minor updates (#24)
- Remove `crontab`.
- Rename dockerize action.
2021-08-30 11:34:54 -05:00
ea6ce91e8c Update dockerize.yml 2021-08-09 21:24:25 -05:00
9ac8c1ea06 Update dockerize.yml 2021-08-09 13:28:14 -05:00
4e231f5557 Update dockerize.yml 2021-08-09 13:21:33 -05:00
7c945771a5 Update dockerize.yml 2021-08-09 13:15:59 -05:00
e8e8b65e66 Update dockerize.yml 2021-08-09 13:12:03 -05:00
8b8aba2819 Update dockerize.yml 2021-08-09 13:08:28 -05:00
5c7d39b775 Update dockerize.yml 2021-08-09 13:06:03 -05:00
ed04e40550 Create dockerize.yml 2021-08-09 12:43:04 -05:00
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
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
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
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
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
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
5378a1d4fb Fix echo
Backup script `echo`ed that it added script as a `delete` script 🤦‍♂️.
Fixed!
2021-07-13 22:35:37 -05:00
f2f6fab4d2 Update README.md 2021-07-13 22:18:35 -05:00
11c8653d26 More echoes (#12)
- `echo` when a script _(`backup`, `delete`)_ is added to cron jobs.
2021-07-13 22:13:24 -05:00
fcda17fc09 Remove old backups (#11)
- Added `delete` script 🎉.
  - `DELETE_AFTER` variable must be greater than `0`.
2021-07-13 22:04:46 -05:00
438a72650c Update README.md
Note that config.json is also backed up.
2021-06-21 18:31:07 -05:00
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
20e2a129f7 Add latest tag to docker-compose example 2021-05-26 06:54:56 -05:00
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
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
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
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
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
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
ee15635106 Change docker repository (#3) 2021-05-25 17:09:48 -05:00
8d7f7f384a Change docker user (#2) 2021-05-25 17:07:21 -05:00
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
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
ec3d262120 fix : difference between bash and shell 2021-04-04 08:31:52 +00:00
ed158d7406 fix: check ATTACHMENT_BACKUP_FILE 💡 2021-04-04 08:18:58 +00:00
2ddc097df5 Check ATTACHMENT_BACKUP_FILE define 🔬 2021-04-04 08:05:17 +00:00
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
10
266224758b Fixed typo in pipeline 2021-01-26 02:55:33 +01:00
10
3740275b2d Added pushrm to pipeline 2021-01-26 02:15:31 +01:00
10
cc6ab99e06 added pushrm 2021-01-26 00:16:42 +01:00
10
8f27cff65c Merge branch 'dev' 2021-01-25 22:12:51 +01:00
10
63c8cf07d1 Added multi-ach support to README.md
Removed hints to rpi3 tag since it is obsolete right now
2021-01-25 22:10:43 +01:00