Admin Backup/Transfer ERROR

comicway

Verified User
Joined
Jun 22, 2007
Messages
26
Hi,

When i try to restore a previously backuped user, i've got this error:
Code:
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
 
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
 
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.
 
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.
 
Back
Top