Open trymeouteh opened 4 years ago
Thanks for your suggestions! :-)
This is also a good idea for a general config backup-feature and for such cases like migrating to another system.
For the moment you could just zip your config directory and also copy the hidden files in your sync folder, they contain the selected sync folder database. But if you also delete your data, you have to re-sync it of course anyway.
Another hint regarding security: Your account credentials (and client certificates, if used) are stored in your system's keychain store and will not be deleted upon uninstall. So you should remove them manually to really wipe sensitive data of the client. Then you also should consider to revoke the app authorization for the client in your NC server's web interface, to ensure nobody can use your old credentials. As an alternative you may simply use the Remote Wipe feature, available with NC 17 and the client 2.6.2 release.
I think the desktop clients need to have a import/export settings file which can be saved in a unencrypted or encrypted format. This settings file will save the settings and sync connections.
The reason I think this is needed is for when one wants to go though border security such as at an airport. One can easily export their settings to the cloud or on their laptop. Logout of Nextcloud, uninstall Nextcloud, delete the folders that were synced with Nextcloud, go through security and then install Nextcloud, login and import the settings and have Nextcloud setup the same way it was before.
This will make it easy to setup Nextcloud again once your passed security. And is a useful feature to protects ones privacy.