Quote from: rossco at Apr 21, 2009, 04:52 PM
Hi Chuck, i’ve just tried that latest version and mostly seems fine for me. However I have a couple questions. I have my config setup to backup the sql and to not backup the backup directory but neither is happening even though it says the whole process completed?
Where should the sql file be exactly and I’m using dir1 = /home/site/public_html/backup/,false to not backup the backup directory.
Thanks, Ross
I just checked in the backup archive directory of the ZIP and I see the sql there! I had no idea it was in there and assumed it was other ZIP backups, not the SQL.
:)
The database dump files are located in "archive_dir = backup/archive/". You didn’t mention if you had any other directories in config but I assume you also have something like "dir0 = /home/site/public_html/,true" which will backup everything. If this is the case, your "dir1 = /home/site/public_html/backup/,false" will instruct the scripts to go back into the /backup directory a second time and backup all the files but not the subdirectories . Some of my earlier tests actually show 2 copies of the files in the zip if this was the case.
The easiest way to fix this is to use the following config directories:
dir0 = /home/site/public_html/,false
dir1 = /home/site/public_html/backup/archive,false
dir2 = /home/site/public_html/assets,true
dir3 = /home/site/public_html/manager,true
This config skips the the files in the "backup/" directory and includes the files in the "backup/archive/" directory. If you have other major directories you would include those as well. There are other ways but this is the least effort way to accomplish what I think you’re trying to do. Does that make sense?
Chuck