No support for simply uploading a backup through the web ui?
-
wrote on Jun 30, 2024, 6:05 PM last edited by girish Jul 1, 2024, 5:33 AM
I have a backup of an app on my local disk. Is it correct that I can't simply upload the backup?
-
wrote on Jun 30, 2024, 6:27 PM last edited by ccfu Jun 30, 2024, 6:27 PM
Yes, you have to upload it to the server's file system first.
-
You have to scp to server and import it via Filesystem provider - https://docs.cloudron.io/backups/#import-app-backup .
-
-
-
wrote on Jul 1, 2024, 9:47 PM last edited by
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
-
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
wrote on Jul 1, 2024, 9:49 PM last edited by@philkunz said in No support for simply uploading a backup through the web ui?:
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
Good question. If I'm not mistaken I think this has come up before, and I think there is even a feature request post about it somewhere...
-
@philkunz said in No support for simply uploading a backup through the web ui?:
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
Good question. If I'm not mistaken I think this has come up before, and I think there is even a feature request post about it somewhere...
wrote on Jul 1, 2024, 9:51 PM last edited by@jdaviescoates said in No support for simply uploading a backup through the web ui?:
@philkunz said in No support for simply uploading a backup through the web ui?:
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
Good question. If I'm not mistaken I think this has come up before, and I think there is even a feature request post about it somewhere...
Yep, here it is:
-
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
@philkunz said in No support for simply uploading a backup through the web ui?:
Ok got it. Is there a particular reason, why a simple upload through the webui is not supported?
In some ways, this can be considered a security issue. If we had some bug in Cloudron code, then one can import/delete your existing data in the app. This is also why we don't allow deleting backups via the web ui.
But (atleast I) have come around to this a bit. Maybe this can be considered a usability issue. We just need to figure out some safety hatch when user uploading a backup (maybe require 2fa, reenter password etc).