|A new feature has been added to DirectAdmin 1.47.1 which allows the User to specify their own paths to skip, voiding the need for the guide below:|
There are certain folders within the /home/username directory that will be skipped during the backup procedure. This is because they would either cause loops (backing up the backup) or for the case that an account is inside a chroot jail and does not need all of the copied binaries and libraries to be included.
The list of skipped folders from the User's home directory is as follows:
- We have the folder:
/home//domains//public_html/- This images folder is very large, and we don't want it to be included in the backups.
- We'll put it in /home/fred/var/images to do this, and link to it.
1) Create the var folder:
2) Move the images folder to the var folder
3) Create a link to it from the old location:
ln -s ../../../var/images ./images
It's important to ensure that the files/folders are all chowned correctly to the User, else Apache will complain if the link owner does not match the owner of the folder it points to. This functionality relies on the SymLinksIfOwnerMatch option, which should already be enabled... but if not, add the following to an .htaccess in your public_html folder:
|How to setup jailed ssh and jailed cgi (discontinued)|
|Backup creation is slow due to large file sizes|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST