cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use bpgetconfig -e

Rene_Verhaeghe
Level 3

hello.

 

My environment is the following: Master server on HP-UX, client on Linus, both in version 7.1.0.4 of Netbackup.

I want to obtain the list of excluded and included directories for the backup.

I have started with a client where there are exclusion files created, and which create no backups problems.

 

When I try to execute a bpgetconfig from the master server, user root, the command works:

 

bpgetconfig bpecc0002vz.unix.banksys.be

Warning, unknown configuration item (bpecc0002vz.unix.banksys.be)

SERVER = padme.unix.banksys.be

SERVER = doc2.unix.banksys.be

SERVER = grumpy.unix.banksys.be

SERVER = sleepy2.unix.banksys.be

SERVER = spnpc0001db.unix.banksys.be

SERVER = spnpc0002db.unix.banksys.be

SERVER = sppci0001db.unix.banksys.be

SERVER = sppci0002db.unix.banksys.be

SERVER = bill.unix.banksys.be

SERVER = boule.unix.banksys.be

SERVER = bashful.unix.banksys.be

SERVER = bashful2.unix.banksys.be

SERVER = bashful3.unix.banksys.be

SERVER = bdgpn0001db.unix.banksys.be

SERVER = bpcoc0001db.unix.banksys.be

SERVER = bqcoc0002db.unix.banksys.be

SERVER = bpdwh0002db.unix.banksys.be

SERVER = bqerp0002db.unix.banksys.be

SERVER = dopey.unix.banksys.be

SERVER = dopey2.unix.banksys.be

SERVER = happy.unix.banksys.be

SERVER = happy2.unix.banksys.be

SERVER = happy3.unix.banksys.be

SERVER = sneezy.unix.banksys.be

SERVER = sneezy2.unix.banksys.be

SERVER = snowhite.unix.banksys.be

SERVER = snowhite2.unix.banksys.be

SERVER = bpods0003db.unix.banksys.be

SERVER = bpods0004db.unix.banksys.be

SERVER = rock.alpha.banksys.be

SERVER = bpdwh0001db.unix.banksys.be

SERVER = bpdwh0003db.unix.banksys.be

SERVER = bpdwh0004db.unix.banksys.be

SERVER = bpgpp0003db.unix.banksys.be

SERVER = bpgpp0004db.unix.banksys.be

SERVER = bpfdr0003db.unix.banksys.be

SERVER = bpfdr0004db.unix.banksys.be

SERVER = dune.unix.banksys.be

SERVER = bqgpn0001db.unix.banksys.be

SERVER = bqgpn0002db.unix.banksys.be

SERVER = bpgpn0004db.unix.banksys.be

SERVER = bpfrm0002db.frm.meshcore.net

SERVER = bqfrm0002db.frm.meshcore.net

SERVER = bqfrm0001db.frm.meshcore.net

SERVER = bpfrm0001db.frm.meshcore.net

SERVER = sppci0003db.unix.banksys.be

SERVER = spfrm0002db.frm.meshcore.net

SERVER = spfrm0001db.frm.meshcore.net

SERVER = bebrvmg196.winad.be

SERVER = bpgpn0003db.unix.banksys.be

SERVER = bqerp0001db.unix.banksys.be

SERVER = spnpc0003db.unix.banksys.be

SERVER = bpcoc0002db.unix.banksys.be

SERVER = bqcoc0001db.unix.banksys.be

SERVER = darkvador.unix.banksys.be

KNOWN_MASTER

MASTER_OF_MASTERS

USEMAIL

BPBACKUP_POLICY = any

BPBACKUP_SCHED = any

BPARCHIVE_POLICY = any

BPARCHIVE_SCHED = any

CLIENT_NAME = padme.unix.banksys.be

REQUIRED_INTERFACE

COMPRESS_SUFFIX

BELIEVE_MOUNTS = NO

VERBOSE = 0

BPDBM_VERBOSE = 0

BPRD_VERBOSE = 0

BPSCHED_VERBOSE = 0

BPBRM_VERBOSE = 0

