Forum Discussion

TP81's avatar
TP81
Level 2
8 years ago

Netbackup Backup Replication

Hi, I have 2 Windows 2012 R2 Servers in different domains running NBU 7.6 Master Server on each.  I am trying to replicate a backup from one server to the other so that if one server goes down, there is a full backup on the other.  I have tried using AIR to achieve this but I don't seem to be getting the full image copied over to the other server, I understand that it uses dedupe so any data that is already on the server won't be copied, but even after the first backup the amount of data replicated is nowhere near what was backed up.  The backup job and replication job both show as successfully completed on one server and the import shows as successful on the other.

I did follow the guide here:http://www.settlersoman.com/how-to-configure-netbackup-auto-image-replication-air/ as I could not see any official veritas guide.

Is there something wrong with this setup or is there another way to do what I want?

  • Gosh - I'm being a doughnut... the replication job shows c. 665MB replicated.  The import size is just the image header, and so only reports a token amount of meta-data.

    To me, your backup and replication and import jobs all look totally fine.  That's the wonders of dedupe.

    20.2GB of the original file data must have been seen before by both sites.

11 Replies

Replies have been turned off for this discussion
  • If you could attach, as text files, the activity monitor detail for the backup job, the replication job, and the import job... then we can supply you with some commands to validate the backup images.

    Please don't copy/paste the activity monitor text in to a reply.  Thanks.

      • sdo's avatar
        sdo
        Moderator

        All looks good so far.


        From the backup job:
        image: ted_1295970329
        scanned: 20971536 KB, CR sent: 665467 KB, CR sent over FC: 0 KB, dedup: 96.8%
        ...size: 20,971,536 = about 20.8 GB
        ...new data: 665,467 = about 0.6 GB
        ...same data: = about 20.2 GB

        Replication job:
        image: ted_1295970329
        scanned: 20971536 KB, CR sent: 665211 KB, CR sent over FC: 0 KB, dedup: 96.8%
        ...very similar numbers.

        Import job:
        Image: ted_1295970329
        read: 8 KB, CR received: 2 KB, CR received over FC: 0 KB, dedup: 0.0%
        ...does look odd, but if the receiving/importing site already had a copy of nearly all of the 665MB of data that was once new at the original backup domain / site, then this is entirely normal.


        The image date appears to be:
        # bpdbm -ctime 1295970329
        1295970329 = Tue Jan 25 07:45:29 2011
        ...which looks oddly/remarkably old.

        Try these commands on both masters:

        # bpclimagelist -U -Listseconds -client ted -s 01/01/1970 00:00:00 -ct 13
        
        # bplist -B -l -c -t 13 -C ted -s 25/01/2011 07:45:29 -e 25/01/2011 07:45:29 -R 999 -I -PI *

         

        Of course, the acid test is always to perform a restore in the second NetBackup domain, and MD5/SHA256 checksum both files (original and restored), or even manually copy over the original and then diff / fc the two files.