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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Restoring app from backup?

Restoring app from backup?

Scheduled Pinned Locked Moved Solved Support
backupsrestore
2 Posts 2 Posters 613 Views 2 Watching
  • 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.
  • joesitsolutionsJ Offline
    joesitsolutionsJ Offline
    joesitsolutions
    wrote on last edited by girish
    #1

    I cannot for the life of me figure out how to do this.
    See Image:
    bruh.PNG
    I had a grav site and am attempting to move it from a backup.
    I have the .zip file. Cannot figure out why I keep getting "backupFolder path is protected"
    Anyone have any tips?

    girishG 1 Reply Last reply
    0
    • joesitsolutionsJ joesitsolutions

      I cannot for the life of me figure out how to do this.
      See Image:
      bruh.PNG
      I had a grav site and am attempting to move it from a backup.
      I have the .zip file. Cannot figure out why I keep getting "backupFolder path is protected"
      Anyone have any tips?

      girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      @joesitsolutions said in Restoring app from backup?:

      I have the .zip file. Cannot figure out why I keep getting "backupFolder path is protected"

      You can only create backups to specific paths on the server. Many of the paths are "protected" to make sure that the folders won't get overwritten by updates or are used by the system. This is just a hardcoded list of paths:

      const PROTECTED_PREFIXES = [ '/boot/', '/usr/', '/bin/', '/lib/', '/root/', '/var/lib/', paths.baseDir() ];
      

      (the baseDir above is /home/yellowtent/). You cannot create backups in subdirectories of the above paths.

      I understand you are using restore here though and not backup 🙂 The restore logic uses the same validation logic for paths and you have copied the backup to under /home/yellowtent/. Instead, copy the backup in some path like /mnt/backups/ or /srv/backups/ and try to restore, that should work.

      1 Reply Last reply
      2
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search