As far as I can tell, as an operator I need to keep track of what was the UUID of the container I deleted, in order to restore it.
Sorry for much confusion. Let me first try to explain how to import.
Finding the App's ID
Each Cloudron app has a unique ID. This is separate from the internal docker container id and you should never have to use any docker container id related stuff,
Now the question is how to figure out this unique ID of an uninstalled app. One way is to look into the event log. Select the uninstalled apps as the filter:
Then when you click on the event, you will see the app id:
Locating the backup
The backups are stored with the filename timestamp/app_<id>_v<packageversion>.tar.gz (for tgz backups) or timestamp/app_<id>_v<packageversion> (for rsync backups). The package version is needed in the case where you have a old version of an app and you want to restore to that old version.
Install an empty app
We have to next install the app for appstore. For this go to the appstore and install the app.
Notice the package version in the URL bar. Above, I am trying to install package v2.0.5 of wordpress. This version must match the version in the backup we located above.
Finally, go to app -> configure -> import
OK, all that said, what can be improved here. I see that the way to locate an uninstalled app's id is missing from the docs. I can add that part. Is there anything else we can fix on our side? Maybe we can keep the app's fqdn -> uuid listing alongside the backups?