Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Backing up with TSQL

$
0
0

I have a vendor who has setup a SQL server in my company and I'm having concerns with his methods.  I've noticed that he is backing up his softwares database using TSQL script

SqlCmd -E -S <servername> -Q "BACKUP DATABASE [DBName] TO  DISK = 'F:\dbname.bak' WITH   NOFORMAT, INIT,  NAME = 'DBName-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10"

and

SqlCmd -E -S <servername> -Q "BACKUP DATABASE [DBName] TO  DISK = 'F:\<dbname.bak>' WITH  DIFFERENTIAL , NOFORMAT, NOINIT,  NAME = '<DNBame>-Differential Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10"

Concerns I have here are:

1) He is backing up both full and differential to the same file.  Is this good practice (i've never done this before and would have thought this to be a bad idea)

2) I see no place where he's rolling the logs (if he keeps writing like this I see it just getting bigger each backup)

3) I see no system database backups

I would normally do these items through maintenance jobs, he's doing them through scheduled tasks (also a truncate tranastion log task with the same method). Wondering if I can get some advice on this please, is this an acceptable method?

Thanks!


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>