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.
- 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.
- `README` now says which directories require what permissions.
- Read permission for `/data` directory.
- Read, write and delete permissions for `/backups` directory.
- 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.
- 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.
- 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.
**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.
**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.
**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.