BPTM_VERBOSE = 5

BPDM_VERBOSE = 5

VAULT_VERBOSE = 0

NBPROXY_VERBOSE = 0

MAXFILELIST_ALLOWED_FOR_DISPLAY = 50

SectorsPerBuffer = 32

PEM_VERBOSE = -1

JM_VERBOSE = -1

RB_VERBOSE = -1

MEGABYTES_OF_MEMORY = 0

RESTORE_RETRIES = 2

RESTORE_PRIORITY = 99999

MUST_USE_LOCAL_DRIVE = NO

RE_READ_INTERVAL = 300

LOCKED_FILE_ACTION = WAIT

SERVER_CONNECT_TIMEOUT = 150

CLIENT_CONNECT_TIMEOUT = 600

CLIENT_READ_TIMEOUT = 600

APOLLO_RESTORE_TIMEOUT = 0

BPSTART_TIMEOUT = 300

BPEND_TIMEOUT = 300

LIST_FILES_TIMEOUT = 1800

MAX_APOLLO_RESTORE_ARG_CHARS = 9000

ALLOW_MEDIA_OVERWRITE = DBR

ALLOW_MEDIA_OVERWRITE = TAR

ALLOW_MEDIA_OVERWRITE = CPIO

ALLOW_MEDIA_OVERWRITE = ANSI

ALLOW_MEDIA_OVERWRITE = AOS/VS

ALLOW_MEDIA_OVERWRITE = MTF1

ALLOW_MEDIA_OVERWRITE = RS-MTF1

ALLOW_MEDIA_OVERWRITE = BE-MTF1

KEEP_DATABASE_COMM_FILE = NO

ORACLE_HOME

INFORMIX_HOME

SYBASE_HOME

EXCHANGE_HOME

SQL_SERVER_HOME

SAP_HOME

DB2_HOME

NDMP_HOME

MEDIA_ID_PREFIX

DISABLE_STANDALONE_DRIVE_EXTENSIONS = NO

ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA = NO

DISALLOW_BACKUPS_SPANNING_MEDIA = NO

MEDIA_REQUEST_DELAY = 0

MEDIA_UNMOUNT_DELAY = 180

MAX_VAULT_JOBS = 50

MPX_RESTORE_DELAY = 30

DISABLE_JOB_LOGGING = NO

DISALLOW_SERVER_FILE_WRITES = NO

DO_NOT_RESET_FILE_ACCESS_TIME = NO

USE_CTIME_FOR_INCREMENTALS = NO

BUSY_FILE_PROCESSING = NO

BUSY_FILE_DIRECTORY

BUSY_FILE_NOTIFY_USER = root

BUSY_FILE_ACTION

LIMIT_BANDWIDTH

THROTTLE_BANDWIDTH

INITIAL_BROWSE_SEARCH_LIMIT = 0

ALLOW_NON_RESERVED_PORTS = YES

CRYPT_KEYFILE

CRYPT_LIBPATH

CRYPT_OPTION = ALLOWED

CRYPT_STRENGTH = DES_40

CRYPT_CIPHER = AES-128-CFB

CRYPT_KIND = NONE

CRYPT_ALTAES = NO

DISALLOW_CLIENT_LIST_RESTORE = NO

DISALLOW_CLIENT_RESTORE = NO

ALLOW_BLOCK_INCREMENTALS = NO

FORCE_RESTORE_MEDIA_SERVER = bpcoc0001db.unix.banksys.be bqcoc0002db.unix.banksys.be

FORCE_RESTORE_MEDIA_SERVER = bpgpn0003db.unix.banksys.be bqgpn0001db.unix.banksys.be

FAILOVER_RESTORE_MEDIA_SERVERS

NEARSTORE_FAILOVER_SERVER

ALLOW_NDMP = NO

ALLOW_ENCRYPTION = NO

ALLOW_FLASHBACKUP = NO

NFS_ACCESS_TIMEOUT = 5

USE_CTIME_FOR_DIRECTORY_INCRS = NO

AUTO_CORRECT_POLICY = YES

