Backup with jailed ssh user throws an error

Discussion in 'ISPConfig 3 Priority Support' started by variable99, Nov 13, 2025.

  1. variable99

    variable99 Active Member HowtoForge Supporter

    I have jailed SSH user and when making "backup of web files", I receive error:

    Some of the jail files are not backed up. That's fine, because "web files" are backed up, I expect only "/web" dir backup, not entire / with jailed hardlinks to libraries.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try running the command mentioned in the log and post the exact error message. As you can see, there are already many exclusions in place; your system probably needs something else excluded as well.

    Besides that, I personally won't use zip mode for backups, as it lacks file permissions and ownership to be stored in the backups. Better use the tar.gz mode.
     
  3. variable99

    variable99 Active Member HowtoForge Supporter

    Yep, changing backup mode from zip (which is default for some reason) to tar.xz makes backup without error. But. It copies "/" with all bells and whistles:

    "log", "private", "root", "ssl", "webdav" folders are completely unnecessary as I copy "web files".

    [​IMG]
    For example "private" folder contains nodejs files from jailkit:
    [​IMG]
    [​IMG]
    Maybe there is possibility to make more exclusions then hardcoded into plugin?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The purpose of the backup is to back up the whole website, not just the web folder.
     
    ahrasis likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Sure, I can see if we can maybe make a config option for that.
     
    ahrasis and variable99 like this.

Share This Page