Restore backup from backup file
-
As a user I want be able to restore an application from a one of the backup targz/zipfiles taken by the backup routine.
Why I propose this:
It is not clear to me how I do this, so I assume this is not possible.
In the restore backup dialog presented, I can upload the backup configuration, but I can not provide the backup file itself.
In a disaster scenario, it is plausible that I have also lost the actual backup destination, and I fall back to secondary backup location, which I have to fish out the backup files manually and restore them as such. -
As a user I want be able to restore an application from a one of the backup targz/zipfiles taken by the backup routine.
Why I propose this:
It is not clear to me how I do this, so I assume this is not possible.
In the restore backup dialog presented, I can upload the backup configuration, but I can not provide the backup file itself.
In a disaster scenario, it is plausible that I have also lost the actual backup destination, and I fall back to secondary backup location, which I have to fish out the backup files manually and restore them as such.@makemrproper
Is totally doable.
In such a disaster recovery scenario you can just leave the default backup configuration as it is filesystem.
Upload your backup to the server to/mnt/cloudronbackup
.
Then in the restore of an app you have to manufacture the config by hand.
Painful, but doable.
Did so 2-3 times because I nuked my server.
This is not your request tho.
I agree, having the app backup config as a part of the app backup itself would be nifty to enable "just upload the tgz" and let it restore.
This would also enable Cloudron "to just upload the backup without installing the app first".
déjà vu
I think, I talked or wrote about exactly this some time ago. -
Thanks for good input. To me this is the missing blind spot in disaster recovery. Cloudron is about to have multiple backup locations and everything so resilience is certainly on the dev teams thought.
I think direct restore from targz is beyond nifty and a nice to have, I'd propose it is a high impact high value requirement.
-
@makemrproper there is no technical issue implementing this . But for the rationale why it's not implemented - practically speaking, most people's backups are GBs in size. Uploading GBs from browser is not great (and quite unreliable given proxies/firewalls etc in the middle). It's just easier if people copy over the file to the server via scp and use the Filesystem provider to restore.
Not to mention that one cannot download rsync backups.