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

RE: Network Copy to Multiple locations

Hello, Yes it is possible to copy a backup to more than one location. You will need to edit the backup script, as this option is not available in the Back Up or Schedule Backup Jobs wizards. You can...

View Article


RE: Network Copy to Multiple locations

Hi, thank you for your forum post. It is most definitely possible for SQL Backup to use multiple COPYTO parameters. However you cannot configure this using the wizards available through the SQL Backup...

View Article


Restores failing with exit code 790

I can't do a restore that includes full/diff/logs. I get sql error 3136 This differential cannot be restored because the database has not been restored to the correct earlier state. This happened after...

View Article

RE: Restores failing with exit code 790

Seems to be related to Differential restores. A full with logs will restore.

View Article

Error trying to Restore DB & Move files with NORECOVERY

Hi, I am trying make a copy our Production DB from a backup & running into issues described below Basically I am trying to 1. Restore the MyDB as the MyDB2 with NORECOVERY & also move/replace...

View Article


RE: Error trying to Restore DB & Move files with NORECOVERY

Try replacing the MyDB2 rather than just restoring to it. As it exists there could be a taillog that would need to be offloaded first. The other option is to take a log backup of MyDB2 before you try...

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

Chris, Thank for your tip. I had tried replacing the db earlier, using Code:EXECUTE master..sqlbackup '-SQL "RESTORE DATABASE [MyDB2] FROM DISK = N'... ' WITH REPLACE, MOVE N'MyDB_Data' TO N'...', MOVE...

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

Try running a log backup on MyDB2 before you try the restore. Chris

View Article


Image may be NSFW.
Clik here to view.

RE: Error trying to Restore DB & Move files with NORECOVERY

@#$% didnt work -SQL "BACKUP LOGS [MyDB2] TO DISK = N'C:\Temp\Log\<AUTO>' " [SQLSTATE 01000] -SQL "RESTORE DATABASE [MyDB2] FROM DISK = N'....sqb' WITH MOVE N'MyDB_Data' TO N'...MyDB2.mdf', MOVE...

View Article


RE: Error trying to Restore DB & Move files with NORECOVERY

I hope that wasn't a typo but it should be BACKUP LOG not BACKUP LOGS. Chris

View Article

Image may be NSFW.
Clik here to view.

RE: Error trying to Restore DB & Move files with NORECOVERY

hmm I did use LOGS as thats what the documentation said Code:L. Back up transaction logs for multiple databases This example creates transaction log backups for databases northwind and pubs in the...

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

That was for two databases in one execution. Chris

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

No change, same error.... -SQL "BACKUP LOG [MyDB2] TO DISK = N'C:\Temp\Log\DB2_FULL.log' " [SQLSTATE 01000]

View Article


RE: Error trying to Restore DB & Move files with NORECOVERY

Just a thought. If MyDB2 seems recovered then run DBCC CHECKDB with PHYSICAL_ONLY then try using the GUI to take a LOG backup to see that you have the permissions correct. Chris

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

DBCC ran fine and was able to backup the log..

View Article


RE: Error trying to Restore DB & Move files with NORECOVERY

Now try the restore again using the GUI. These should all be running with the account that runs SQLBackup so it doesn't look like a permissions issue. I am leaving now so I look forward to reading this...

View Article

Image may be NSFW.
Clik here to view.

RE: Error trying to Restore DB & Move files with NORECOVERY

Well figured it out, was trying to restore the .sqb file with a Restore function Ran it with "EXECUTE master..sqlbackup" & it works. Still had to backup the log before I tried to restore the db....

View Article


RE: Failed Restore - Failed to disconnect existing connections

I suggest you restore all settings,and use by default.

View Article

RE: Error trying to Restore DB & Move files with NORECOVERY

Glad you managed to get it to work. Since SQL2005 if you have either Full or Bulk-Logged recovery model you need to run a Tail-log backup unless you use SQLBackup to force over an existing database. Chris

View Article

RE: Restores failing with exit code 790

Is it possible that the differential backup requires a different full backup, and not the one you restored?

View Article
Browsing all 713 articles
Browse latest View live