There's a big mistake in the provided mod php file. Currently, it reads:
Code:
$backupattach = "cd $backupdir2;
tar $tararg {$fileprefix3}{$backupdate}.tar $files;
mv {$fileprefix3}{$backupdate}.tar $backupto";
passthru ("$backupattach");
}
When it should really be:
Code:
$backupattach = "cd $backupdir3;
tar $tararg {$fileprefix3}{$backupdate}.tar $files;
mv {$fileprefix3}{$backupdate}.tar $backupto";
passthru ("$backupattach");
}
Otherwise all attachments will not be backed up! Instead, directory 2 (the profile pictures) are just backed up twice...