Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : An option to automatically upload backups to a third party hosting / send to local computer #86

Open
Professor-Puddle opened this issue Aug 29, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Professor-Puddle
Copy link

My server doesn't have a lot of storage, so I can only have like around 10 backups at a time, which can be an issue in some situations, so I would have to manually download backups from the server to my PC every time.

It would be nice if there was a feature in the config to automatically upload backups to a third party hosting site, for example, https://fileditch.com

so this would hypothetically create a txt file and save content like:

" : "
" : "
" : "

and so on, so I can just open the file and get the link to whatever backup I need.

in a similar way, it would be nice if there was also a feature to automatically send a copy of all backups to my local PC, so then when my PC's storage gets full I can deal with the backups later :)

@Professor-Puddle Professor-Puddle added the enhancement New feature or request label Aug 29, 2024
@HoldYourWaffle
Copy link
Contributor

HoldYourWaffle commented Aug 30, 2024

I agree with this idea in spirit, but managing remote storage is notoriously tricky to implement reliably. Given that failure could be disastrous I'd strongly recommend leaving this to dedicated tools like rclone and not complicate the mod any further than "write file to disk".
Maintaining one storage provider implementation might be doable, but soon requests will come in for supporting Google Drive, OneDrive, Dropbox, (S)FTP, S3, NFS, SMB and every other obscure system you can think of 😅

For reference, SimpleBackups recently rejected a similar feature request: ChaoticTrials/SimpleBackups#25.
It's worth noting that the last comment is easily misinterpreted without the context of the linked discord thread, that discussion was almost exclusively about adding an option to run scripts before and after a backup.

@HeatherComputer
Copy link
Owner

Maintaining one storage provider implementation might be doable, but soon requests will come in for supporting Google Drive, OneDrive, Dropbox, (S)FTP, S3, NFS, SMB and every other obscure system you can think of 🥲

Fwiw, smb and (s)ftp can be mounted as if they were drives on most systems, and should work as normal. (tested with smb, not sftp)

@Mace68
Copy link

Mace68 commented Sep 15, 2024

Fwiw, smb and (s)ftp can be mounted as if they were drives on most systems, and should work as normal. (tested with smb, not sftp)

Transfer protocols would definitely be easier to implement than specific cloud services. WebDAV would also be nice if feasible.

@HoldYourWaffle
Copy link
Contributor

I might've discussed this with Heather before on Discord, but an SPI-based system with built-in implementations for "write to disk" and perhaps the most ubiquitous transfer protocols could be a nice balance between functionality, maintainability and extensibility for daredevils with special needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants