Quantcast
Channel: Red Gate forums: SQL Backup 7
Viewing all 713 articles
Browse latest View live

RE: Limit on number of databases per Instance

$
0
0
There isn't a limit to the number of databases that SQL Backup can back up per instance, since each database is backed up sequentially.

SQL Backup should have generated a log file if it crashed. Could you please send me this file? This file is named SQBCoreService_<instance name>_bugreport.txt, and is located in 'C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Log\' on Windows 2003 and older, and 'C:\ProgramData\Red Gate\SQL Backup\Log\' on Windows Vista and newer.

- output from sp_who2 if the backup is still in a hanging state

- the SQL Backup backup command that you were using

- any errors recorded in the Windows Event log related to the SQLVDI source during the time of the backup

- any errors recorded in the SQL Server error log during the time of the backup

Thank you.

RE: RESTORE LOG is terminating abnormally

$
0
0
Could you please send me the file 'MyServer_MyDB_40529000001080300001_20121213_101511_LOG.sqb'? My e-mail address is peter.yeoh@red-gate.com.

Thanks.

RE: Restore multiple databases in the same job

$
0
0
You could put the list of databases to restore in a table, and use a cursor to iterate through that table to form the script.

"Copy backup to network" option setting

$
0
0
Is it possible to "delete prior to start of copy" for copy backup to network ?

We have a large database backup which is little over 1/3rd the size of disk which means we can only save 1 copy of backup to disk instead of 2. The copy task first copies the backup and then deletes the old backup, so it needs the space for 2 backups.

The backup task has the option to "Delete prior to start of backup" and was wonder if we can edit update the T-SQL for the job to do the same for copy task ?

RE: "Copy backup to network" option setting

$
0
0
Could you please post the current T-SQL script for the backup job?

Thanks.

Reporting in multiple DB

$
0
0
Hi all,

Did any one used the Reporting for multiple DB? I have follow the help guide and created the "SQLBackupReportingDatabase" on one of my SQL server. I'm able to upload the backup and restore log to this DB.

I would like to know, is there any sql script, store_proc or task I can use to automatic upload the backup and restore log to this DB, so that I don't need to manually run this function?

Since the multiple db report format did not fit my requirement, so I would like to create my own report by directly read this DB. The key point is this DB data should always be up-to-date, so the report will be accurate. Anyone have this kind of working?

Thanks and regards,
Carmel Lee

Cheap NFL Jerseys to watch

$
0
0
[hr][hr]

ZMLH20121223 Seattle can put a team in the Key until new arena is built. I'd be all for that!The team is auctioning off the game-worn It sometimes amazes me to see what comes out of The IceHL Project. What do you think of this announcement by the Islanders? And even then, that was only for a few years. That said, it certainly looks like Cheap NFL Jerseys it should be the real thing. These badges represent Challenge Awards given to young scouts called Cubs in the United Kingdom. It has the same design theme cheap nike nfl jerseys we've seen on past draft logos. By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. It's also worth noting that the photo above is the only one the Walleye have offered so far. All right, now onto what makes the purple logo inaccurate and what makes both logos a treat for hardcore hockey logo geeks. At the moment, the name change is not quite official. The sale to Greg Jamison still has to be completed and there are plenty of questions surrounding that these days. Check this out... However, But wait, there's more. If we leave the future and head back to the present, we find the Phantoms will be wearing a special Movember jersey next weekend. what's interesting is the typeface that cheap china jerseys identifies the city and year. It's not the NHL's standard font. This could indicate a change cheap jerseys from china moving forward, or it could be that this logo isn't the real thing. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. You can draw cheap nfl jerseys china your own conclusions. This was hard because I really love www.nfl-shop-cheap.com the jersey set and color scheme put in place by the current owners but also really love the old V uniforms that Vancouver used in 80's.But it gives me hope Seattle can put a team in the Key until new arena is built. I'd be all for that!The team is auctioning off the game-worn threads following the game.I'm also considering trying out a message board.

Von Miller Jersey it looks like

$
0
0
[hr][hr]

