1. If you specify more than one folder in shell mode (running a cron job), the files in the folders are not backed up because of an error in line 237 of backup.php.
To solve this problem you must change the "|" into a "," in this line. So you have to change
foreach(explode("|",$_POST['man_dirs']) as $dir) $files=array_merge($files,PMBP_get_files($dir));
foreach(explode(",",$_POST['man_dirs']) as $dir) $files=array_merge($files,PMBP_get_files($dir));
2. At the moment it is not possible to tell the script, that the files should be zipped. I solved this problem for myself by adding
$_POST['packed'] = TRUE;
after line 68. But perhaps you want to add another argument to switch this on?
Log in to post a comment.