I have the exact same problem with unmodified source. When you goto backup just one site, it dowloads an archive to your computer it claims this archive is the real size (for example mine was 62.1 MB), but when you go to unpack it, it says its corrupted and cannot be opened. When you view the properties on the file, its only like 200kb.

zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete

safe mode is off...

fiiles remaining in the temp dir and now I must to deleted them manually, the risk is to fill the HD with save sets!

zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: tree/media/aaf.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Kevin-army-18yrs.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Vincent-Crest.JPG
zip warning: Permission denied
zip warning: could not open for reading: tree/media/dad in airforce.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/grandparents wedding day.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/gran as young woman.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Mother.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Grandad.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/My Ouma.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/jeanette cover.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Gwethalyn.jpg
zip warning: Permission denied
zip warning: could not open for reading: tree/media/Willyn Munsey.jpg
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: name not matched: *
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
spirit:~/ispconfig/httpd/logs#

OS: Debian GNU/Linux 3.1
ISPConfig: 2.2.10

Any Ideas? The only changes that I have made is doing a upgrade from .9 to .10 seems like since then it stopped working.

Did you do a chmod on some of these files where it says Permission denied?

Click to expand...

Nope, not on those files. But here is the persmission of one of the files in question:

Code:

-rw------- 1 www-data www-data 51962 Mar 8 17:20 Mother.jpg

As what user does ISPconfig backup run? Should it not run as root to overcome permission errors?

Those files were uploaded through the phpgedcom genealogy framework. So the website has set those permissions itself.

A auto-backup feature for ISPconfig to backup all the sites as a admin function to a remote ftp server would be pretty cool. Say you can schedule it once a week or something to do a backup.
I learned the hard way about backups. You only take it seriously once you lost critical customer information and you lose business because you forgot to do backups.

I made some tries; if I select 'mySQL database' all works fine, but when I select too 'web data' backup stops and returns the download window with 209 byte of save set.

Then I suppose Falkso says the true about the backup. Infact I suspect the problem is connected to a common area where I put the source to share TYPO3. The source is owned/grouped by root:root and it is linked by some symlinks from the single sites.

Could be that the backup utility follow the links, just arrived in the common area where root is the owner stops it.

I remember that in the old times there was a similar problems connected to the backup and follow symlinks.

The backup script runs as user admispconfig and not as root user, thats why it can not backup your files. All files within a website must be owned by the user and group that owns the website, the user admispconfig is member of the group that owns the website too. The backup utility can not run as root for security reasons.

Thanks, I'm just usign the FTP backup facility now to backup to one of my other servers. It seems to do the job. I'll wait untill the backup functionality has been improved a bit before I use the download data part which is not working for me.

It seems that this problem is related to the "memory_limit" entry on /root/ispconfig/php/php.ini

It will transfer only slightly smaller files than the value of this entry. With "memory_limit = 64 M" (default on 2.2.17), I could correctly download .zip backups up to ~ 63.5M. Any bigger backup would download only ~200 bytes

Increasing this value, you can download bigger backups. I have tried up to 256M, successfully downloading a 251 MB .zip

I have exactly the same problem. Increasing the php memory limit solves it. But there are sites with more than 400 megs of data in my server.
I don't think that increasing the memory limit that much is a good idea.