Add app settings to backup config for easier migration/upgrade
-
Just migrated a few of my custom apps to cloudron versions and was curious why the settings like redirects (e.g. www to root domain), access control, resources and security (robots.txt and csp policy) are not part of the backup.json file.
Would be nice to have that information in there and maybe show checkboxes during the import process to select if/which of those values should be overridden by the json file. Almost forgot to set up redirections and such, would be useful to have a complete restore of an app and not only its content.
Not sure if it's easy to implement, just thought I would leave it here.
-
There is a
config.json
inside each of the backups which contains all the info. The intention was to use that file when migrating/importing but it's not implemented now. So, this would be a good feature to have.Also, the clone code has some special logic to clone specific things like CSP, robots.txt, access control etc.