ZMLH20121223 And lastly, I pushed myself to push The Canucks design to The alternate uniform will be used for each of Greenville's Sunday home games this season. we find the Phantoms will be wearing a special Movember jersey next weekend. Can you believe it's been 20 years since the North Stars left Minnesota? When asked how it felt to win Mr. Flick responded, It's also worth noting that the photo above is the only one the Walleye have offered so far. So, instead of just mailing cheap nike nfl jerseys it in, But wait, there's more. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. If we leave the future and head back to the present, we find the Phantoms will be wearing a special Movember jersey next weekend. By the way, next year will be the club's 20th anniversary in Dallas. I have yet to see a RinkGear jersey for myself, but from everything I've read, they have a lot of satisfied customers. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. I pushed myself to push The Canucks design to cheap nfl jerseys china the edge of Seizure-Town. What do you think of this announcement by the Islanders? And what do you think of the fact that the 40-year-old name and logo will remain the same? Right away, I condensed the color scheme to wholesale nfl jerseys two colors. A lot of V's and a lot of colors with make you cheap sports jerseys want to puke. The large striping appears to be cut or broken up to really cheap football jerseys show that V in the body of the uniform. With that break, you can really see www.nflcheapour.com the V and the C work together. The alternate jersey already has a V on the chest so.The good news is that these organizations are still finding ways to help their communities.here's what the site looked like before today.And lastly, for the sake of posterity, here's what the site looked like before today.

2012 NFL Jerseys nice and good

$
0
0
[hr][hr]

ZMLH20121223 When asked how it felt to win Mr. Flick responded, This final design was proposed as the Everything's in play right now. When asked how it felt to win Mr. Flick responded, By the way, next year will be the club's 20th anniversary in Dallas. After a five-year stay in upstate New York, I made some angled striping along the sleeves and body wholesale nfl jerseys of the jersey. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. Why 3 stripes, you ask? By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. Three trips to the Stanley cheap chinese jerseys Cup Finals. I have yet to see a RinkGear jersey for myself, but from everything I've read, they have a lot of satisfied customers. Would the stripes actually look good on the ice? I'm not sure, but it looks interesting wholesale jerseys china enough on paper - er... computer screen. This final design was proposed as the "preferred option." What do you think of this announcement by the Islanders? And what do you think of the fact that the 40-year-old name and logo will remain the same? Like wholesale football jerseys the second one, it maximizes its architectural footprint, but it looks cheap stitched nfl jerseys a little more modern. The entrance creates sort of a "front porch to downtown," By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. according to www.newcheapnfl.com the designer.The alternate uniform will be used for each of Greenville's Sunday home games this season.will be available exclusively at the Eagles' holiday store in the Foothills Mall in Ft. The team is auctioning off the game-worn threads following the game.

Wholesale Football Jerseys watch the topic

$
0
0
[hr][hr]

ZMLH20121223 Ohio on Jan. 5, would you consider buying one? I have yet to see a RinkGear jersey for myself, Over the last several weeks, We see beer league teams borrow pro jerseys all the time. Your handmade jersey will feature high quality embroidered front, But check this out. One team will look a lot like one of our IceHL franchises this season. But we'll leave that conversation for NFL Cheap Jerseys another time. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. Let's stick to talking about Cheap NFL Jerseys the jersey. What do you think? And more importantly, By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. if you'll be Wholesale NFL Jerseys in Toledo, But wait, there's more. If we leave the future and head back to the present, we find the Phantoms will be wearing a special Movember jersey next weekend. Ohio on Jan. 5, would you consider buying one? I have yet to see a RinkGear jersey for myself, but from everything I've read, they have a lot of satisfied customers. (Though I think I already know Cheap Football Jerseys the answer to that question.) Here's where the jersey gets interesting — and begins to take on Cheap NFL Jerseys From China an international flavor. It turns out the four badges found www.cheapnflbest.com on the upper right shoulder of the jersey are not badges any American kid would be wearing — boy or girl. What do you think of this announcement by the Islanders? And what do you think of the fact that the 40-year-old name and logo will remain the same? The alternate uniform will be used for each of Greenville's Sunday home games this season.I'd be all for that!logo and uniforms will be remaining the same.

Wholesale Jerseys there be much

$
0
0
[hr][hr]

