Change default backup folder

Discussion in 'Installation/Configuration' started by Mario90, Nov 4, 2014.

  1. Mario90

    Mario90 New Member

    Hi,
    actually backups are stored in /var/backup.
    How can i change the folder to /home/backup? Thanks.

    Actually i made a soft link doing

    ln -s /home/backup backup/

    Could this cause problems?
     
  2. srijan

    srijan New Member HowtoForge Supporter

    ISPConfig don't work for soft
    links.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. Mario90

    Mario90 New Member

    Tested and backups went fine! filenames are updated to 05 November.
    Why shouldn't ISPConfig work with soft links? :S
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    When ISPConfig create paths, it checks for softlinks and stops the configuration process if it finds one as softlinks can be used to attack a server from within a website. But the backup dir is outside of the website so its most likely not included in that restriction.
     
  6. Mario90

    Mario90 New Member

    So is my solution safe? Thanks.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    If it works then it is ok. nevertheless the preferred way is a bind mount.
     
  8. Mario90

    Mario90 New Member

    Nice! You can close the post if you want. Thanks! :D
     

Share This Page