PDA

View Full Version : Admin Backup/Transfer ERROR



comicway
09-05-2008, 03:13 AM
Hi,

When i try to restore a previously backuped user, i've got this error:


Warning: ftp_get(): 3124831.6 kbytes to download in /usr/local/directadmin/- on line 37

Warning: ftp_get(): Error during write to data connection in /usr/local/directadmin/- on line 48
Error while downloading user.lab.hca.tar.gz


I think the tar.gz is too big.

How i can correct this?

Thanks in advance,
Christophe

nobaloney
09-05-2008, 06:04 AM
A three gig backup tarball? It could be you're trying to write it to a system that can't write a file that big.

You can untar it on the original server (if you've got the room) and repackage it, but then of course you're going to have problems restoring, if your destination can't handle a file that big.

Jeff

getUP
09-05-2008, 07:20 AM
The ftp_download.php script should be rewritten to use either curl or ncftpget, PHP has problems handling large files.

I'll have a look at that today or tomorrow.

comicway
09-05-2008, 07:34 AM
So it's impossible to restore a 3gb backup file?

comicway
09-06-2008, 06:17 AM
No info about that?

getUP
09-06-2008, 08:03 AM
To restore it from a network location, I would say yes.

You should transfer it to the user_backups folder first, I don't think you will have any problems restoring from there.

However, what Jeff said could still apply in your situation. So have a look at that first.

comicway
09-07-2008, 05:25 AM
Great it works. thanks all