Showing posts with label received. Show all posts
Showing posts with label received. Show all posts

Tuesday, March 27, 2012

Backup failed in "Loading" status. How to restart or recover?

I asked this question before but never received a decent answer. When a restore fails, what are the steps to re-start the restore? This should be a very common issue and for the life of me I have been unable to find it in BOL or the MS site! Please let me in on the secret!!

Thanks

You should be able to just re-issue the RESTORE command to complete the restore.

If you want to try to recovery the database, you can issue RESTORE <dbname> WITH RECOVERY, but if you failed in the middle of a restore it will not let you bring up a knonwn inconsistent database.

|||

Hi!

I tried to issue the "Restore With Recovery" but that failed as well. Dropping the database seems to be the only way to reliably correct this situation. I don't have a big objection to this, but shouldn't this be in BOL and prominently covered in the Backup and Recovery doc? It would save us all a lot of time!

Thanks,

Michael

|||If the statement WITH RECOVERY does not work, I would not rely on the recovered backup anymore and start from scratch as you did.

Jens K. Suessmeyer.

http://www.sqlserver2005.de

Tuesday, March 20, 2012

Backup Device error or device off-line.

I received the error message listed below when the SQL
Server backup maintenance job runs daily. The server was
Windows 2000 Advanced Server with SQL Server 2000
Enterprise Edition and SP3. I can backup the database
manually with SQL Server in the same directory without a
problem.
Please help me resolve this issue.
Thanks,
Dan
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
error or device off-line. See the SQL Server error log for
more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
DATABASE is terminating abnormally.
Hi,
Can you check the Windows Event viwer application log for more errors.
Hopefully you will get more explanation of this error there.
Is this K drive a local drive or remote drive? If it is remote drive then
start the SQLServerAgent service using
a domain account with write access to Kdrive
Thanks
Hari
MCDBA
"Dan" <anonymous@.discussions.microsoft.com> wrote in message
news:1d3fc01c453a1$f0edc190$a401280a@.phx.gbl...
> I received the error message listed below when the SQL
> Server backup maintenance job runs daily. The server was
> Windows 2000 Advanced Server with SQL Server 2000
> Enterprise Edition and SP3. I can backup the database
> manually with SQL Server in the same directory without a
> problem.
> Please help me resolve this issue.
> Thanks,
> Dan
>
> [Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
> backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
> error or device off-line. See the SQL Server error log for
> more details.
> [Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
> DATABASE is terminating abnormally.
>

Backup Device error or device off-line.

I received the error message listed below when the SQL
Server backup maintenance job runs daily. The server was
Windows 2000 Advanced Server with SQL Server 2000
Enterprise Edition and SP3. I can backup the database
manually with SQL Server in the same directory without a
problem.
Please help me resolve this issue.
Thanks,
Dan
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
error or device off-line. See the SQL Server error log for
more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
DATABASE is terminating abnormally.Hi,
Can you check the Windows Event viwer application log for more errors.
Hopefully you will get more explanation of this error there.
Is this K drive a local drive or remote drive? If it is remote drive then
start the SQLServerAgent service using
a domain account with write access to Kdrive
Thanks
Hari
MCDBA
"Dan" <anonymous@.discussions.microsoft.com> wrote in message
news:1d3fc01c453a1$f0edc190$a401280a@.phx
.gbl...
> I received the error message listed below when the SQL
> Server backup maintenance job runs daily. The server was
> Windows 2000 Advanced Server with SQL Server 2000
> Enterprise Edition and SP3. I can backup the database
> manually with SQL Server in the same directory without a
> problem.
> Please help me resolve this issue.
> Thanks,
> Dan
>
> [Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
> backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
> error or device off-line. See the SQL Server error log for
> more details.
> [Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
> DATABASE is terminating abnormally.
>

Backup Device error or device off-line.

I received the error message listed below when the SQL
Server backup maintenance job runs daily. The server was
Windows 2000 Advanced Server with SQL Server 2000
Enterprise Edition and SP3. I can backup the database
manually with SQL Server in the same directory without a
problem.
Please help me resolve this issue.
Thanks,
Dan
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
error or device off-line. See the SQL Server error log for
more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
DATABASE is terminating abnormally.Hi,
Can you check the Windows Event viwer application log for more errors.
Hopefully you will get more explanation of this error there.
Is this K drive a local drive or remote drive? If it is remote drive then
start the SQLServerAgent service using
a domain account with write access to Kdrive
Thanks
Hari
MCDBA
"Dan" <anonymous@.discussions.microsoft.com> wrote in message
news:1d3fc01c453a1$f0edc190$a401280a@.phx.gbl...
> I received the error message listed below when the SQL
> Server backup maintenance job runs daily. The server was
> Windows 2000 Advanced Server with SQL Server 2000
> Enterprise Edition and SP3. I can backup the database
> manually with SQL Server in the same directory without a
> problem.
> Please help me resolve this issue.
> Thanks,
> Dan
>
> [Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3201:
> [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open
> backup device 'K:\MARKDEV_db_200406160300.BAK'. Device
> error or device off-line. See the SQL Server error log for
> more details.
> [Microsoft][ODBC SQL Server Driver][SQL Server]VERIFY
> DATABASE is terminating abnormally.
>

Monday, March 19, 2012

Backup Database on the network

I tried to backup the database on the network, which is in the same
workgroup; i received an ERROR message, Which says
"BackupDiskFile::CreateMedia: Backup device
'\\Servername\SharedName\FileName.BAK' failed to create. Operating system
error = 5(Access is denied.)."
Is there anyone have an idia to solve my problem. I appreciate your help.
Thanks.
The account that SQL Server runs under must have permissions to read and
write to that share.
Andrew J. Kelly SQL MVP
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.
|||Also, check to make sure your SQL Service account is a domain account (but i
guess that would be implied).
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.
|||We don't have any Domain, we are working in Workgroup model. The SQL Server
and the Server which I want to have backup on it, are in different Workgroup.
Is there any methode to solve this?
"Shaun Beane" wrote:

> Also, check to make sure your SQL Service account is a domain account (but i
> guess that would be implied).
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>
>
|||Hi
Make sure SQL Server runs under an account where there is the same account
on both machines, with exactly the same passwords.
BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
names. So you have to write T-SQL with the BACKUP command in it.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
> We don't have any Domain, we are working in Workgroup model. The SQL
Server
> and the Server which I want to have backup on it, are in different
Workgroup.[vbcol=seagreen]
> Is there any methode to solve this?
>
> "Shaun Beane" wrote:
(but i[vbcol=seagreen]
system[vbcol=seagreen]
help.[vbcol=seagreen]
|||There is a way to use Maintenance plans and UNC names together.
Here is a comprehensive set of instructions on exactly how to do it.
HowTo: Backup to UNC name using Database Maintenance Wizard
http://support.microsoft.com/default...b;en-us;555128
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ecSnti9MFHA.1308@.TK2MSFTNGP15.phx.gbl...
> Hi
> Make sure SQL Server runs under an account where there is the same account
> on both machines, with exactly the same passwords.
> BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
> names. So you have to write T-SQL with the BACKUP command in it.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
> Server
> Workgroup.
> (but i
> system
> help.
>

Backup Database on the network

I tried to backup the database on the network, which is in the same
workgroup; i received an ERROR message, Which says
"BackupDiskFile::CreateMedia: Backup device
'\\Servername\SharedName\FileName.BAK' failed to create. Operating system
error = 5(Access is denied.)."
Is there anyone have an idia to solve my problem. I appreciate your help.
Thanks.The account that SQL Server runs under must have permissions to read and
write to that share.
--
Andrew J. Kelly SQL MVP
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.|||Also, check to make sure your SQL Service account is a domain account (but i
guess that would be implied).
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.|||We don't have any Domain, we are working in Workgroup model. The SQL Server
and the Server which I want to have backup on it, are in different Workgroup.
Is there any methode to solve this?
"Shaun Beane" wrote:
> Also, check to make sure your SQL Service account is a domain account (but i
> guess that would be implied).
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
> >I tried to backup the database on the network, which is in the same
> > workgroup; i received an ERROR message, Which says
> > "BackupDiskFile::CreateMedia: Backup device
> > '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> > error = 5(Access is denied.)."
> > Is there anyone have an idia to solve my problem. I appreciate your help.
> >
> > Thanks.
>
>|||Hi
Make sure SQL Server runs under an account where there is the same account
on both machines, with exactly the same passwords.
BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
names. So you have to write T-SQL with the BACKUP command in it.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
> We don't have any Domain, we are working in Workgroup model. The SQL
Server
> and the Server which I want to have backup on it, are in different
Workgroup.
> Is there any methode to solve this?
>
> "Shaun Beane" wrote:
> > Also, check to make sure your SQL Service account is a domain account
(but i
> > guess that would be implied).
> >
> > "betrek" <betrek@.discussions.microsoft.com> wrote in message
> > news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
> > >I tried to backup the database on the network, which is in the same
> > > workgroup; i received an ERROR message, Which says
> > > "BackupDiskFile::CreateMedia: Backup device
> > > '\\Servername\SharedName\FileName.BAK' failed to create. Operating
system
> > > error = 5(Access is denied.)."
> > > Is there anyone have an idia to solve my problem. I appreciate your
help.
> > >
> > > Thanks.
> >
> >
> >|||There is a way to use Maintenance plans and UNC names together.
Here is a comprehensive set of instructions on exactly how to do it.
HowTo: Backup to UNC name using Database Maintenance Wizard
http://support.microsoft.com/default.aspx?scid=kb;en-us;555128
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ecSnti9MFHA.1308@.TK2MSFTNGP15.phx.gbl...
> Hi
> Make sure SQL Server runs under an account where there is the same account
> on both machines, with exactly the same passwords.
> BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
> names. So you have to write T-SQL with the BACKUP command in it.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
>> We don't have any Domain, we are working in Workgroup model. The SQL
> Server
>> and the Server which I want to have backup on it, are in different
> Workgroup.
>> Is there any methode to solve this?
>>
>> "Shaun Beane" wrote:
>> > Also, check to make sure your SQL Service account is a domain account
> (but i
>> > guess that would be implied).
>> >
>> > "betrek" <betrek@.discussions.microsoft.com> wrote in message
>> > news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>> > >I tried to backup the database on the network, which is in the same
>> > > workgroup; i received an ERROR message, Which says
>> > > "BackupDiskFile::CreateMedia: Backup device
>> > > '\\Servername\SharedName\FileName.BAK' failed to create. Operating
> system
>> > > error = 5(Access is denied.)."
>> > > Is there anyone have an idia to solve my problem. I appreciate your
> help.
>> > >
>> > > Thanks.
>> >
>> >
>> >
>

Backup Database on the network

I tried to backup the database on the network, which is in the same
workgroup; i received an ERROR message, Which says
"BackupDiskFile::CreateMedia: Backup device
'\\Servername\SharedName\FileName.BAK' failed to create. Operating system
error = 5(Access is denied.)."
Is there anyone have an idia to solve my problem. I appreciate your help.
Thanks.The account that SQL Server runs under must have permissions to read and
write to that share.
Andrew J. Kelly SQL MVP
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.|||Also, check to make sure your SQL Service account is a domain account (but i
guess that would be implied).
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>I tried to backup the database on the network, which is in the same
> workgroup; i received an ERROR message, Which says
> "BackupDiskFile::CreateMedia: Backup device
> '\\Servername\SharedName\FileName.BAK' failed to create. Operating system
> error = 5(Access is denied.)."
> Is there anyone have an idia to solve my problem. I appreciate your help.
> Thanks.|||We don't have any Domain, we are working in Workgroup model. The SQL Server
and the Server which I want to have backup on it, are in different Workgroup
.
Is there any methode to solve this?
"Shaun Beane" wrote:

> Also, check to make sure your SQL Service account is a domain account (but
i
> guess that would be implied).
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:6387F0CA-A717-467A-9F4B-F0EF7AED2D5A@.microsoft.com...
>
>|||Hi
Make sure SQL Server runs under an account where there is the same account
on both machines, with exactly the same passwords.
BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
names. So you have to write T-SQL with the BACKUP command in it.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"betrek" <betrek@.discussions.microsoft.com> wrote in message
news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
> We don't have any Domain, we are working in Workgroup model. The SQL
Server
> and the Server which I want to have backup on it, are in different
Workgroup.[vbcol=seagreen]
> Is there any methode to solve this?
>
> "Shaun Beane" wrote:
>
(but i[vbcol=seagreen]
system[vbcol=seagreen]
help.[vbcol=seagreen]|||There is a way to use Maintenance plans and UNC names together.
Here is a comprehensive set of instructions on exactly how to do it.
HowTo: Backup to UNC name using Database Maintenance Wizard
http://support.microsoft.com/defaul...kb;en-us;555128
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:ecSnti9MFHA.1308@.TK2MSFTNGP15.phx.gbl...
> Hi
> Make sure SQL Server runs under an account where there is the same account
> on both machines, with exactly the same passwords.
> BTW, You can not use the Maintenance Plan Wizard as you need to use UNC
> names. So you have to write T-SQL with the BACKUP command in it.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "betrek" <betrek@.discussions.microsoft.com> wrote in message
> news:CB7AE853-4204-49EC-8684-889CF1FBB9B0@.microsoft.com...
> Server
> Workgroup.
> (but i
> system
> help.
>

Thursday, February 16, 2012

Backup

Hi,
I've received this message when trying to backup the database to a tape.
'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
set. BACKUP DATABASE is terminating adnormally."
What is the cause & how can it be solve? Please help. Thanks
SayAre you using the tapes for anything other than backing up
from SQL Server to tape? You can get this error when the
tapes have backups other than SQL Server backups on them.
If you are storing other windows backups on the tape, you
would need to do native SQL backups to disk and then backup
these backup files on disk to tape.
-Sue
On Mon, 18 Apr 2005 00:55:01 -0700, Say
<Say@.discussions.microsoft.com> wrote:

>Hi,
> I've received this message when trying to backup the database to a tape.
>'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
>set. BACKUP DATABASE is terminating adnormally."
> What is the cause & how can it be solve? Please help. Thanks
>Say

Tuesday, February 14, 2012

Backup

Hi,
I've received this message when trying to backup the database to a tape.
'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
set. BACKUP DATABASE is terminating adnormally."
What is the cause & how can it be solve? Please help. Thanks
Say
Are you using the tapes for anything other than backing up
from SQL Server to tape? You can get this error when the
tapes have backups other than SQL Server backups on them.
If you are storing other windows backups on the tape, you
would need to do native SQL backups to disk and then backup
these backup files on disk to tape.
-Sue
On Mon, 18 Apr 2005 00:55:01 -0700, Say
<Say@.discussions.microsoft.com> wrote:

>Hi,
> I've received this message when trying to backup the database to a tape.
>'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
>set. BACKUP DATABASE is terminating adnormally."
> What is the cause & how can it be solve? Please help. Thanks
>Say

Backup

Hi,
I've received this message when trying to backup the database to a tape.
'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
set. BACKUP DATABASE is terminating adnormally."
What is the cause & how can it be solve? Please help. Thanks
SayAre you using the tapes for anything other than backing up
from SQL Server to tape? You can get this error when the
tapes have backups other than SQL Server backups on them.
If you are storing other windows backups on the tape, you
would need to do native SQL backups to disk and then backup
these backup files on disk to tape.
-Sue
On Mon, 18 Apr 2005 00:55:01 -0700, Say
<Say@.discussions.microsoft.com> wrote:
>Hi,
> I've received this message when trying to backup the database to a tape.
>'"he file on device '\\.\Tape0' is not a valid Microsoft Tape Format backup
>set. BACKUP DATABASE is terminating adnormally."
> What is the cause & how can it be solve? Please help. Thanks
>Say