NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

winger's avatar
winger
Tutor
Sep 21, 2011

How does RSYNC "verify" integrity of a backup???

I have performed a factory reset my ReadyNAS Pro Pioneer (RNPP) unit. and now want to ensure the restore of the original data from an external USB drive (connected to the NAS' USB port) is copied without any data corruption. I am trying to confirm color=#0000FF]whether RSYNC is a good tool to use to verify the copied data's integrity[/color].

I have ready many posts that suggest using RSYNC to verify a backup. One such example:

viewtopic.php?f=66&t=51339&p=292769

mdgm wrote:
...

After doing the backup to the USB disk you can verify it using a Rsync backup to USB disk


My questions are:'
1) After the initial restore to the RNPP unit (using FrontView's backup job, Source=Share-USBDrive; Target=Share-RNPP Share Drive), I set the backup type to RSYNC.

Do I then perform a FULL backup again?

2) The expectation is nothing changes during this first RSYNC backup. Question - so, how does RSYNC actually verify the backup? Does it to a byte-for-byte comparison or just a date/time comparison?

23 Replies

Replies have been turned off for this discussion
  • TeknoJnky wrote:
    I have no way to verify if it did or didn't work, but putting --checksum in the rsync exclusion fields didn't cause any errors and in theory would be passed along to the backup job command line


    I no files which only differs by a couple of bits, but gave this a test run with a Share that has approx 1.5GB of data (unchanged between source (NAS) and backup target (USB HDD) )

    Main difference I see is between the "sent xxxxx bytes" figure
    with "--checksum" : 113875
    without "checksum" : 113859

    Does this tell one way or another if adding the "--checksum" into the "Add files and directories to be excluded as a comma separated list" field (of the backup's Rsync settings) works ?


    --------------------------------------------------------------------------------
    WITH --CHECKSUM
    INCREMENTAL Backup started. Sat Sep 24 10:34:25 PDT 2011

    Job: 001
    Protocol: rsync
    Source: [Datatest]/
    Destination: 192.168.0.200::USB_HDD_1/backups/Datatest


    sending incremental file list

    sent 113875 bytes received 246 bytes 228242.00 bytes/sec
    total size is 1529466744 speedup is 13402.15


    Backup finished. Sat Sep 24 10:34:25 PDT 2011

    --------------------------------------------------------------------------------
    WITHOUT --CHECKSUM
    INCREMENTAL Backup started. Sat Sep 24 10:33:42 PDT 2011

    Job: 001
    Protocol: rsync
    Source: [Datatest]/
    Destination: 192.168.0.200::USB_HDD_1/backups/Datatest


    sending incremental file list

    sent 113859 bytes received 246 bytes 228210.00 bytes/sec
    total size is 1529466744 speedup is 13404.03


    Backup finished. Sat Sep 24 10:33:42 PDT 2011
  • Winger - I like many others was basing my comment on apparent incorrect information.

    Thank you for opening up this discussion to clarify the situation.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More