Go to file
2020-12-28 18:15:46 +00:00
.github 🚑 Try to fix CI/CD 2020-11-04 16:18:10 +01:00
images ✏️ Update Screenshot 2020-01-06 17:23:58 +01:00
nextcloud_backup removed colon due to nextcloud error 2020-12-28 18:15:46 +00:00
.auto-changelog ✏️ Add release-it and auto-changelog config 2020-08-26 16:44:29 +02:00
.gitignore 🔨 Add logger 2020-02-15 14:28:48 +01:00
.release-it.yml ✏️ Add release-it and auto-changelog config 2020-08-26 16:44:29 +02:00
deploy Add deploy script 2020-01-10 21:29:13 +01:00
LICENSE 🎆 Update licence to 2020 2020-01-05 11:51:28 +01:00
naming_template.md ✏️ Move naming tamplating doc to root 2020-11-12 13:39:20 +01:00
README.md ✏️ Rebranding hassio => home assistant 2020-10-06 16:23:20 +02:00

Home Assistant Add-ons: Nextcloud Backup

GitHub Release Project Stage License

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Project Maintenance

Community Forum

Buy me a coffee

Home Assistant snapshot backup to Nextcloud

Nextcloud Backup Screenshot

About

Easily backup your Home Assistant snapshots to Nextcloud.

Features

  • Auto Backup : Configure this add-on to automaticly backup your HassIO instance.
  • Auto Clean : You can specify the maximum number of local snapshots and (ONLY) auto backuped snapshots.
  • Restore backups. (Coming Soon)

Info:
Auto Clean is executed after every upload and every day at 00h30

Installation

The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.

  1. Add our Home Assisant add-ons repository to your HassOS instance.
  2. Install the "Nextcloud Backup" add-on.
  3. Start the "Nextcloud Backup" add-on
  4. Check the logs of the "Nextcloud Backup" add-on to see if everything went well.
  5. Open the web UI for the "Nextcloud Backup" to configure the add-on.

NOTE: Do not add this repository to HassOS, please use: https://github.com/Sebclem/sebclem-hassio-addon-repository.

NextCloud config

Firts, you need to configure all your Nextcloud information.

To do this:

  1. Open the add-on Web UI
  2. Open NextCloud config menu (Top right gear, and Nexcloud)
  3. If your NextCloud instance use HTTPS, enable the SSL lever
  4. Enter the hostname of the NextCloud instance. You can specify a custom port by adding :[port] at the end of the hostname (exemple.com:8080)
  5. Now enter the Username that you when this add-on use.
  6. For password, we highly recommend to use App Password.

    To generate a App Password, go into your personal setting into Nextcloud, Security page. You can generate one via the Devices & sessions section. Simply entre a name and hit Create new app password

HassOs Configuration

Note: Remember to restart the add-on when the configuration is changed.

Example add-on configuration:

{
  "log_level": "info",
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
}

Note: This is just an example, don't copy and paste it! Create your own!

Option: log_level

The log_level option controls the level of log output by the addon and can be changed to be more or less verbose, which might be useful when you are dealing with an unknown issue. Possible values are:

  • trace: Show every detail, like all called internal functions.
  • debug: Shows detailed debug information.
  • info: Normal (usually) interesting events.
  • warning: Exceptional occurrences that are not errors.
  • error: Runtime errors that do not require immediate action.
  • fatal: Something went terribly wrong. Add-on becomes unusable.

Please note that each level automatically includes log messages from a more severe level, e.g., debug also shows info messages. By default, the log_level is set to info, which is the recommended setting unless you are troubleshooting.

Option: ssl

Enables/Disables SSL on the Log Viewer. Set it true to enable it, false otherwise.

Note: The SSL settings only apply to direct access and has no effect on the Hass.io Ingress service.

Option: certfile

The certificate file to use for SSL.

Note: The file MUST be stored in /ssl/, which is default for Hass.io.

Option: keyfile

The private key file to use for SSL.

Note: The file MUST be stored in /ssl/, which is default for Hass.io.

Option: leave_front_door_open

Adding this option to the add-on configuration allows you to disable authentication on the add-on by setting it to true and leaving the username and password empty.

Note: We STRONGLY suggest, not to use this, even if this add-on is only exposed to your internal network. USE AT YOUR OWN RISK!

Support

Got questions?

You have several options to get them answered:

You could also open an issue here GitHub.

Authors & contributors

The original setup of this repository is by Sebastien Clement.

For a full list of all authors and contributors, check the contributor's page.

License

MIT License

Copyright (c) 2020 Sébastien Clément

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.