07-06-2017, 02:31 PM
awesome thats great news , after jumping in deep i really didn't have to do much, prepending the folder with @ turned out not to be necessary but i left as is, i changed a few lines in the recurse_copy() function in backup_util.php.
added:
line 65 ish:line 66 ish:
added permissions to @mkdir
then changed:
line 70:
to:
thats it really, now for backup restore, do we do as backup script reverse engineered or do we just restore tables ?
added:
line 65 ish:
Code:
global $settings;
Code:
$dest = '@'.rtrim($settings->backup_dest, '/');
added permissions to @mkdir
then changed:
line 70:
Code:
if (( $file != '.' ) && ( $file != '..')) {
to:
Code:
if (( $file != '.' ) && ( $file != '..') && ($file != $dest)) {
thats it really, now for backup restore, do we do as backup script reverse engineered or do we just restore tables ?