Re: SSH and rsync server (tunnelling)
Lars E. D. Jensen wrote: Hi Thanks for your previous answers. Now I'm fighting with setting up ssh tunnelling with rsync Hi Just wanted to share this with other rsync through tunnelling newbies. This script will copy files from remotehostname to localhostname with permissions/ownership etc. preserved AND with encrypted transfer. This is the script I've made: ---cut--- #!/bin/bash # Sets up tunnelling, dsa key needed for ssh autologin (needs to be explicit given to the command).: ssh -i /home/rsync/.ssh/id_dsa -f -C -L 2211:remotehostname:873 [EMAIL PROTECTED] sleep 1000 # ENV var RSYNC_PASSWORD gets destroyed when this script is finish executing. Needed for rsync autologin.: export RSYNC_PASSWORD=somepassword rsync -auz --delete rsync://[EMAIL PROTECTED]:2211/www /var/www # only list files, test purposes only... # rsync rsync://[EMAIL PROTECTED]:2211/www ---cut--- The script is dependent on a rsync server running on remotehostname. I have the rsync server running through daemon tools (http://cr.yp.to/ucspi-tcp.html) with restricted access using tcprules. The script also needs to be executed on localhostname in order to work as meant to... -- Med venlig hilsen / Best regards Lars E. D. Jensen [EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Using --keep-dirlinks : recursive symlinks problem
Hello folks, trying to make use of the new --keep-dirlinks feature for a synch port; it works excellent but feels incomplete without a way for rsync to ignore recursive links. Example: # ls -la . total 6 drwxrwxr-x 2 bldmstr staff 512 Aug 16 21:42 . drwxrwxr-x 8 bldmstr staff 512 Aug 16 21:41 .. lrwxrwxrwx 1 bldmstr staff 2 Aug 20 12:07 bogus - .. if you use '--keep-dirlinks --delete' rsync goes into recursion trying to delete unexisting directory at destination. Is it possible to introduce a feature, or make it a default to ignore recursive dirlinks under --keep-dirlinks? Highly doubt this behaviour would ever be called for :) Or please kick me in the right direction for a workaround which would make --keep-dirlinks consider sane symlinks only. thanks for your time, -- Ivan S. Manida, cdev/buildmaster Sun Microsystems -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Anyone syncing database files?
Anyone syncing say 18-20gb Oracle dbf files..? Jeremy S. Loukinas -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Anyone syncing database files?
On Fri, 2004-08-20 16:43:07 -0400, Loukinas, Jeremy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]: Anyone syncing say 18-20gb Oracle dbf files..? No problem--as long as you don't try to backup hot database files. Shutdown Oracle first:) MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 _ O _ Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) ~(NEW_COPYRIGHT_LAW | DRM | TCPA)); signature.asc Description: Digital signature -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html