ZMLH20121223 20 years since the North Stars left Minnesota? If you want to get your hands on one of the jerseys. By the way, next year will be the club's 20th anniversary in Dallas. After a five-year stay in upstate New York, The good news is that these organizations are still finding ways to help their communities. While we're on the subject of Lagers jerseys, However, it has a much "less iconic presence" than Cheap NFL Jerseys the first option. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. I could certainly live with this design, But wait, there's more. If we leave the future and head back to the present, we find the Phantoms will be wearing a special Movember jersey next weekend. but I think Wholesale Nfl Jerseys Option 1 is still my favorite. Then again, I'd be happy to walk into any building Cheap China Jerseys that has NHL hockey going on inside. I have yet to see a RinkGear jersey for myself, but from everything I've read, they have a lot of satisfied customers. Right now there's no city with that. What do you think of these potential designs for Sports Jerseys China the new Seattle Arena? Which one is your favorite? By the way, if you want to see cheap jerseys online the entire design proposal, What do you think of this announcement by the Islanders? And what do you think of the fact that the 40-year-old name and logo will remain the same? there is a PDF available on the city's website. The ECHL's Toledo Walleye will sport special edition jerseys www.best-nfl-shop.com on their Scout Experience Night on Jan. By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. 5 when they host the Orlando Solar Bears at the Huntington Center.Can you believe it's been 20 years since the North Stars left Minnesota? How time flies.If you want to get your hands on one of the jerseys.here's what the site looked like before today.

China Wholesale Jerseys the ownership

$
0
0
[hr][hr]

ZMLH20121223 but from everything I've read, they have a lot of satisfied customers. And even then, that was only for a few years. hile we're on the subject of Lagers jerseys, However, Today I'm thrilled to announce that for the first time ever, We see beer league teams borrow pro jerseys all the time. The sweater design (right) was unveiled Wholesale Jerseys China via Twitter on Nov. “We wanted these jerseys to reflect the strong partnership we’ve built with our NHL affiliate the New York Rangers. 14. As you can see, it looks a bit like a Boy Scout uniform — for better or worse. But in my opinion, By the way, next year will be the club's 20th anniversary in Dallas. Can you believe it's been 20 years since the North Stars left Minnesota? How time flies. this is really not a brilliant idea for NFL Jerseys Online a hockey jersey. Maybe it's the khaki. On their website, the Walleye note that Cheap Nike NFL Jerseys this will be their first time suiting up I have yet to see a RinkGear jersey for myself, but from everything I've read, they have a lot of satisfied customers. in special uniforms to honor Cheap Jerseys From China their scout guests. But they have held these Scout Experience nights in the past. The game-worn jerseys will be auctioned off Cheap Sports Jerseys after the game, What do you think of this announcement by the Islanders? And what do you think of the fact that the 40-year-old name and logo will remain the same? according to the team. Proceeds from this live auction www.nfl-best-online.com will benefit the Boy Scouts of America — an organization that's been on the controversial side these days.But check this out. One team will look a lot like one of our IceHL franchises this season.But it gives me hope Seattle can put a team in the Key until new arena is built.If you want to get your hands on one of the jerseys, here's how:

RE: Restoring a DB backed up via SQL Back without SQL back

$
0
0
I don't know if this 'restriction' is mentioned anywhere in the documentation. If you need a version of SQL Backup to only restore databases, you could contact the Red Gate sales department for options.

With regards to the conversion applications, it's under 'Tools & Utilities > SQL Backup File Converter'.

RE: Restore multiple databases in the same job

$
0
0
I am trying to script this and it is not working, keeps saying I have an extra '

SET @SQL = ' EXECUTE master..sqlbackup ''-SQL "RESTORE DATABASE ' + @sitename +
' FROM DISK = ''''D:\SQLVMDEV10\' + @sitename + '\FULL\*.sqb'''' WITH MOVE DATAFILES TO ''''G:\VirtualRestore'''' , SOURCE = ''''' + @sitename + ''''' LATEST_FULL WITH MAILTO = ''ed.watson@swfwmd.state.fl.us',
RECOVERY, DISCONNECT_EXISTING,
MOVE LOGFILES TO ''''G:\VirtualRestore'''' , REPLACE , CHECKDB = ''ALL_ERRORMSGS, DATA_PURITY, EXTENDED_LOGICAL_CHECKS'', DROPDB''', @exitcode OUT, @sqlerrorcode OUT" '' '

