On Tue, Feb 15, 2005 at 10:27:25AM -0600, Steve Buehler wrote: > 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?
mirror sets permissions after all files in a directory has been transferred. If you want to copy all file attributes, use mirror -a (it is equivalent to --allow-chown --allow-suid --no-umask). > 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? Yes, exactly. There is also --use-pget=N option to transfer a single file with several connections. You can use both options at once. -- Alexander.