SERVER_SENDS_MAIL = NO

Debug_Database = 0

ALLOW_DISASTER_RECOVERY = NO

KEEP_LOGS_DAYS = 3

ENABLE_ROBUST_LOGGING = NO

PREFERRED_GROUP

AUTHORIZE_SERVER

RANDOM_PORTS = YES

LOTUS_NOTES_PATH

LOTUS_NOTES_INI

LOTUS_NOTES_LOGCACHEPATH

LOTUS_NOTES_LOGCACHESIZE = 0

LOTUS_NOTES_USERID

LOTUS_NOTES_EXECDIR

CLIENT_RESERVED_PORT_WINDOW = 512 1023

SERVER_RESERVED_PORT_WINDOW = 512 1023

CLIENT_PORT_WINDOW = 0 0

SERVER_PORT_WINDOW = 1025 5000

ALLOW_TPC = NO

CONNECT_OPTIONS = localhost 1 0 2

DEFAULT_CONNECT_OPTIONS = 0 1 0

ACCEPT_PORT = AUTOMATIC

REQUEST_DELIVERY_TIMEOUT = 300

MEDIA_SERVER

DISABLE_SCSI_RESERVE = NO

Time_Overlap = 60

Buffer_Size = 16

Use_Archive_Bit = YES

Perform_Default_Search = YES

Accumulate_Files = NO

User_Directed_Timeout = 60

Announce_DHCP_Interval = 0

Clear_Archive_Bit_Incr_Wait = 300

Exclude

Include

Browser

Clients

Port_BPCD = 13782

Port_BPRD = 13720

Debug_Flush = 0

Debug_Heap = 0

Debug_Level = 0

Debug_TCP = 0

OTM_Cache_Control = 0

OTM_Cache_File

OTM_Cache_Size_Init = 10

OTM_Cache_Size_Max = 50

OTM_Error_Control = 0

OTM_Logging = 0

OTM_Quiescent_Wait = 5

OTM_Quiescent_Timeout = 60

OTM_Current = NO

OTM_Exclude = 0

OTM_Sync_Timeout = 60

OTM_Use = YES

VSP_CacheVols

VSP_Exclude

VSP_Cache_Size_Init = 30

VSP_Cache_Size_Max = 30000

VSP_Error_Control = 0

VSP_Logging = 0

VSP_Quiescent_Wait = 5

VSP_Quiescent_Timeout = 300

VSP_Current = YES

VSP_Sync_Timeout = 60

VSP_Use = YES

Error_Messages_Max = 10

Policy_Type = 0

Client_Version = 31

Case_Sensitive_Exclude_List = NO

Compress_Use = 0

Compress_Buffer_Size = 62

Compress_Minimum_Size = 512

NW_Migrated_Files = NO

NW_Uncompress = NO

EXCHANGE_MAILBOX

SHAREPOINTV2_USERID

SHAREPOINTV2_PASSWORD

SHAREPOINTV2_PASSWORD_KEY

SHAREPOINTV2_DBCC_CHK_PREBKUP = 0

SHAREPOINTV2_DBCC_CONT_ONERR = 1

SHAREPOINTV2_DBCC_CHK_POSTBKUP = 0

Cluster_Database_Force_Restore = NO

ChangeJournalUse = NO

GENERATE_ENGLISH_LOGS = NO

KEEP_VAULT_SESSIONS_DAYS = 10

KEEP_JOBS_SUCCESSFUL_HOURS = 78

KEEP_JOBS_HOURS = 78

BPDBJOBS_COLDEFS

DB_PORT = 13784

ENABLE_PERFORMANCE_DATA_COLLECTION = YES

CHECKSUM1

CHECKSUM2

DASHBOARD_PORT_WINDOW = 0 0

UNLINK_ON_OVERWRITE = NO

SKIP_RESTORE_TO_SYMLINK_DIR = NO

CHECK_RESTORE_CLIENT = NO

INCOMPLETE_JOB_CLEAN_INTERVAL = 7

EXCHANGE_ENABLE_SIS = NO