Any ideas?

RE: Restore multiple databases in the same job

$
0
0
Or actually it says

[SQLSTATE 42000] (Error 137) Unclosed quotation mark after the character string ' '' '

RE: Restore multiple databases in the same job

$
0
0
Here's an alternative:

Code:
DECLARE @exitcode int
DECLARE @sqlerrorcode int
DECLARE @sitename nvarchar(16)
DECLARE @sql nvarchar(1024)

SET @sitename = '<your value>'

SET @sql = '-SQL "RESTORE DATABASE ' + @sitename + ' FROM DISK = ''D:\SQLVMDEV10\' + @sitename + '\FULL\*.sqb'' SOURCE = ''' + @sitename + ''' LATEST_FULL
   WITH MOVE DATAFILES TO ''G:\VirtualRestore'' , MOVE LOGFILES TO ''G:\VirtualRestore'' ,
   MAILTO = ''ed.watson@swfwmd.state.fl.us'', RECOVERY, DISCONNECT_EXISTING,
   REPLACE , CHECKDB = ''ALL_ERRORMSGS, DATA_PURITY, EXTENDED_LOGICAL_CHECKS'', DROPDB'

EXEC master..sqlbackup @sql, @exitcode OUT, @sqlerrorcode OUT


Note that the SOURCE and LATEST_FULL options must come immediately after the DISK value.

RESTORE LOG is terminating abnormally

$
0
0
Hello,
I am receiving the following errors in the sql log.

12/14/2012 2:47:58 AM: Thread 0 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
12/14/2012 2:47:58 AM:
12/14/2012 2:47:58 AM: SQL error 3013: SQL error 3013: RESTORE LOG is terminating abnormally.
12/14/2012 2:47:58 AM: SQL error 3254: SQL error 3254: The volume on device 'SQLBACKUP_638113BA-9C82-4D44-96BF-EB8D63C21227' is empty.

Although the error seems to indicate an issue, the log restore itself seems to have worked fine. When I check the data in the database, it is up to date.

Below is the full error log from sql backup.

SQL Backup log file 7.2.1.82
-SQL "RESTORE LOG [MyDB] FROM DISK = 'D:\DBMIncoming1\MyServer_MyDB_40529000001080300001_20121213_101511_LOG.sqb' WITH REPLACE, STANDBY = 'D:\DBMIncoming1\StandByFiles\MyDB.undo', FILEOPTIONS = 1, ERASEFILES = 1, PASSWORD = 'XXXXXXXXXX', MOVETO = 'D:\DBMIncoming1\Complete\MyDB' "

----------------------------- ERRORS AND WARNINGS -----------------------------


12/14/2012 2:47:58 AM: Restoring MyDB (transaction logs) from:
12/14/2012 2:47:58 AM: D:\DBMIncoming1\MyServer_MyDB_40529000001080300001_20121213_101511_LOG.sqb

12/14/2012 2:47:58 AM: RESTORE LOG [MyDB] FROM VIRTUAL_DEVICE = 'SQLBACKUP_638113BA-9C82-4D44-96BF-EB8D63C21227' WITH BUFFERCOUNT = 6, BLOCKSIZE = 65536, MAXTRANSFERSIZE = 1048576 , STANDBY = N'D:\DBMIncoming1\StandByFiles\MyDB.undo', REPLACE

12/14/2012 2:47:58 AM: Thread 0 error:
Process terminated unexpectedly. Error code: -2139684860 (An abort request is preventing anything except termination actions.)
12/14/2012 2:47:58 AM:
12/14/2012 2:47:58 AM: SQL error 3013: SQL error 3013: RESTORE LOG is terminating abnormally.
12/14/2012 2:47:58 AM: SQL error 3254: SQL error 3254: The volume on device 'SQLBACKUP_638113BA-9C82-4D44-96BF-EB8D63C21227' is empty.

SQL Backup fails immediately after adding a new database

