Skip to content

Commit

Permalink
🎉 Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 27, 2022
1 parent 84c511e commit b4275a2
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 8 deletions.
83 changes: 76 additions & 7 deletions rclone_backup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,80 @@
## What’s changed

## ⚡ Changes
* Allow `move` command (fixes #7) (f3f81f7)
* Add `disable_rename` and `disable_undo_rename` options (9dfb4a5)
* Bump rclone to v1.57.0 (9b18b0b)
* Bump hassio-addons/base-python to 8.0.1 (ad01900)
* Change logo (83fa4fb)
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.
```yaml
# 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
```
```yaml
# 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 to `extra_flags` and a new `flags` option which expects a map has been introduced.
```yaml
# before
flags:
- --drive-use-trash=false
```
```yaml
# after
flags:
drive-use-trash: false
```
* Renamed `disable_rename` and `disable_undo_rename` to `no_rename` and `no_unrename`.
```yaml
# before
disable_rename: false
disable_undo_rename: false
```
```yaml
# after
no_rename: false
no_unrename: false
```

**Full Changelog**: https://github.com/jcwillox/hassio-rclone-backup/compare/1.1.1...1.2.0
## ⚡ 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`.
* 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.
* 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**: https://github.com/jcwillox/hassio-rclone-backup/compare/1.2.0...2.0.0
2 changes: 1 addition & 1 deletion rclone_backup/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Rclone Backup
version: 1.2.0
version: 2.0.0
slug: rclone_backup
description: Automatically sync backup to remote locations using rclone
arch:
Expand Down

0 comments on commit b4275a2

Please sign in to comment.