Remote FTP backup not working?

eger

Verified User
Joined
Nov 3, 2006
Messages
61
I'm trying to test out remote FTP backups. But I can't seem to get anything to work. Local backing up of the data at /home/backup seems to be working just fine. In the backup status it never says anything about attempting FTP transfer:
Code:
Performing sanity checks:  Completed
Checking load average:  Completed
Checking free disk space:  Completed
Performing Custom backup
     Archiving /etc/exim.conf:  Completed
     Archiving /etc/exim.cert:  Completed
     Archiving /etc/exim.key:  Completed
     Archiving /etc/exim.pl:  Completed
     Archiving /etc/group:  Completed
     Archiving /etc/gshadow:  Completed
     Archiving /etc/hosts:  Completed
     Archiving /etc/httpd/conf/httpd.conf:  Completed
     Archiving /etc/httpd/conf/ips.conf:  Completed
     Archiving /etc/named.conf:  Completed
     Archiving /etc/passwd:  Completed
     Archiving /etc/proftpd.conf:  Completed
     Archiving /etc/proftpd.passwd:  Completed
     Archiving /etc/proftpd.vhosts.conf:  Completed
     Archiving /etc/resolv.conf:  Completed
     Archiving /etc/shadow:  Completed
     Archiving /etc/ssh/sshd_config:  Completed
     Archiving /etc/system_filter.exim:  Completed
     Archiving /usr/local/directadmin/conf/mysql.conf:  Completed
     Archiving /etc/mail:  Completed
     Archiving /etc/virtual:  Completed
     Archiving /home/admin:  Completed
     Archiving /usr/lib/apache:  Completed
     Archiving /usr/local:  Completed
     Archiving /usr/share/ssl:  Completed
     Archiving /var/log:  Completed
     Archiving /var/named:  Completed
     Archiving /var/mail:  Completed
     Archiving /var/spool/cron:  Completed
     Archiving /var/spool/mail:  Completed
     Archiving /var/spool/virtual:  Completed
     Archiving /var/www:  Completed
     Archiving /usr/local/directadmin/data:  Completed
     Archiving /usr/local/frontpage:  Completed
Performing DNS backup 
     Stage 1 DNS backup: Completed
     Stage 2 DNS backup: Completed
Performing Apache backup:  Completed
Performing MySQL backup 
     Stage 1 MySQL backup: Completed
     Stage 2 MySQL backup:     Stage 3 MySQL backup:
       Dumping database munge_cacti:  Completed
       Dumping database munge_dcm:  Completed
Performing cleanup operations:  Completed

I couldn't find another log with anything related to the backup or attempting to backup to a remote server. Where would the log be so I can check to see the error received if it is attempting FTP?

On the remote server I never see an FTP attempt. Any thoughts?

EDIT: Also tried FTP and SCP from command line using same user, pass, and folder from the remote backup settings. Works just fine from SSH.
 
Last edited:
Unfortunately the sysbk log doesn't show if the ftp worked or not :( .

You should check the sysbk files through the shell to make sure all the ftp information looks correct; also try the ftp manually from the shell to make sure it works.

Jeff
 
Admin Backup/Transfer RC1

Im trying out the admin backup feature, but get this message in the email
Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110)
in - on line 37

Warning: ftp_put(): Type set to I. in - on line 37

Warning: ftp_put(): File status okay; about to open data connection. in - on line 48
Error while uploading user.admin.user.tar.gz
its a remote ftp account that works through normal ftp access
 
Where are you getting this error and what logs have you checked? I might be able to help get the problem resolved if I can actually get some error information...
 
this error was shown in the 'Message System' after an attempt to do the ftp site backup.
went through DA's logs and see nothing pertaining to this error, perhaps a different log through shell?
Also I am running a Titan server on a windows machine, that this backup was being sent to.
As another test, I setup a ftp account on a different DA server and that worked, so it has to be something about the titan server setup.....maybe
I am going to try a different server application to see if that changes anything
--------------------------------------------------------------------------
EDIT

changed from Titan to BulletProof ftp server, things getting better.
1st- no error,2528 kb
2nd- 6136 kb
User domain1 has been backed up.

Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110)
in - on line 37

Warning: ftp_put(): Type set to I. in - on line 37

3rd-2.1 gb
User domain2 has been backed up.
Error while uploading user.admin.domain2.tar.gz
and as a last note the backup server (BulletProof) showed that the user (adminbkup) had disconnected even thou the upload continued
7/30/2007 10:35:29 PM - adminbkup (xxx.xx.xxx.xxx) > QUIT
(000008) 7/30/2007 10:35:29 PM - adminbkup (xxx.xx.xxx.xxx) > 221 Bye bye ...
(000008) 7/30/2007 10:35:29 PM - adminbkup (xxx.xx.xxx.xxx) > disconnected. (00:00:00)
 
Last edited:
Back
Top