log files not automatically backed up on new DBs

Compresses, encrypts, secures and monitors SQL Server backups.

Moderators: JonathanWatts, Chris Auckland, eddie davis, Colin Millerchip, Brian Harris, james.billings, RBA, petey

log files not automatically backed up on new DBs

Postby dudeguy » Fri Jul 20, 2012 8:07 pm

The nature of our environment requires us to create new DBs often. Using the "All Databases" option in SQL Backup it will automatically create a full and differential backup, at the next scheduled time for the new DB. However, it won't start performing trans backups on the new DB until you modify the job.

Is there a way to solve this?
Posts: 1
Joined: Fri Jul 20, 2012 8:01 pm

Postby petey » Sat Jul 21, 2012 5:04 am

Could you please check the script for the transaction log backup job? Does it name the databases explicitly e.g.

BACKUP LOGS [db1, db2, ...] TO ...

If so, you'll need to add new databases to the list as and when they are created. You could amend the list to back up the transaction log for all databases running full/bulk logged recovery models e.g.


or use an exclusion list e.g.


which will back up all databases running full/bulk logged recovery models except those listed.

However, the last 2 options will not automatically run a full backup if the transaction log backup job runs before the full backup. The next version of SQL Backup (7.2) will address this.
Peter Yeoh
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 7
Posts: 2234
Joined: Sun Apr 24, 2005 12:34 pm

Return to SQL Backup 7

Who is online

Users browsing this forum: No registered users and 0 guests