Heya, I''ve tried going thru the archives, but it''s like looking for a needle in a haystack. I''ve also tried the man page, but I don''t understand the syntax (not a native Unix user). I''m new to rsync, and have managed to get our systems on a backup sched with rsync in the office. That works great, and all is good. My last task is to get rsync to pull the files off our webserver, located at a data center, to our backup. I can''t seem to get the syntax right for this. The inhouse looks like: rsync OPTIONS "/cygdrive/c/Docs n Settings" user@backupmachine:/cygdrive/c/backups/sourcename With ''backupmachine'' running an rsync daemon (boss set that up). This is where I am with the internet command: rsync OPTIONS /cygdrive/c/backups/sourcename2 : user@server.on.internet.com:"/cygdrive/c/Dos n Settings" Thank you for any help you can offer. Nat -- To unsubscribe or change options: lists.samba.org/mailman/listinfo/rsync Before posting, read: catb.org/~esr/faqs/smart-questions.html
On Fri, Dec 30, 2005 at 02:32:08PM -0600, Idea Works wrote:> rsync OPTIONS "/cygdrive/c/Docs n Settings" > user@backupmachine:/cygdrive/c/backups/sourcename > > With 'backupmachine' running an rsync daemon (boss set that up).If you're wanting to use an rsync daemon, change the : into :: -- a single colon accesses the machine via ssh. Also, change the text after the :: to be a module name and a path relative to the module's path. However, if the above is working for you, just get turn off the rsync daemon.> rsync OPTIONS /cygdrive/c/backups/sourcename2 : > user@server.on.internet.com:"/cygdrive/c/Dos n Settings"The remote names of an rsync command are handed off to the remote shell, which will split the name on spaces. The solutions to this are mentioned in the "spaces in filenames" topic in the FAQ on the rsync website (one of the solutions is to replace each of the spaces in that destination with a question-mark). ..wayne..