
Originally Posted by
dranet
Hi, I've tried searching in this thread but can't seem to find an answer. My friend has a site with a LOT of downloadable files (now over 80 gig). Whenever she tries to backup using cpanel, it tries to add those files in with the backup and of course, it fails.
With this add on's selective directory option, can she exclude all the downloadable files and products from the backup and only do the database and zen cart/add on files?
Thank you,
Tracy
edit your_admin/backup_zconfig.php
If the files are out side of zen cart installation you need to use the real path to the folder.
ie: /path/to/your/webspace/public_html/zen/folder_you_want_to_exclude -- leave no trailing slash
You can find /path/to/your/webspace/public_html information in zen carts includes/configure.php file and then just add the folder you want to exclude.
Example:
Code:
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
"".DIR_FS_CATALOG."pub",
"/home/webspace/public_html/donotbackup"
);
Skip