View Single Post
  #1 (permalink)  
Old 08-07-2008, 12:55 AM
titanium titanium is offline
Junior Member
User
 
Join Date: Jul 2008
OS: centos
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
titanium is on a distinguished road
Default ftp backup failed with ncftp

hi, i have used the generated backup script from nixCraft.
I tried command line to run my scripts, but failed at the ncftp area whereby the error is:
=====================
MKD /home/backup/incremental failed; [Create directory operation failed.]
Could not mkdir /home/backup/incremental: server said: Create directory operation failed.
MKD /home/backup/incremental/07-07-2008 failed; [Create directory operation failed.]
Could not mkdir /home/backup/incremental/07-07-2008: server said: Create directory operation failed.
Could not chdir to /home/backup/incremental/07-07-2008: server said: Failed to change directory.
===========================
I am running centos 5 and installed the lastest ncftp-3.2.1-linux-x86-glibc2.3-export.tar.gz file.

i have given permission for the dir to be writable. Any help?
I have searched and found it might be the ncftp config. This is my ncftp config:
### FTP server Setup ###
FTPD="/home/backup/incremental"
FTPU="backup"
FTPP="mypass"
FTPS="my.site.com"
NCFTP=$(which ncftpput)

Thanks if anyone can shed some light.
Reply With Quote