sql server - programmatic/CLI way to tell MSSQL differential backups from full backups? -
sql server - programmatic/CLI way to tell MSSQL differential backups from full backups? -
is there easy way tell total , differential backups apart metadata nowadays in .bak file? i've been playing around osql/sqlcmd , command test:
sqlcmd -q "restore filelistonly disk = 'c:\some_path\some_backup.bak'"
runs, differentialbaselsn , differentialbaseguid info nowadays info files in both types of backups =(. each backup has 3 files, .mdf, .ndf, , .ldf. hoping see null or 0 values these attributes total database backup, instead mdf , ndf files have entries both of fields.
am out of luck, or there other way dig backup file , tell if total or differential? maybe things easier sql server management objects?
use restore headeronly , backuptype
column
the database file type orthogonal backup type
sql-server smo sqlcmd
Comments
Post a Comment