How do you get rsync to output a log file - don't understand the MAN pages sorry

Hi There,
Just trying to backup our web hosting server using rsync but can't figure out how to add a log file.
The MAN pages say to use the following syntax:
rsync -av --rsync-path="rsync --log-file=/tmp/rlog" src/ dest/
But when I add that log command into my call like this:
rsync -avz -e --rsync-path="rsync --log-file=/Users/username/rsync.log" ssh user@server:/home/ /Volumes/ServerVolume/webserver-backups/LIVE/home/
I get errors and the command won't run - obviously my syntax is wrong somehow.
Does anyone know how to add a log file to an rsync command?
Any help would be much appreciated.

If that second example is your specific entry then the answer is obvious.
You need to more closely follow your quotes. All quotes have to be balanced (meaning that whenever you open a set of quotes there needs to be a matching close quote).
In your case you state:
rsync -avz -e --rsync-path="rsync --log-file=/Users/username/rsync.log"
Note how your quotes are arranged... you're telling rsync that --rsync-path is "rsync --log-file=/Users/username/rsync.log", and there's no surprise that it fails.
The correct format for this would be more like:
rsync -avz -e --rsync-path="rsync" --log-file="/Users/username/rsync.log"
(although I also question the validity of the --rsync-path command... are you sure that's right? because I'm not.
Beyond that, though, the file arguments are incorrect - or, at least, there's a superflous 'ssh' command that's snuck its way in there somehow...

Similar Messages

  • When log In names are saved and all you have to do is click in the space to get a list of previous log in's. How do you get rid of those previous log in's?

    # Question
    When log In names are saved and all you have to do is click in the space to get a list of previous log in's. How do you get rid of those previous log in's?

    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    Remove saved Password(s): Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"

  • In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    Sorry, I tried to say your answer solved my question, but I guess I told it that my response to you solved it. Now that I liked it, the solved option doesn't appear.

  • New user...how do you drag or move or copy a file or folder from the desktop to an external drive?  I have tried dragging and copy/pasting.

    new user...how do you drag or move or copy a file or folder from the desktop to an external drive?  I have tried dragging and copy/pasting.

    My guess the problem you are running into is the drive is formatted for a PC as NTFS. OS X can read files from NTFS however it cannot write to it. Check the formatting on the drive, if it's NTFS then it should be reformatted to Mac OS Extended (Journaled), you can use Disk Utility to do this.
    If you still have a PC and want to share the EHD with the PC and Mac please read MacWorld's Share an external drive between a Mac and a PC article.

  • How do you get Itunes to sync an album that exists only on the iPad?

    Easy enough to sync iTunes albums to the iPad, but how about albums that currently exist only on the iPad? How do you get iTunes to import photo albums it doesn't currently know about? For example I have an app that saves it's files to an album called 'Saved'. I want iTunes to make a local computer copy during 'sync'. I was transferring files from the iPad to the computer via WiFi, but at least on my iPad, WiFi is extremely unreliable, often dropping the connection during data transfers. I finally gave up and decided to do this via USB until Apple gets their act together.

    Easy enough to sync iTunes albums to the iPad, but how about albums that currently exist only on the iPad?
    If you are transferring photos from iPhoto on your Mac, you mean the iPhoto albums that are available to select under the Photos tab for your iPad sync preferences? if so, this is a one way transfer process only - from your computer to your iPad.
    iTunes does not handle the import of photos from your iPad, which can include photos imported from a digital camera or from a digital camera's storage card with the Camera Connection Kit, or a photo saved from a received email, from a website, or by a 3rd party app that is capable of saving a photo in the same location.
    It sounds like the app developer has allowed for transferring photos saved by the app in the app's "Saved" area to your computer via an available wi-fi network that both your computer and iPad are connected to. Unless the app developer allows for saving the photos from the app's "Saved" area to the same location where a photo saved from a received email or from a website is stored, there is no way to import these photos via iPhoto or the Image Capture application on your Mac, which is used for importing photos, not iTunes.

  • How do you get JSF to output a blank td

    Hi Folks !
    I am trying to get a row output from JSF panelgrid like this:
    <td class="ruler"></td>
    f:verbatim that outputs <td> doesn't have styleClass atribute.
    Any help would be appreciated.
    thanks,
    -Sanjay

    Thanks. Is this implementation dependent ? I am using JSF 1.2 RI and when I put <h:panelGroup styleClass="ruler" />
    I get:
    <td><span class="ruler"></span></td>
    I am looking for <td class="ruler"></td>
    BTW all this to display a horizontal ruler. From css file:
    .ruler { background: #003366; height: 4; }
    thanks,

  • How do you get a refund for an app that was purchased through the new App Catalog for a WebOS app!

    Hi,
    I just purchased a Dictionary app from Palm's App Catalog, the product is listed as: English Dictionary and Thesarus by Ultralingua, Inc. and it was not something that was advertised correctly and hence is not something that I want.
    It costs a whopping $9.99 and if it was as advertised, it would have been worth the money but it is not.
    I've had Dictionaries on my Palm Devices so when I saw the first directory for the WebOs for use on Pre, I immediately got it.
    However, unlike my old Palm dictionaries, this dictionary requires you to have a network connection.  Something that is not useful for me.  I sometimes like to look up word while on the subway to work (I live in NYC) where this is no network connection.
    There was nothing in the description that said it 'required' a network connection, and considering that all of the dictionaries I have gotten in the past did not require a network connection, I assumed (since it didn't state anything) that I could use it off-line.
    Heck, since you are required to use this dictionary online, I might as well use google to lookup a word and that is free!
    So I believe I was tricked into getting this app, and I want a refund!
    And there doesn't seem to be a way to get a refund for an app that did not disclose it's requirements before I made my purchase.
    Thanks for you help in finding out how to get a refund when its needed!
    Rob
    Post relates to: Pre p100eww (Sprint)

    Palm does have the ability to remove apps remotely, that was added in the last update.
    I knew that would be Palm's response, but I earn you now, Palm better make sure they put a better description on these apps.  And in this case its Palm's fault for not disclosing that this app required network support in order to work.
    They should at least make that part of a feature description.
    This is the second app that I purchased that was not advertised correctly.  So I far I have spent good money on crap only because the descriptions did not contain the right info.
    I see the only solution is to make all apps have at least a one hour free trail, or whatever free trial you want.
    I and I'm sure I'm not alone can't keep purchasing stuff that either doesn't work as advertised or is misleading in the description.
    I mean really Palm, you approved a dictionary app that just does a google in the background and displays the definition.
    I can do that same thing by typing it on my Pre and hitting Google?
    I still feel cheated and ripped off.
    I signed up for Palm and WebOS because I wanted to give you a second chance but that love only goes so far.  I think Andriod will be in my life soon.  I can't stand by and let myself be taken advantage of.
    I just can't believe how angry and upset I AM over this.
    Rob

  • How do you get safari on your mac after its been deleted from the computer completely?

    I am using my friends old macbook and it is still in her name so how do I delete her name off of the mac and make it all my own? Safari is also not on the panel or anywhere in the folders so how do I get that?

    Open System Preferences > Sharing
    Type in the name.
    Check the Applications folder for Safari. If it's not there, click the magnyifying glass icon top right corner of your screen. Type Safari
    If it doesn't show up, you can download from here >  Safari 5.1.10 for Snow Leopard

  • TS3406 My iPhone 4S will not ring. It comes up on screen to accept or decline. How do you get rid of that so it rings and just answer the phone

    My iPhone 4S will not ring when a call comes in. It comes up on the screen to accept or decline. How do you remove that so it will ring and answer a call normal

    See Here...
    Troubleshooting applications purchased from the App Store
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Try this First... You will Not Lose Any Data...
    Turn the Phone Off... ( if it isn’t already )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Turn the Phone On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • In Pages, How can I get headers and footers to show up on more than the first page of each section?

    In Mountain Lion, I considered myself a fairly expert user of Pages. Since "upgrading" to Mavericks, I can't get even basic things to work anymore. My current problem is that the headers and footers are only showing up on the first page of each section. A related annoyance is that if I copy the information in a header or footer, all the associated formatting disappears when I paste it. But the first problem is the one that matters — headers and footers that only show up on one page sort of negate the whole point of headers and footers.

    If you click the link I posted previously, it takes you right to the Pages community.
    Here >  Pages: iWork: Apple Support Communities
    Then click New.

  • I have safari in my iPad but bookmark is not working. I can not book mark any things.  How do I get back my bookmark working so that I can open the web page I have already booked marked.  Thank you for your answer

    I have iPad 2.
    The safari bookmark was working yesterday.  Today book mark is not working.  I can not book mark anything. 
    Did I do anything to prevent stopping bookmark to store?  Please help me how to get back working my bookmark.  Thank you.

    See if this works.
    Quit the Safari app completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How do you get music and books from iTunes library to ipad?  The books are .epub files.

    I have several books and lots of music in my iTunes Library that I can't seem to sync to my iPad.  I have tried "Add File to Library" and it does not work.  Can anyone help?

    Repair your Quicktime.
    START > CONTROL PANEL > PROGRAMS N FEATURES / hightlight QUICKTIME and click CHANGE then REPAIR.

  • I have a new Macbook pro, about 2 months old, and at times running video, the fans starts and does not stop. how do you get it to stop.

    I have a new Macbookbook, about 2 months old, and at times running video, the fans starts and does not stop. how do you get it to stop. Also i am thinking once the video is done  the fan should be slowing down and getting quiet on its own.

    Your fan(s) will run at high speed (i.e., loudly) while video is playing, and you can't get around that.
    If your fans are not slowing down within 2-4 minutes after CPU- and/or GPU-intensive usage ends, and the application that was showing the video is still running, Quit that application. (In fact, if you're accustomed to Windows, you may not realize that simply closing a Mac application's window does not quit the application. You still need to use the Quit command in the application-name menu. There will always be a bright dot beside or below the application icon in your Dock for each application that is open.) Quit the ones you aren't using, and see whether that allows the fans to slow down without restarting the machine. If that doesn't do the trick, reset the SMC:
    http://support.apple.com/kb/HT3964?viewlocale=en_US&locale=en_US

  • How do you get your music from your phone to your computer

    how do you get your music from your phone to your computer?

    The Sync is One Way... From Computer To iPhone...
    Syncing with iTunes
    From Here...
    http://www.apple.com/support/iphone/syncing/
    You can however Transfer Purchases from the iPhone to your computer...
    Transfer Purchases  =  iTunes > File > Transfer Purchases
    http://support.apple.com/kb/HT1848

  • How can you get your music to download in numerical order?

    How do you get music to download in numerical order?

    Make sure the files are properly tagged in iTunes with the correct track numbering. You can check the track numbering by right->clicking on a track and choosing Get Info. Then in the GI window, click the Info tab.
    B-rock

Maybe you are looking for

  • Application manager quits and so does CC on Mac.

    Hi I can't sign in to creative cloud. It just quites and the icon disapears from the icon bar at the top. Also If I try and open one of my apps I get AAM quits unexpectedly. This has only just started happening and have been using CC and my apps fine

  • Owa_util.mime_header not working like it should

    I have written a PL/SQL procedure that functions as a report using htp and htf tags. I wish to give the user the option to display the report in MS Excel. In the procedure, I have the following line: OWA_UTIL.MIME_HEADER('application/vnd.ms-excel');

  • Table relating fields Equipment number and grouping2.

    hi all, i m making a report for T-code 'IE03' and i have to display grouping2(FGRU2) and its description in output with respect to Equipment number(EQUNR), but problem is that i m not getting the table relating to both fields. can anyone please help

  • Bringing mitigating controls from PC to AC in GRC 10.0

    Hi , I am going through remediation process in GRC 10.0, However there are no mitigation controls setup in AC. my client is asking me to copy all the mitigating controls from PC to AC. Is this possible ? if yes, What will be the process ? Thank you.

  • How to kick start SAP SRM???

    Hi SRM Gurus.., I am basically a Spend management consultant working on Ariba Analysis., now I am planning to move towards SAP SRM. Please give me tips is it is useful to future career and How to start learning SAP SRM. In particularhow to kicki star