Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Add app settings to backup config for easier migration/upgrade

    Feature Requests
    backup json migration restore
    2
    3
    219
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      msbt App Dev last edited by msbt

      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.

      1 Reply Last reply Reply Quote 2
      • girish
        girish Staff last edited by

        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.

        M 1 Reply Last reply Reply Quote 0
        • M
          msbt App Dev @girish last edited by

          @girish ah alright, was moving some LAMP 7.2 and 7.3 to 7.4., clone does not work in that scenario 😉

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB