Skip to content

Releases: jcwillox/hassio-rclone-backup

2.0.0

27 Feb 09:51
Compare
Choose a tag to compare

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 to extra_flags and a new flags option which expects a map has been introduced.
    # before
    flags: 
      - --drive-use-trash=false
    # after
    flags:
      drive-use-trash: false
  • Renamed disable_rename and disable_undo_rename to no_rename and no_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.
  • 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: 1.2.0...2.0.0

1.2.0

08 Jan 04:30
Compare
Choose a tag to compare

⚡ 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)

Full Changelog: 1.1.1...1.2.0

1.1.1

06 Sep 10:53
Compare
Choose a tag to compare

⚡ 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

06 Sep 09:39
Compare
Choose a tag to compare

⚡ 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

If you're coming from 0.1.3 don't forget to check out the breaking changes in release 1.0.0

1.0.1

04 Sep 03:06
Compare
Choose a tag to compare

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 to sources 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 under destination.
  • 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. The rclone config section key was subsequently removed as it was no longer needed, as well as the rclone.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

0.1.3

29 Jan 00:39
Compare
Choose a tag to compare
  • Add verbose flag by default

0.1.2

09 Dec 01:06
Compare
Choose a tag to compare
  • Fix issue with optional options

0.1.1

08 Dec 14:27
Compare
Choose a tag to compare
  • Fix spacing error with flags
  • Use edge version of rclone

0.1.0

08 Dec 13:32
Compare
Choose a tag to compare

Initial Release!