Q
ADSM.ORG Member
I am running SQL server 2008 R2. On my 2005 SQL server I could run a diff backup and if the DB did not have a full backup, TSM would do a full backup. I run via a cmd file.
%sql_dir%\tdpsqlc backup DB1*,DB2*,LoanReport*,ReportServer difffull /tsmoptfile=%sql_dir%\dsm.opt /logfile=%sql_dir%\sql_diff.log >> %sql_dir%\sql_diff_sched.log
This no longer works, I get the following error
Backup of DB1xxxx failed.
10/04/2013 14:19:20 ACO5422E Received the following from the MS SQL server:
10/04/2013 14:19:20 An exception occurred while executing a Transact-SQL statement or batch.
10/04/2013 14:19:20 Cannot perform a differential backup for database "DB1xxxx", because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option.
10/04/2013 14:19:20 BACKUP DATABASE is terminating abnormally.
Can this be done as I did with SQL 2005?
%sql_dir%\tdpsqlc backup DB1*,DB2*,LoanReport*,ReportServer difffull /tsmoptfile=%sql_dir%\dsm.opt /logfile=%sql_dir%\sql_diff.log >> %sql_dir%\sql_diff_sched.log
This no longer works, I get the following error
Backup of DB1xxxx failed.
10/04/2013 14:19:20 ACO5422E Received the following from the MS SQL server:
10/04/2013 14:19:20 An exception occurred while executing a Transact-SQL statement or batch.
10/04/2013 14:19:20 Cannot perform a differential backup for database "DB1xxxx", because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option.
10/04/2013 14:19:20 BACKUP DATABASE is terminating abnormally.
Can this be done as I did with SQL 2005?