Im trying to make a php program doing two things:
I start by executing this:
$output = shell_exec("tar cvfz /var/www/backup/file_backup_$date.tar.gz /var/www/");
echo "<pre>$output</pre>";
The output does not include all files and directories. What am I doing wrong? Is it something with userrights?
After I want to create a cron file and I want to make sure it is started!
Can you help me?
Thanks,
Frank
I start by executing this:
$output = shell_exec("tar cvfz /var/www/backup/file_backup_$date.tar.gz /var/www/");
echo "<pre>$output</pre>";
The output does not include all files and directories. What am I doing wrong? Is it something with userrights?
After I want to create a cron file and I want to make sure it is started!
Can you help me?
Thanks,
Frank
Comment