Rob Embra - 2010-01-15 11:08:50
Hi there,
I need some help with this as I keep getting an empty file.
The script is being run from /public_html/archiver/
I would like to backup everything in /public_html/dump/ and its sub directorys to /none_public/backup/
$test = new gzip_file("/none_public/backup/$date.tgz");
$test->set_options(array('basedir' => ".", 'overwrite' => 1, 'level' => 9));
$test->add_files(array("/public_html/dump/"));
$test->create_archive();
if (count($test->errors) > 0)
print ("Errors occurred.");