Looks promising, any instructions on installing?
Oops, missed that I’ll get my reading glasses on!
Is it possible to exclude a directory from the backup?
The snippet keeps crashing when it gets to a directory with some .pswd files because it can open the files to read them.
I need to keep those files, so I was curious if there were an easy way to exclude the directory that is causing the problem?
Thanks. I really like this and think it shows a lot of promise.
JK
Here’s what I get in the output window of the module:
Backup in process...
Start MySQL backup of `ksracing_modx` to backup/tmp/`ksracing_modx`.sql . . . Completed MySQL backup. - Size: 626692
Start ListDir of all file names to /home/content/k/s/r/ksracing01/html/backup/tmp/listdir.txt . . . Completed ListDir. - Size: 225212
Start PclZip archive of all files to /home/content/k/s/r/ksracing01/html/archive/ksRacing_bkup.zip . . . Error: PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open file ’/home/content/k/s/r/ksracing01/html/stats/.statspwd’ in binary read mode
At this point the whole process dies.
I can check on server logs if it would help.
Justin
The permissions on the file in question are 604.
Owner has read,write
Group has nothing
Public has read.
Could this be the problem. Unfortunately I can’t change the permissions. This site is hosted with Godaddy, and they don’t allow you to change anything in this directory.
Thanks!