$
0
0
I'm new to SQL Backup 7 and configuring my environment for the first time. I launch the application and use the menu to add the local Sql Server database. Immediately after I click the button, I get the following error:

SQLite cannot rollback - no transaction is active

Once this happens, the application will not launch until I remove servers.dat.

SQL Backup 7 was installed by a previous employee who is no longer available to help.

I Googled and searched the forum and could not find any info that seems relevant.

Can someone point me in the right direction, please?

One to Many Log shipping -- doable?

$
0
0
Hello!

I use SQL Backup 6.5, and need to set up one to many log shipping (to on site spare SQL server, to off site, to development...)

I have it set up now to the on site warm standby.

Any tips or pointers on doing one to many?

Thanks!

RE: One to Many Log shipping -- doable?

$
0
0
Hi samjones11

What you are seeking cannot be achieved using the Log Shipping Wizard. However you can modify your existing setup to perform a one to many. The instructions below if you wish to log ship to two destination servers is as follows:

1. Configure a network share for the second target server to use.

2. Take a full backup of the source database.

3. Restore the full backup created in step 2, to the second target database using the WITH NORECOVERY argument.

4. On the source server, Open SSMS or Enterprise Manager ->SQL Server Agent ->Jobs ->Locate the existing Transaction Log Backup job.

5. Right Click the job and select Properties.

6. Select Steps and click on the Edit button. The syntax of the Transaction Log Backup job may look similar to the following:

DECLARE @errorcode INT
DECLARE @sqlerrorcode INT
EXECUTE master..sqlbackup N'-SQL "BACKUP LOG [<database_name>] TO DISK=''D:\Backup\<database_name>\LogShipping\<TYPE>_<DATABASE>_<DATETIME YYYYmmddhhnnss>.sqb'' WITH COMPRESSION = 2, COPYTO = ''\\server1\Share1\<database_name>''"', @errorcode OUT, @sqlerrorcode OUT;
IF (@errorcode >= 500) OR (@sqlerrorcode <> 0)
BEGIN
RAISERROR ('SQL Backup failed with exit code: %d SQL error code: %d', 16, 1, @errorcode, @sqlerrorcode)
END

7. Modify the job and add a second COPYTO parameter whose path is to the network share configured in Step 1, so the job becomes:

DECLARE @errorcode INT
DECLARE @sqlerrorcode INT
EXECUTE master..sqlbackup N'-SQL "BACKUP LOG [<database_name>] TO DISK=''D:\Backup\<database_name>\LogShipping\<TYPE>_<DATABASE>_<DATETIME YYYYmmddhhnnss>.sqb'' WITH COMPRESSION = 2, COPYTO = ''\\server1\Share1\<database_name>'', COPYTO = ''\\server2\share2\<database_name>''"', @errorcode OUT, @sqlerrorcode OUT;
IF (@errorcode >= 500) OR (@sqlerrorcode <> 0)
BEGIN
RAISERROR ('SQL Backup failed with exit code: %d SQL error code: %d', 16, 1, @errorcode, @sqlerrorcode)
END

8. On the second target server, create a new job to restore the Transaction Log Backup file to second database. Open SSMS ->SQL Server Agent ->Jobs ->Right Click Jobs and select new job. On the General Tab give the job a name and if required enter information into the Description field. On the schedules tab, set a new schedule on how often the restore job needs to run. On the Steps Tab modify the restore script below as required:

DECLARE @errorcode INT
DECLARE @sqlerrorcode INT
EXECUTE master..sqlbackup N'-SQL "RESTORE LOG [<database_name>] FROM DISK = ''<path to network share>_*.sqb'' WITH NORECOVERY, MOVETO = ''<path to completed log shipping folder>''"', @errorcode OUT, @sqlerrorcode OUT;
IF (@errorcode >= 500) OR (@sqlerrorcode <> 0)
BEGIN
RAISERROR ('SQL Backup failed with exit code: %d SQL error code: %d', 16, 1, @errorcode, @sqlerrorcode)
END

9. Check that everything is configured correctly; ensure that source server copies backup files to the second network share location and that the second target server restores the backup files from the network share.

I hope the above helps.

Many Thanks
Eddie
Viewing all 713 articles
Browse latest View live




Latest Images