[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
## About
Easily backup your Home Assistant snapshots to Nextcloud.
Auto backup can be configure via the Home Assistant web interface.
### Features
- Auto Backup : Configure this add-on to automaticaly backup your HassIO instance.
- Auto Clean : You can specify the maximum number of local snapshots and (__ONLY__) auto backup snapshots.
- ~~Restore backups.~~ (Coming Soon)
> __Info:__
> Auto Clean is executed after every upload and every day at 00h30
## NextCloud config
First, you need to configure all your Nextcloud information.
To do this:
1. Open the add-on Web UI
1. Open NextCloud config menu (Top right gear, and Nexcloud)
1. If your NextCloud instance use `HTTPS`, enable the `SSL` lever
1. 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`)
1. Now enter the Nextcloud username that you want this addon to use.
1. For password, we highly recommend using an `App Password`.
>To generate an `App Password`, go into your personal settings in the Nextcloud Security page. You can generate one via the `Devices & sessions` section. Simply enter a name and hit `Create new app password`