PHP Classes

Empty Archive

Recommend this page to a friend!

      TAR/GZIP/BZIP2/ZIP Archives  >  All threads  >  Empty Archive  >  (Un) Subscribe thread alerts  
Subject:Empty Archive
Summary:.tgz is empty
Author:Rob Embra
Date:2010-01-15 11:08:49
Update:2013-06-24 09:55:19


  1. Empty Archive   Reply   Report abuse  
Picture of Rob Embra 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));

if (count($test->errors) > 0)
print ("Errors occurred.");

  2. Re: Empty Archive   Reply   Report abuse  
Picture of Tuomas Manninen Tuomas Manninen - 2013-06-24 09:55:19 - In reply to message 1 from Rob Embra
I have exact same problem. It is sad that documentation lacks of info and this forum is like all dead.