hassio-google-drive-backup icon indicating copy to clipboard operation
hassio-google-drive-backup copied to clipboard

Feature Request - Backup targets other than Google Drive.

Open 123dev opened this issue 4 years ago • 19 comments
trafficstars

Would be really awesome to be able to backup to other targets. More specifically

  • Azure Storage
  • AWS S3
  • Microsoft One Drive ...

Thanks

123dev avatar Mar 02 '21 15:03 123dev

+1 for OneDrive

Salvora avatar Mar 12 '21 22:03 Salvora

+1 for OneDrive, google drive was good at the beginning but it's too expensive to keep many backup :/

lbouriez avatar Apr 04 '21 04:04 lbouriez

My official policy on this is that I'd like to support more upload destinations, but at the moment I don't have the time to implement it. Honestly I have trouble just keeping the current feature set polished in response to changes HA makes. Then there is the problem of keeping the recognition I've already built up from calling it "Home Assistant Google Drive Backup". Assuming I navigate all that, I'd like to consider making this work with:

  • Dropbox
  • OneDrive
  • Azure
  • AWS
  • Samba
  • FTP
  • Nextcloud
  • SFTP

sabeechen avatar Apr 22 '21 01:04 sabeechen

Adding more would be amazing. Google drive is so expensive compared to other solutions 🙄

lbouriez avatar Apr 22 '21 03:04 lbouriez

While I'm perfectly happy with just Google Drive, if you really want to add more storage systems, maybe you could consider using Rclone for the backup process. It supports more cloud storage providers than you can think of and it would give you a single, unified way to backup to all those providers. It's very well maintained, actively tested by a large community, has no dependencies and is available for all architectures that HassOS runs on, so its single, pre-compiled binary can simply be added to your add-on's docker container and will run perfectly fine. You could issue commands through the CLI, or even use its API over HTTP. This way you don't have to maintain any cloud provider API, not even the Google Drive one. Of course, all this would make more sense in a new add-on with a different name and branding.

jant90 avatar Apr 22 '21 09:04 jant90

Until sabeechen has more time, there is an RClone backup addon out there. Check out this with an RClone option, an SCP option, and an RSync option. I use it alongside this addon as my alternate for the 1-2-3 backup strategy.
ikifar2012 - remote-backup-addon

SirGoodenough avatar May 28 '21 17:05 SirGoodenough

If this were refactored to use fsspec, then adding other backends would probably be easy. However that first part is going to be hard. https://filesystem-spec.readthedocs.io/en/latest/

jamesmyatt avatar Jul 21 '22 14:07 jamesmyatt

I would love to see OneDrive supported alongside with Google Backup! I absolutely adore this add-on and I did support its development a while ago, but I would be happy to support it again! this is no cheap talking: @sabeechen has pulled together a rounded add-on and everything is very well thought out!

marcgarciamarti avatar Aug 07 '22 09:08 marcgarciamarti

Yeah this addon seems by far the best for managing backups, but it's a shame it's tied to only Google Drive.

As people's Home Assistant installation grows they often add more addons that are very large, and they want these backed up too. Google Drive lends itself better to smaller installations.

AlecRust avatar Aug 21 '22 13:08 AlecRust

A bit of advice for Google Drive: give Google Workspace Business Standard a try, and use shared drives.

Limits are file count based, not file size, so you can have up to 400,000 files, all of which are up to 750GB each.

So essentially, £10 a month for unlimited storage 🤓

caraar12345 avatar Mar 29 '23 11:03 caraar12345

Thats how I do it too. Google seems to say there is a quota limit in my workspace dashboard, but they don't seem to do anything if I go over it, even way over. I suspect its a limit they'll enforce in the future only if too many people use it.

sabeechen avatar Mar 30 '23 03:03 sabeechen

Well, the Workspace limit hit me now and I'm moving stuff back over to DropBox again (after just half finishing doing the opposite...)

This AddOn supporting other locations would be awesome, I can't find any active AddOns right now that support DropBox sadly.

EpicLPer avatar Jul 14 '23 09:07 EpicLPer

Uh, nextcloud support would be very nice 😗

rezeptpflichtig avatar Oct 02 '23 20:10 rezeptpflichtig

+1 maybe just use rclone as the upload tool in the middle? it's already supporting all these solutions, inclusive local/network targets as well as encryption

snickers2k avatar Feb 10 '24 19:02 snickers2k

Well, the Workspace limit hit me now and I'm moving stuff back over to DropBox again (after just half finishing doing the opposite...)

This AddOn supporting other locations would be awesome, I can't find any active AddOns right now that support DropBox sadly.

sorry to ask here, but since i'm also running out of space and do not have more than 2 backups of hassio, i'm thinking of moving back to google workspaces again (after having lost many TB on GSuite on unlimted drive). Did you really used the SHARED Drive? Since this should not have a limit on sizes , but only on 400k file-count ?! Can anyone confirm?

snickers2k avatar Feb 11 '24 22:02 snickers2k