Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. nbsnapreplicate
Veritas NetBackup™ Commands Reference Guide

Name

nbsnapreplicate — initiate snapshot replication on a storage server

SYNOPSIS

nbsnapreplicate -backupid backup_id | -Bidfile filepath -cn copy_number -rcn replicate_copy_number -slpname policy_name -stunit storage_unit [-mediaServer media_server] [-priority number] [-v]

 

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/admincmd/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\admincmd\

DESCRIPTION

The nbsnapreplicate command allows a copy of a backup to be created.

This command can be run only on the master server.

Use nbsnapreplicate to create up to 10 copies of unexpired backups.

OPTIONS

-backupid backup_id

Specifies the backup ID of a single backup to replicate.

-Bidfile file_name

file_name specifies a file that contains a list of backup IDs to be replicated. List one backup ID per line in the file. If this parameter is specified, other selection criteria are ignored.

Also, file_name is removed during the execution of that command line interface (CLI), because the NetBackup GUIs commonly use this parameter. They expect the CLI to remove the temporary file that was used for the -Bidfile option upon completion. Direct CLI users can also use the option; however, it removes the file.

-cn copy_number

Determines the copy number to replicate. Valid values are 1 through 10. The default is 1.

-mediaServer media_server

Specifies the media server.

-priority number

Sets a backup policy to run at a lesser or a higher priority than disk staging duplication.

-rcn replicate_copy_number

Specifies the copy number of the snapshot replication. The copy number is the operation index value of the storage lifecycle policy replication operation plus 100.

-slp_name policy_name

Specifies the storage lifecycle policy name of the duplicated file.

-stunit storage_unit

Specifies the storage unit.

-v

Selects the verbose mode. When you specify the debug logs or progress logs, the output includes more information.

EXAMPLES

Example 1 - List backups with a copy number of 1. They were backed up by the policy that is named stdpol, and created between July 1, 2009, and August 1, 2009.

# nbsnapreplicate -cn 1

Example 2 - Create a duplicate copy of the backup IDs in file name plum. It duplicates copy 1 to copy 5 on storage unit Tape_stu of pool Pool1.

# nbsnapreplicate -Bidfile plum dstunit Tape_stu -dp Pool1 -cn 1 -dcn 5

FILES

UNIX systems:

/usr/openv/netbackup/logs/admin/*
/usr/openv/netbackup/db/images/*

Windows systems:

install_path\NetBackup\db\images\*
install_path\NetBackup\logs\admin\*

Feedback

Was this page helpful?
Previous

nbsnapimport

Next

nbsqladm

Feedback

Was this page helpful?