At 12:32 AM 2/15/2005, Alexander V. Lukyanov wrote:

On Mon, Feb 14, 2005 at 10:07:26AM -0600, Steve Buehler wrote:
>         Apparantly your diff file did do the trick.  I just made a change
> in the /etc/lftp.conf file and it now works with the "mirror" and the "ls"
> commands.  The following line was in the lftp.conf file:
> set ftp:list-options -a

Ok. Thanks for testing! The fix will be in lftp-3.1.0, to be released soon.

Alexander
No problem for testing. Thank you for letting me.
One other problem now. Unless I am just doing something wrong. I am doing a mirror and the only way that I could figure to do it was by putting the commands in a file and running the file.


root#> lftp -f /home/dbuehler1/.lftp.conf

The file consists of the following lines.
-----start of .lftp.conf
lftp ftp://login:[EMAIL PROTECTED]
cd /SHARE1
lcd /home/dbuehler1/Tuesday
mirror -s --delete-first
----end of .lftp.conf-----

The manual says that "-s" was to "set suid/sgid bits according to remote site". I am trying to mirror 80 gigs of data. One of the files is 755 on the remote server that I am backing up from, but is only 666 on the local server that I am backing up to. Because the remote server doesn't have ssh I have to run this from the local backup server. Some of the other files are 777 on the remote and 664 on the local system. Some of the files are correct and some aren't. There are a couple of files that might have been backed up before I put the "-s" in the "mirror" command and so might not be correct because of that. But not as many files as are incorrect. Does it set the file permissions as it backs them up? Or does it go back later and get/set the permissions after ALL of the files have been backed up?

On another note. How can I tell it to run multiple instances so that it backs up files quicker? Do I need to put "set net:connection-limit 5" in the /etc/lftp.conf file and restart my backup? Do I have to run the backup program multiple times at once? ummmm....I just noticed a command that I didn't see before for "mirror". Is "--parallel[=N]" what I am looking for? lftp is slower than using ncftp but has the ability to do some things that ncftp can't do for me, which makes lftp a better program, and I am just trying to speed things up. The initial backup is the full 80 gigs and is taking longer than ncftp did. The only thing that the local machine does is backup the remote machine. So I am trying to get it to use all of the bandwidth and processing power that it can to do the backup.
I have a full backup using ncftp, but ncftp replaced spaces in file names with "%20". So if I try to use the mirror with that backup, lftp deletes most of the files and re-downloads them with the correct file name. That is good. So basically, I am just trying to speed things up so that it downloads more that 5 gig in a 24 hour period.


Thanks
Steve



Reply via email to