The Activity History
Published 13 February 2013
Select the Activity History tab on the main window to view a history of backup and restore operations.
Select the SQL Server instance or database for which you want to see the activity history in the Registered SQL Servers pane.
To update the details, on the View menu, click Refresh Connection.
If you are experiencing problems with the performance of the Activity History, see Populating the Activity History below.
Display
In the first column, indicates that the activity was performed using SQL Backup (version 5 or later). If no icon is shown, the activity was performed using an earlier version of SQL Backup, or another program (such as SQL Server native backup).
In the second column, indicates that the backup is encrypted.
Type shows the type of activity. An icon is displayed so that you can scan the list easily:
Full backup | Full restore | ||
Differential backup | Differential restore | ||
Transaction log backup | Transaction log restore | ||
File or filegroup backup | File or filegroup restore |
If you have a dark background colour, the colours of the icons do not reverse, but the outline changes. For example:
Full backup | Full restore |
Date shows the date and time of the activity in the time zone local to the SQL Server.
Duration shows the time taken to perform the backup or restore operation. Note that this does not include the time taken for any activities done on completion, such as erasing existing files, copying backups to a network share or hosted storage, and sending notification emails.
Uncompressed Size shows the total amount of uncompressed data passed to SQL Backup by SQL Server. This may be larger than the Data size and Log size reported in the database properties because data is passed to SQL Backup in blocks of a minimum of 64 KB. For example, a 512 byte block of data from SQL Server is passed to SQL Backup as a 64 KB block. You can use the sp_spaceused stored procedure if you want to check how much of the data and log file allocation is used; for details, refer to your SQL Server documentation.
Compressed Size shows the size of the backup file(s) on disk.
Compressed By shows the percentage compression; SQL Backup calculates the percentage compression of a backup by comparing the size of the SQL Backup backup with the total database size. For example, if a database comprises a 10 GB data file and a 3 GB transaction log file and SQL Backup generates a full backup of the database to create a backup file that is 3 GB, the compression for this backup is calculated as 77%, [1-(3/13)]x100.
Compression Level shows the compression level used for the backup.
Files shows the total number of files created for a backup, or the number of backup files restored for a restore operation.
User Name displays the login used to access the SQL Server.
Populating the Activity History
The information displayed is pulled from the local activity cache, which in turn extracts the data from the msdb database and the SQL Server Compact database (created when the SQL Backup server components are installed). You can control the amount of information that is displayed as follows:
- When you add a SQL Server instance to SQL Backup, you can restrict the number of days of native backup and restore history that is imported from the msdb database using the Native backup and restore history to import option. For more information, see Adding SQL Server instances.
- Once you have installed the SQL Backup server components, you can control the number of days of backup and restore history that is kept in the msdb database and SQL Server Compact database using the File Management options for that SQL Server. From the Tools menu select Server Options, and on the File Management tab select the Delete all backup and restore history option. For more information, see File management options.
For more information about the activity cache, see Activity cache location.
If you change the name of your SQL Server, SQL Backup displays only activities that have occurred since the name was changed.
Interaction
By default, the activities are listed in date and time order, with the most recent first. You can change the sort order by clicking the header for the column by which you want to sort the list. Click the header again to reverse the order. You can also resize the columns as required.
When you select an activity in the Activity History, the time line view changes to show the activity and it is highlighted. Similarly, when you click a completed activity in the time line, it is selected in the Activity History.
Properties
To display the properties of a backup or restore operation and any associated errors or warnings, right-click the activity in the Activity History and select Properties. Alternatively, double-click the activity in the time line or Activity History. Activity properties are available only for activities performed by SQL Backup (version 5 or later).
Backup Properties
File Name lists the backup files created by the backup operation.
File Size displays the total amount of uncompressed data passed by the SQL Server to SQL Backup in order to create the backup. The reported size may be larger than the size of the data and log files because data is passed to SQL Backup in 64 KB blocks. For example, a 512 byte block of data from SQL Server is passed to SQL Backup as a 64 KB block. To check how much of the data and log file allocation is actually used, use the sp_spaceused stored procedure. For details, refer to your SQL Server documentation.
Compressed Size displays the size of each backup file.
The Errors and Warnings panel displays any error or warning messages associated with the backup. For more information on particular errors or warnings, see the SQL Backup warnings 1 - 499 and SQL Backup errors 500 - 5292.
To view the SQL Backup log file for the backup operation, click Show Log. The Activity Log is displayed.
Restore Properties
File Name lists the files included in the restore operation.
File Size for single file backups displays the amount of uncompressed data passed to SQL Backup when the backup was created. For backups split into multiple files, Data Size displays the uncompressed size of each backup.
Compressed Size displays the size of each backup file in the restore operation.
The Errors and Warnings panel displays any error or warning messages associated with the restore. For more information on particular errors or warnings, see the SQL Backup warnings 1 - 499 and SQL Backup errors 500 - 5292.
To view the SQL Backup log file for the restore operation, click Show Log. The Activity Log is displayed.