Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

View history using Ola Hallengren scripts

$
0
0

Hello,

I'm trying to use the Ola Hallengren scripts to backup SQL databases running on SQL Server Express 2017. I'm creating batch files and using Task Scheduler to run them on a schedule. Here is a sample of one script:

Text
sqlcmd -E -S SQLSERVER -d master -Q "EXECUTE dbo.DatabaseBackup @Databases = 'USER_DATABASES', @Directory = N'T:\MSSQL14.MSSQLSERVER\MSSQL\Backup', @BackupType = 'FULL', @CleanupTime=336" -b -o T:\MaintenancePlan\Log\DatabaseBackup.txt

Everything works fine but the log text tile only has info regarding the latest backup performed.

Is there anywhere I can view a history of backups performed?

Thank you.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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