EXCHANGE_TRUNCATELOGS_IR = NO

EXCHANGE_BACKUP_REPLICA = 0

EXCHANGE_ESEUTIL_THROTTLE = 0

EXCHANGE_VSS_BACKUP_ALL_LOGFILES = YES

BPTM_MEDIA_HEADER_READ_SIZE = 64

IGNORE_XATTR = NO

USE_FILE_CHG_LOG = NO

NDMP_DAR_ENABLED = YES

OLD_VNETD_CALLBACK = NO

RESOURCE_MONITOR_INTERVAL = 600

VERSIONINFO = "HP-UX" "B.11.31" "Unknown" "NetBackup" "7.1" 710000

INCOMPLETE_BKUP_JOB_CLEAN_INTERVAL = 3

DSSU_RELOCATION_MAX = 1000

RESUME_ORIG_DUP_ON_OPT_DUP_FAIL = NO

AUTHENTICATION_DOMAIN

AUTHORIZATION_SERVICE = _NONE_ 0

USE_VXSS = PROHIBITED

VXSS_NETWORK

VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY

PREFERRED_NETWORK

VSP_Auto_Size = YES

VSP_Cache_Percentage = YES

VSP_Max_Percentage = YES

GRFS_ADVERTISED_NAME

SPS_REDIRECT_ALLOWED

SPC_SERVER

SPC_WEB_SERVER

DEFAULT_SNAPSHOT_CACHE

CLUSTER_NAME

ANY_CLUSTER_INTERFACE = NO

EMMSERVER = padme

EMMPORT = 1556

EMMORBOPTIONS

REQUIRED_NETWORK

SSOD_CONFIG_SERVER

SANCLIENT = 0

NONBLOCKINGPL = 0

FIREWALL_IN

FIREWALL_OUT

VXDBMS_NB_DATA = /usr/openv/db/data

VXDBMS_NBDB_BACKUP_OWNER = YES

VXDBMS_NB_CONF

TRUST_SERVER_CLIENT_NAME = NO

BMR_COLLECT_INFO_TIMEOUT = 0

NBRB_REEVAL_PERIOD = 300

NBRB_FORCE_FULL_EVAL = 1800

NBRB_REEVAL_PENDING = 60

NBRB_RETRY_DELAY_AFTER_EMM_ERR = 60

NBRB_MPX_GROUP_UNLOAD_DELAY = 10

NBRB_CLEANUP_OBSOLETE_DBINFO = 60

NBRB_ENABLE_OPTIMIZATIONS = 1

OPEN_NBSL_NBNOS = 0

FSE_PORT = 0

REVERSE_NAME_LOOKUP = ALLOWED

VNET_OPTIONS = 120 3600 200 40 3 1 30 5 1793 32 0 0

JOB_PRIORITY = 0 0 90000 90000 90000 90000 85000 85000 80000 80000 80000 80000 75000 75000 70000 70000 50000 50000 0 0 0 0 0 0

NDMP_CLIENT

DISK_CLIENT

VM_PROXY_SERVER

MAX_CORBA_PAYLOAD_SIZE = 262144

KMS_DIR = /usr/openv/kms

LOCAL_CACHE = UNSPEC

NBFSD_STAGING_DIR

GRANULAR_DUP_RECURSION = 999

AUTO_LOGOFF_TIMEOUT = 0

ENTERPRISE_VAULT_USERID

ENTERPRISE_VAULT_PASSWORD

ENTERPRISE_VAULT_PASSWORD_KEY

ENTERPRISE_VAULT_DBCC_CHK_PREBKUP = 0

ENTERPRISE_VAULT_DBCC_CONT_ONERR = 1

ENTERPRISE_VAULT_DBCC_CHK_POSTBKUP = 0

EXCHANGE_USERID

EXCHANGE_PASSWORD

EXCHANGE_PASSWORD_KEY

EXCHANGE_PERFORM_CONSISTENCY_CHECK = YES

EXCHANGE_IGNORE_CC = YES

ENTERPRISE_VAULT_REDIRECT_ALLOWED

