Force NBSERVER setting in an MSSQL Intelligent policy batch file
Hello I have a new Netbackup 5250 appliance that is taking backups for a Production and Lab environment. The Management Interface of the Appliance is configured in the Production environment. The Appliance has different NICs configured on the Prod and Lab networks for backup payload data. I have a problem with Lab MSSQL intelligent policies that wants to use the Production Management Interface for backups. Since the Lab network does not have access to the Prod network, the Lab MSSQL client cannot be backed up using the Management Interface of the Appliance. I was able to grab the .bch file that is auto-generated on the client to see the NBSERVER setting and it is the Appliance Prod hostname. So my question is, is it possible to force/override the NBSERVER setting in the autogenerated .bch file for Intelligent MSSQL Policies? The same client is able to be backed-up in a regular Windows policy since it is using the right hostname of the Appliance. Example in the auto-generated .bch file: Instead of, NBSERVER = "Prod5250hostname" (this is the autogenerated config right now) I want NBSERVER = "Lab5250hostname" (same appliance but different network interface) I could create a DNS entry in the Lab DNS server to point to the IP of the Appliance Lab interface, but I would like to avoid that. Thank you.983Views0likes3CommentsBackup timestamp not getting updated in SQL Studio for VMware SQL aware backups
Hello, We are taking a SQL aware VMware snapshot backup for a SQL VM and the backups/restores are all runnign fine. But the timestamp for the backup date in the SQL studio is not getting updated. It is still reflecting an old date when it was backed up via Avamar which is stopped now as we moved to netbackup and used snapshot backups. Has anyone any idea how to fix this? How can NBU inform SQL that the DB has been backed up and it can update the timestamp? NBU version - 8.3 SQL version - Microsoft SQL Server Enterprise 2014 DBA is running the below query to fetch the backup timestamp: SELECT CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server, msdb.dbo.backupset.database_name, MAX(msdb.dbo.backupset.backup_finish_date) AS last_db_backup_date FROM msdb.dbo.backupmediafamily INNER JOIN msdb.dbo.backupset ON msdb.dbo.backupmediafamily.media_set_id = msdb.dbo.backupset.media_set_id WHERE msdb..backupset.type = 'D' GROUP BY msdb.dbo.backupset.database_name ORDER BY msdb.dbo.backupset.database_name and it doesnt provide the updated backup time for the backup taken by Netbackup.629Views0likes1CommentSQL error in Netbackup Opscenter 8.3
Hello All, We use some custom reporting scripts in our netbackup infra created by Veritas professional services few years back. We were using NBU 7.7 at that time. Over the years we have upgraded to 8, 8.1, 8.2 and we didnt face any issues with the reporting. Today, we upgraded to netbackup to 8.3 including opscenter and now the scripts are no longer running. We are getting error as below. Wed Nov 4 09:20:01 2020 [REPORT_CONFIG] return=dbisql ERROR: Cannot find the language resource file (dblgen17.res). Wed Nov 4 09:20:01 2020 [REPORT_CREATION] problem in SQL I searched for the file - dblgen17.res and it is present in the same location. I assumed may be the version is new for 8.3. So replaced it with the old version in 8.2 but still the same error. Has anyone faced this issue or any idea how to fix it?Solved1.3KViews0likes1CommentRestore encrypted SQL database on another server
Hi folks! Recently we applied TDE (Transparent Data Encryption) on some of our SQL databases on an SQL server. Netbackup policies keep working troublefree both for Full and Incremental Backups. Now, we need to perform a restore of one of these databases onto another SQL server where the TDE has been applied as well. I try to make the restore but I got the error with status 2828. Can someone guide me on how to do the restore? Thank you all in advance for the support.Solved3.4KViews0likes3CommentsSQL query - Backup policy report
Hi, I'm trying to get a report with the following fields "Policy Name" "GB Written" "Master Server" I tried to get the report by 2 ways SELECT distinct d.policyName AS "Policy Name", CAST(SUM(d.sizeOfImageInKBytes)/1024/1024/1024 AS DEC(8,2)) AS "GB Written", m.masterServerName AS "Master Server" FROM domain_image d, nom_NBJob m WHERE DATEDIFF(day,UTCBigIntToNomTime(d.writeEndTime), GETDATE()) <= 1 AND d.masterServerId=nom_NBJob.masterServerId GROUP BY d.policyName, m.masterServerName ORDER by 1 SELECT distinct d.policyName AS "Policy Name", CAST(SUM(d.sizeOfImageInKBytes)/1024/1024/1024 AS DEC(8,2)) AS "GB Written", m.masterServerName AS "Master Server" FROM domain_image d INNER JOIN nom_NBJob AS m ON d.masterServerId=m.masterServerId AND DATEDIFF(day,UTCBigIntToNomTime(d.writeEndTime), GETDATE()) <= 1 AND d.backupStatus=0 GROUP BY d.policyName, m.masterServerName ORDER by 1 But both queries are taking much time to get the information, is there a way to improve the performance of the query or another query to get the required information?599Views0likes0CommentsBackup failing with error 41 (SQL)
When attempting to take backup SQL from server as full backup it finishes successfully, and after that when attampting to take backup diffrential backup from the same server it failes with error 41 "network connection timed out". and the data base is stripped in to 4 stripes.614Views0likes1CommentMS SQL 2005 Full and Log backups at the same time.
Hello, Im in the process of testing and implementing the Netbackup 7.1 Enterprise solution in our enviroement. Specifically for backing up MS SQL 2005 databases. Some of the databases require only daily or weekly full backups but a few more important ones require frequent log backups. For example a specific database requires log backup every 15 minutes 24/7 and a daily full backup. MS SQL 2005 can backup a database and its log at the same time and our current solution is using SQL scripts that are scheduled using the SQL Agent. Backing up the log or data with Netbackup works fine separately but if either is allready running when the other tries to start then Netbackup logs an error message "INFO Error <DB_Name> is involved in another operation." Just to clarify this is a problem only when trying to backup the data and log of the same database. If I initiate a log backup by an adhoc SQL query at the same time netbackup is allready running a full backup of the database then everything works fine. So my question is does Netbackup support what I am trying to do?Solved1.9KViews0likes7CommentsSQL batch file with BATCHSIZE being ignored
I have a customer running a SQL environment on Windows 2008 with 7.5.0.6 client (unsupported, yes) into a 7.7.3 master server which sends backups on their way any available media server and onto a DataDomain (disk) appliance. A batchfile on the Windows host is configured as follows: OPERATION BACKUP DATABASE $ALL EXCLUDE Conversion_XX EXCLUDE Conversion_YY EXCLUDE Conversion_ZZ EXCLUDE dpa_repository EXCLUDE DBA EXCLUDE master EXCLUDE msdb EXCLUDE tempdb SQLHOST "CLUSTERNAME" BROWSECLIENT "NODENAME2" NBSERVER "NBUMASTER" MAXTRANSFERSIZE 6 BLOCKSIZE 7 BATCHSIZE 20 STRIPES 1 POLICY PTC_DB_SQL_BACKUP003 NBSCHED Daily OBJECTTYPE TRXLOG NUMBUFS 1 ENDOPER TRUE ... and is being called from within SQL as expected. Backups complete successfully and are recoverable. So, that's good. Here's what's weird: the databases continue to peel off the SQL host one at a time, even though BATCHSIZE is set to 20. I've advised our customer to request an upgrade of that 7.5.0.6 client to 7.7.2, but I've meanwhile searched through this forum as well as Veritas' KB articles without finding anything that indicates this to be a bug. Has anyone else experienced this ? Thanks! tySolved3.3KViews0likes6CommentsRestore SQL Server from Tape Backup
Hi guys, I have to admit that I am very new for all the Netbackup things. Briefly.... I have 2 NBU server which are not in the same cluster. NBU1 is DC site , NBU is DR site. I have to get the tape backup from NBU1 to restore at NBU2. I have done the Phase 1, Phase 2 import and restore perfectly on VMware. But the problem I am facing right now is how to restore SQL server from data imported NBU2 to the new virtual machine.(Windows Server 2012) Netbackup is 7.6.1 I create a new virtual machine and already installed SQL Server, MS SQL Client, grant permission for user. Thanks in advance. I am very desparate.......1.6KViews0likes2Comments