Yes, backups excluding any folder / addon are classified as partial by Home Assistant. Doesn’t matter what you excluded, as long as it’s something it is no longer a “Full” backup
Thanks for all of your work on this add-on! Quick Question: Is there any way to manually trigger a file sync?
This add-on is terrific. Not only have has full feature parity with Google Drive Backup, but it also feels solid and fresh. I’m loving it.
Question, could you consider adding a feature to backup external files/folders? I’m using a NAS and it performs weekly backups of my local devices (router, switches, etc.). Could you evaluate whether it is aligned with your vision to also allow backing up external files/folders (mounted via smb or similar) to OneDrive? My NAS is (way too) old to expect it can provide a similar feature…
Thank you!!!
Please open a new discussion on this on the github page
Great add-on! Totally appreciate it!
A question to the community if anyone has created a card or something for this add-on for the dashboard? E.g. I’d like to see if add-on is running (sometimes due to HA restarts it can be stopped and no backups) and maybe free space, etc. I see there’s sensor.onedrivebackup
that could be used. so just wondering if anyone did something similar before I start doing it.
Hello Nir,
I said that before but will repeat it again: your add-on is very very cool and extremely useful. Thanks a lot for your contribution to the community!!
Is there anyway one can refine/tune the FileSync cadence/file watcher settings? in some of my testings I see it takes a while (around 15min) for the information to get replicated. Do you check for new files every few minutes? is there a way to increase the frequency a bit?
Happy to open a topic in GitHub if you want to discuss this further there!
Thanks a million!!
@mrvictor; not sure if you figured this out. Go to the Home Assistant Supervisor Integration. From there you should see the OneDrive Add on. You will need to enable the running Sensor.
Hey @nyshocka thank you for the pointer! indeed the running sensor was disabled and it seems like running sensors are disabled by default for other supervisor integrations as well, will read more about it… Enabled for OneDrive, I hope it will work now.
I am having issues backing up the backups to onedrive. I keep getting messages like these on the logs.
10/01/2024 16:16:38 [10] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary`2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action`1 requestConfiguration, CancellationToken cancellationToken)
at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action`2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161
at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action`2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361```
I’m liking the app, combines backups to NAS storage through the regular HA setting for quick restores and OneDrive for longer term. Just one thing, could we have an option to have filenames with YYYYMMDD:HHMM timestamps so they will sort in date order by name?
does it not do that already for you…my backups have hass_backup_YYYY-MM-DD-HH-MM as the name with the “hass_backup” bit being configurable in the Add-on Settings
Oops. @Gav_in you are right! I had restored from an old backup taken on 10th September (2024-09-10) and got confused!