PERFORM_CONSISTENCY_CHECK = YES

CONTINUE_BACKUP_ON_FAILURE = YES

DDNS_RANGE

OPS_CENTER_SERVER_NAME = bebrvmg196.winad.be

FAST_CONFIGURED_CLIENT = YES

ORACLE_METADATA = NO

KEEP_DBM_IMAGECHANGELOG_DAYS = 7

HOST_CACHE_PATH

HOST_CACHE_TTL = 3600

HOST_CACHE_RESYNC_INTERVAL = 900

HOST_CACHE_RESYNC_TIMEOUT = 120

NETBACKUP_APPLIANCE_MODE = NOT_APPLIANCE

CLIENT_KEEP_LOG_DAYS = 0

IP_ADDRESS_FAMILY = AF_INET

ALLOW_LINK_LOCAL_APIPA_ADDRS = 0

When I use the command with and -e to obtain the exclude list data, it fails always (save user root):

-bash-3.2# bpgetconfig -e xxx.txt bpecc0002vz.unix.banksys.be

file read failed

 

All the standard poàrts between master ad client are opened. Furthermore, port 22 is opened on both direction.

What could be the cause of this problem?

 

6 REPLIES 6

Andy_Welburn
Level 6

When I try to execute a bpgetconfig from the master server, user root, the command works:

bpgetconfig bpecc0002vz.unix.banksys.be

Warning, unknown configuration item (bpecc0002vz.unix.banksys.be)

It's not actually working as you think - it's pulling the info from the master & complaining about the "option" "bpecc0002vz.unix.banksys.be". If you ran the command again without that "option" you would get the same result.

 

Unfortunately I'm not in a position to check the correct syntax, but the command does require administrator privileges to run

revarooo
Level 6
Employee

It's working perfectly. You just don't have an exclude list on the client, hence the "file read failed"

see my test below which proves this by using a test WITH an exclude_list and WITHOUT

 

 

# more /usr/openv/netbackup/exclude_list
/tmp
/proc


# bpgetconfig -e xxx.txt testmaster
# cat xxx.txt
/tmp
/proc

# rm /usr/openv/netbackup/exclude_list
# bpgetconfig -e xxx.txt testmaster
file read failed
 

Rene_Verhaeghe
Level 3

No, I have checked before and there are non-mety exclude list:

 

[a113394@bpecc0002vz ~]$ ls /usr/openv/netbackup/ex*.*

/usr/openv/netbackup/exclude_list.class_u_bas2_pcip_bxl.diffbkps /usr/openv/netbackup/exclude_list.class_u_bas2_pcip_bxl.fullbkps

[a113394@bpecc0002vz ~]$ cat /usr/openv/netbackup/ex*.*

/eccs_app

/eccs_data

/eccs_app

/eccs_data

[a113394@bpecc0002vz ~]$

 

But these are policy exclude list. It works when I do:

bpgetconfig -e xxx.txt bpecc0002vz.unix.banksys.be class_u_bas2_pcip_bxl.diffbkps

 

It is not what I expected (I hoped to obtain all the exclude list in one operation), but it will do.

Thank you for your hint.

revarooo
Level 6
Employee

Lets see: ls -l /usr/openv/netbackup/ex*

 

Will_Restore
Level 6

bpgetconfig -e xxx.txt bpecc0002vz.unix.banksys.be

file read failed

 

It works when I do:

bpgetconfig -e xxx.txt bpecc0002vz.unix.banksys.be class_u_bas2_pcip_bxl.diffbkps

 

Yes, this is the way the command works -  if no policy.schedule parameter it expects a file named 'exclude_list' (no suffix).  You can try the following to confirm this behaviour.

 

# cd /usr/openv/netbackup

# cp exclude_list.class_u_bas2_pcip_bxl.diffbkps  exclude_list

# bpgetconfig -e xxx.txt bpecc0002vz.unix.banksys.be

 (this works since it finds expected filename)

 

revarooo
Level 6
Employee

ah I misread the above post. Yes that makes sense.