hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Backup and Restore with Local and Cloud Options

Open caduHD4 opened this issue 10 months ago • 2 comments

I saw that some people are wanting a login option to save the game list, I believe you can do this without directly logging in with a Hydra account. In the settings there could be a Beckup option, where there would be a button to do a backup and next to it a key to do the backup automatically or not, and a button to restore the backup.

In short: It would be an option that would have backup locally and in the cloud (optional) through the user's Google Drive and the local database, that is, the user would click to do a backup and choose whether they want it local (generate a .zip) or cloud (google drive), if it were through the cloud he would log in with his google account without being linked to any third party server other than google itself, so hydra would create a backup folder in google drive with the .zip, and if the user If he needed to format the PC he could simply log in and restore the backup.

  • It also wouldn't need to be Google Drive, any other form of online storage, or just use the idea of local backup with .zip for the user to save on a pendrive for example.

  • Then Hydra wouldn't store any user data on an external server, but rather, the user storing their own data in their own private cloud. 😎 It would be a bit more work than local backup, but there's the idea.

  • The backup would only be updated when the user removes or adds a game to the launcher. (Or every 3 hours, for example)

Captura de tela 2024-04-24 105234

caduHD4 avatar Apr 24 '24 14:04 caduHD4

I might be wrong, but I think that we'd need an API key for the Google Drive solution. We'd need to authenticate to Google to auto upload the backup.

zamitto avatar May 02 '24 02:05 zamitto

@zamitto Yes, would need the API Key to log in, but I could only think of it this way so that it wouldn't be necessary for hydra to store user data.

Do you have another suggestion on how this can be done without a database with user logins?

caduHD4 avatar May 30 '24 01:05 caduHD4

We could just have a Export/Import feature that uses a managed format to move stuff around (including user settings and games list). How it will be stored or shared it's up to the user.

scrlkx avatar May 31 '24 12:05 scrlkx

We actually implemented it in v2.0

zamitto avatar Jun 23 '24 07:06 zamitto