How can we help you today? How can we help you today?
RBA
Hi astreet, For the backup job step, FILEOPTIONS 3 should have the same effect as FILEOPTIONS 1 on the COPYTO directory. I have raised this as a bug and will look into this. However, if you created the log shipping jobs via the GUI then the restore job step will contain a MOVETO command, which takes processed files and moves them to another directory out of reach of the backup job's erase files functionality. As a temporary workaround you can create an additional job step to perform the file purge. The following syntax may be of use: EXEC master..sqbutility 1032, <database name>, <path>, <backup type>, <retention value>, <password>, @count OUT, @error OUT where <path> is the list of paths to delete files from. Multiple paths should be separated by | <backup type> is either D (full), I (differential) or L (log) <retention value> is as per ERASEFILES syntax i.e. a numerical value indicates days to keep, 2h = 2 hours, 2b = 2 backup sets @count is the number of files deleted @error is the error message (if any) E.g. syntax: DECLARE @count int DECLARE @error varchar(1024) EXEC master..sqbutility 1032, 'pubs', 'e:\temp\test', 'D', '5b', 'turtwig', @count OUT, @error OUT SELECT @count, @error NOTE: Even though the backup sets may not be encrypted, if you want the @count and @error return values, you must pass an empty string for the password parameter. / comments
Hi astreet, For the backup job step, FILEOPTIONS 3 should have the same effect as FILEOPTIONS 1 on the COPYTO directory. I have raised this as a bug and will look into this. However, if you created...
0 votes
The SQL Backup agent must be running on the same host as the instance of SQL Server it's responsible for. Because of this dependency, it naturally makes sense to keep it in the same group as SQL Server. Hope this helps, / comments
The SQL Backup agent must be running on the same host as the instance of SQL Server it's responsible for. Because of this dependency, it naturally makes sense to keep it in the same group as SQL Se...
0 votes
Hi, I received your email this morning depicting the grey bars. These represent backup or restore operations that are too close together in time to represent with the current scale. If you zoom in far enough, they should eventually resolve into one or more green, blue or red coloured markers as appropriate. E.g. [image] [image] I suspect that the UI is functioning correctly and it is the server-side data store that is problematically returning additional, erroneous activity history. If two operations are reported as happening at the same time, then naturally no amount of zooming will reveal the contents of the greyed operations. SQL Backup also inspects SQL Server's backup history tables (e.g. msdb.dbo.backupfile, ...restorefile, etc) which, for whatever reason, may contain entries SQB is not familiar with. If you could email or link me a compressed backup of your msdb and a copy of the data.sdf from one of your servers this might allow me to set up an instance that displays the same problems you're experiencing. To temporarily alleviate the problem, you can purge the history by deleting the following (in order). This should not interfere with log shipping. 1) the contents of the five backup related tables and three restore related tables in MSDB 2) the data.sdf (whilst the SQB service is not running) 3) the local cache on any workstations with the UI installed Regards, / comments
Hi, I received your email this morning depicting the grey bars. These represent backup or restore operations that are too close together in time to represent with the current scale. If you zoom in ...
0 votes