Releases: jcwillox/hassio-rclone-backup
2.0.0
This major release has many significant changes, in particular, the entire core has been rewritten in golang, this was mainly due to the fact that Go actually has a good cron-syntax based scheduling library. The Go program now handles scheduling instead of cron, which is what has enabled support for multiple jobs. Otherwise, I've greatly improved logging, error handling, and made it so you can run pretty much any rclone command you'd like to.
🚨 Breaking Changes
- Support multiple scheduled jobs (closes #6)
- Jobs are now specified as a list, and can optionally have a name. You will need to manually migrate your configuration.
# before schedule: 10 4 * * * command: sync sources: - /backup destination: 'google:/Backup/Home Assistant' include: - DailyBackup* exclude: [] flags: [] dry_run: false config_path: /config/rclone.conf
# after jobs: - name: Sync Daily Backups schedule: 10 4 * * * command: sync sources: - /backup destination: 'google:/Backup/Home Assistant' include: - DailyBackup* exclude: [] flags: {} dry_run: false config_path: /config/rclone.conf
- Flags are now specified as a map (d803e61)
- Flags are now specified as key-value pairs, the current
flags
option has been renamed toextra_flags
and a newflags
option which expects a map has been introduced.
# before flags: - --drive-use-trash=false
# after flags: drive-use-trash: false
- Flags are now specified as key-value pairs, the current
- Renamed
disable_rename
anddisable_undo_rename
tono_rename
andno_unrename
.# before disable_rename: false disable_undo_rename: false
# after no_rename: false no_unrename: false
⚡ Features
- Support running jobs on startup (closes #5)
- Allow multiple sources and multiple destinations (f4ed76e)
- Allow only the source to be specified
- this means you can now use commands like
ls
,purge
,delete
.
- this means you can now use commands like
- Allow sources to be remotes
- Added global
flags
option - Added name option for jobs
- Added
run_once
option (closes #5)- this doesn't work exactly like you might expect at the moment as the program will exit but the addon will continue running, it will work well with the
hassio.addon_restart
service.
- this doesn't work exactly like you might expect at the moment as the program will exit but the addon will continue running, it will work well with the
- Allow rclone config to be configured from the UI (1c505d7) (closes #13)
Changes
- Make include/exclude optional (02f99de)
- Improve source/destination validation (a6c5b92)
- Migrate build and config files to YAML (98aba0c)
- Rewrite core in golang (70fdff5)
Full Changelog: 1.2.0...2.0.0
1.2.0
1.1.1
⚡ Changes
- Docker images are now published to the Github Container Registry
- Setup GitHub actions to assist in publishing new releases, i.e. bumping version and generating the
CHANGELOG.md
- Rerelease of
1.1.0
to fix changelog not being committed
If you're coming from 0.1.3
don't forget to check out the breaking changes in release 1.0.0
1.1.0
1.0.1
This is the first major release of rclone-backup, I believe the repository is finally in a good state for general use. A lot has changed since the last release and this is thanks almost entirely to @ssiergl who has helped greatly to keep this addon alive.
🚨 Breaking changes
rclone.conf
must be located under/config
the default location is now/config/rclone.conf
(2a54344)source
was renamed tosources
and you are now able to specify multiple sources to backup (f80694e)- When specifying multiple sources the files will be stored under
destination/source
otherwise they will be directly underdestination
.
- When specifying multiple sources the files will be stored under
- The configuration was simplified and the
rename
option/config section was removed, backups will now be renamed to their friendly names briefly while running rclone. Therclone
config section key was subsequently removed as it was no longer needed, as well as therclone.enabled
flag (4958925)
An examples probably best, the new configuration looks like this
schedule: 10 4 * * *
command: sync
sources:
- /backup
destination: 'google:/Backup/Home Assistant'
include:
- DailyBackup*
exclude: []
flags: []
dry_run: false
config_path: /config/rclone.conf
⚡ Changes
- Added
/media
to available sources (dd7b900) - Rename now gracefully handles tarfile read errors and only tries to read
*.tar
files (148807c) - Switched to official Python addon base and S6 overlay (c1e7830) (e232b3e)
- Now compatible with Home Assistant 2021.9 and later (2b93c13)
- Renamed occurrences of
snapshot
->backup
in the docs - Improved handling of faulty configurations
- Cleaned up and changed logging
- Added example use case to the README.md
All changes: 0.1.3...1.0.0