Quote Originally Posted by RixStix View Post
Ditto here.
Website and database backups made from within cPanel & phpMyAdmin restore without any issues.
Neither Website or database backups made using this routine will restore.

Luckily these are backups made for our sandbox site between each addon and failure to restore is not as critical as it would be if needed to restore our live site.
Quote Originally Posted by pewe View Post
OK - this needs checking out on a server other than mine just in case the problem is just on my server which is running PHP 5.4.18 running on Apache 2.2.25.

To clarify my previous post:
On my server -
- If I use the compress (zip) function in my control panel admin, my whole site backs up and extracts perfectly.
- If I use this script the extraction fails IF any directory contains files or directories with a period (decimal point) in the name.

What was causing an issue were 2 things:
- Images subdirectories whith numers followed by periods (eg '1.Tools')
- A template which included fancybox which included a directory called 'fancybox-1.3.4'.

What is puzzling is why the zip function in the file manager in my control panel works (as does another backup script) with such file/directory names, but this script doesn't, as I would have thought they use the same zip utility on the server???

Perhaps someone could create a similar directory or install the template (from here) and backup their site then try extracting it as a further test.

Feedback would be appreciated.
Question:
Have you downloaded the zip file to your local system and then ran 7zip or something similar?
Or are you using cpanel unzip/restore on the web server?

Skip