COMMVAULT and backing up SQL Server O\S Level Files

  • We are running SQL Server 2012 on Windows 2008 Server. The DBAs have been asked to identify files that should be backed up to COMMVAULT. (I am not sure of the purpose for COMMVAULT yet, for example, will these backups be used in case there is a hardware failure, software upgrade problem, etc.) We have a Disaster Recovery Solution (redundant servers in another location using Equalogic to replicate backups from production SANs to Disaster Recovery SANs.)

    My question is what type of files should we backup to COMMVAULT? I am thinking the C: drive, registry, sql server software directory, sql server backup file (.bak), etc.

    Can the SQL Server online database files (.mdf and .trn) be backed up? Do you have to stop the SQL Server Services in order to back up these files (the data and log files)?

    Also, has anyone used COMMVAULT? Does it communicate with SQL Server? For example, via an API?

    Just doing some early research.

    Thanks, Kevin

  • I think the request is to identify where your SQL DB Backup files are located (hopefully you do backup your Databases). To backup the .mdf .ldf etc files SQL will have to be stopped as they are in use.

  • I would suggest having the Commvault admins configure it to skip your MDF / LDF / NDFs, and only back up "normal" files. Additionally, you can likely have them set things up so your BAK / TRN / DIFs get backed up more frequently than the other files.

    Where I work, we do use Commvault, and it can "speak" to SQL for backups. The nice part is, it uses an Agent on the SQL server (OS level, not in SQL) to run a normal "BACKUP DATABASE..." command in SQL. The backup gets routed to a "virtual device" which funnels it across the network to the Commvault back-end.

    Downside to this method is the usual, if your network has a flaky moment, you could have problems with the backup, although CV will "auto-resume" the backup. Not sure if it completely restarts though.

    I have had to restore some backups from CV, it has checkboxes for all the usual options (overwrite, recovery / no recovery, point-in-time, etc) and works reasonably well. Not as fast as a restore from a local file, and (that I'm aware of) you can't restore from CV to a MDF / LDF without it being attached to SQL, nor can you get a BAK out of CV...

    Jason

  • It all depends on your disaster recovery strategy and if these servers are database servers only or serve as the application code server as well.

    We are just beginning to implement COMMVAULT here. We have it backup the live SQL Server databases then Step2 is to backup closed files on the server.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply