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

105 Commits

Author SHA1 Message Date
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
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
Markus
4a9a59d7e3 Merge branch 'dev' into 'master'
Merge from dev into master

Closes #14

See merge request 1O/bitwarden_rs-backup!5
2021-01-25 17:03:42 +00:00
10
c528574736 fixed image tagging 2021-01-24 23:06:41 +01: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
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