Results 1 to 6 of 6

Thread: Reading RSYNC output

  1. #1
    Join Date
    Aug 2010
    Location
    Philippines
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Reading RSYNC output

    I tell you. It is sure hard to read this rsync output until you know what you are doing [and I don't]. I've been staring at this stuff for an hour and I just can't get to a point (even after several dry runs) where I feel confident about what I'm looking at.

    So, does something like the below mean something is going to be changed or something is 'not' going to be changed?:

    Code:
      p, li { white-space: pre-wrap; }  Number of files: 10119
     Number of files transferred: 0
     Total file size: 25.23G bytes
     Total transferred file size: 0 bytes
     Literal data: 0 bytes
     Matched data: 0 bytes
     File list size: 205.15K
     File list generation time: 0.076 seconds
     File list transfer time: 0.000 seconds
     Total bytes sent: 235.87K
     Total bytes received: 30.72K
     
     sent 235.87K bytes  received 30.72K bytes  11.85K bytes/sec
     total size is 25.23G  speedup is 94637.21 (DRY RUN)
    And in case you really want to see the whole thing I put it in Pastebin here:
    http://pastebin.com/Sjcev00A

    Anyone know of any line by line explanations of rsync output. Or anyone willing to help me with the 'key' lines that I should paying attention to?

    What I'm 'looking' for is something that tells me that 'these' files are the ones that will be added or deleted (shows me a visual of why rsync thinks the two files are different).

    Thanks.
    Last edited by tg3793; March 21st, 2011 at 02:37 PM.
    ~ It has recently been discovered that research causes cancer in rats. ~

    BTW; I'm using Linux Mint (based on Precise) with MATE so modify Q/A accordingly if applicable.

  2. #2
    Join Date
    Aug 2007
    Location
    Hull, East Yorkshire, UK
    Beans
    303
    Distro
    Xubuntu Development Release

    Re: Reading RSYNC output

    If you want to see a list of files that are to be changed etc. I seem to think the unison package [in repos] which is a gui front end for rsync may be what you are looking for.
    Sony Vaio VGN-NS11J Laptop 2x Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 3 GB RAM, 320GB HD. My Linux Blog and My Folding@Home Stats

  3. #3
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Reading RSYNC output

    Try running rsync with the -nv switches so you can see the changes that will be made

    i.e.

    Code:
    rsync -runv /source /destination > rsync-output
    gedit rsync-output
    Then if all looks good, remove the -n switch to run for real

  4. #4
    Join Date
    Aug 2010
    Location
    Philippines
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Reading RSYNC output

    I'm running the dryrun switch already:

    Code:
    rsync -nh --progress --stats -r -tgo -p -l -D --update /home/scribe/Tin/J/Audio/ /media/SignatureMini/J/Audio/
    But I'll try your line of switches and see if I get something a little better than what I have now.

    - - - - - - - - - - -

    I'll also try Unison and see how that looks. When I was reading about Unison I didn't consider it as seriously because I didn't see it being recommended by anyone since 2007 or 2008.
    Last edited by tg3793; March 21st, 2011 at 02:11 PM.
    ~ It has recently been discovered that research causes cancer in rats. ~

    BTW; I'm using Linux Mint (based on Precise) with MATE so modify Q/A accordingly if applicable.

  5. #5
    Join Date
    Mar 2007
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Reading RSYNC output

    Code:
     Number of files: 10119
     Number of files transferred: 0
     Total file size: 25.23G bytes
     Total transferred file size: 0 bytes
    In case you hadn't found the answer yet (and for others asking the same questions:

    The 4 lines above are the most important lines. They tell you, in order:
    1. The total number of files rsync considers in the backup set (on the source)
    2. The number of files it found which were (or would be if using -n) transferred)
    3. The total size of all the files in the backup set (ie 10119 files totalling 25.23G)
    4. The total size of the files transferred.

    In this case, nothing would have been transferred, even without a dry-run

  6. #6
    Join Date
    Aug 2010
    Location
    Philippines
    Beans
    143
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Reading RSYNC output

    Quote Originally Posted by AbsolutIggy View Post
    Code:
     Number of files: 10119
     Number of files transferred: 0
     Total file size: 25.23G bytes
     Total transferred file size: 0 bytes
    In case you hadn't found the answer yet (and for others asking the same questions:

    The 4 lines above are the most important lines. They tell you, in order:
    1. The total number of files rsync considers in the backup set (on the source)
    2. The number of files it found which were (or would be if using -n) transferred)
    3. The total size of all the files in the backup set (ie 10119 files totalling 25.23G)
    4. The total size of the files transferred.

    In this case, nothing would have been transferred, even without a dry-run
    Thanks for the tip. Sadly I wasn't able to get this worked out before I got pulled away in some other direction. ... I 'will' get back to this; hopefully before I have any data loss <sigh> :-)
    ~ It has recently been discovered that research causes cancer in rats. ~

    BTW; I'm using Linux Mint (based on Precise) with MATE so modify Q/A accordingly if applicable.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •