Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Tuesday, March 27, 2012

Backup fail on msllockdb & pwe files

We use Arcserve for our backup software. Everynight, we get errors that
msllockdb.mdf, msllockdb_ldf, pwe.mdf, & pwe_log.ldf cannot be accessed
because they are being used by another process. Does anyone know what is
causing this and how to correct it?
--
Thanks!You are obviously not using the SQL Server plugin for Arcserver. It is
trying to copy the files directly and that is always a no no for SQL Server.
You need to invoke the SQL Server backup command thru Arcserves SQL Server
specific extensions.
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Saucer Man" <saucerman@.nospam.com> wrote in message
news:4742f3fc$0$27025$cc2e38e6@.news.uslec.net...
> We use Arcserve for our backup software. Everynight, we get errors that
> msllockdb.mdf, msllockdb_ldf, pwe.mdf, & pwe_log.ldf cannot be accessed
> because they are being used by another process. Does anyone know what is
> causing this and how to correct it?
> --
> Thanks!
>|||Thanks. I will look into this.
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:O0dQXa4KIHA.1184@.TK2MSFTNGP04.phx.gbl...
> You are obviously not using the SQL Server plugin for Arcserver. It is
> trying to copy the files directly and that is always a no no for SQL
> Server. You need to invoke the SQL Server backup command thru Arcserves
> SQL Server specific extensions.
> --
> Andrew J. Kelly SQL MVP
> Solid Quality Mentors
>
> "Saucer Man" <saucerman@.nospam.com> wrote in message
> news:4742f3fc$0$27025$cc2e38e6@.news.uslec.net...
>> We use Arcserve for our backup software. Everynight, we get errors that
>> msllockdb.mdf, msllockdb_ldf, pwe.mdf, & pwe_log.ldf cannot be accessed
>> because they are being used by another process. Does anyone know what is
>> causing this and how to correct it?
>> --
>> Thanks!
>

Friday, February 24, 2012

backup again

Dear All,
does sql2005(std.) have any tools for backup whole database to file for
other Backup software backup?
thx,
William
William
Can you elaborate a little bit? What are yopu trying to achive?
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>
|||Dear,
i want to backup the SQL Server while without advance backup software(CA,
symantec...).
reg,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
> William
> Can you elaborate a little bit? What are yopu trying to achive?
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>
|||Hi
See ,BACKUP DATABASE command in the BOL
"William Cheung" <chun_hei@.msn.com> wrote in message
news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
> Dear,
> i want to backup the SQL Server while without advance backup software(CA,
> symantec...).
> reg,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>
|||With SQL 2005 Standard Edition, you can create a "Maintenance Job" to backup
on schedule, or you can create a SQL Agent Job to execute a SQL Backup
command.
SQL Backup is quite robust, and you may be OK without any other software.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>
|||Hi,
can i be schedule run? how to restore? can you pls send me some reference
for futher study.
thx,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
> Hi
>
> See ,BACKUP DATABASE command in the BOL
>
>
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>
|||Hi
> can i be schedule run?
Sure, create a job with BACKUP DATABASE... command and schedule it
? how to restore?
Take a look at RESTORE DATABASE ...command in the BOL
?can you pls send me some reference
> for futher study.
Start with BOL (Books On Line ) which ships with SQL Server
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>
|||Hi
you have to create backup script first and schedule it through sql job.
Schedule depends on your requirements and how much data you can afford to
lose
Here is the very basic script
full backup
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,Name='myDBbackup'
differential
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,DIFFERENTIAL,Name='myDBbackup'
log
BACKUP LOG [myDB] TO DISK = N'c:\myDBbackup.bak' WITH NOINIT , NOUNLOAD ,
NAME = 'myDBbackup', NOSKIP , STATS = 10, NOFORMAT
You need to understand how restore works... BOL is the best tool..
You will get some custom script from the following site
www.sqlservercentral.com
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx
http://www.databasejournal.com/features/mssql/article.php/3389831
vinu
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>
|||William,
You don't need to purchase the third party open file, SQL
agents to do SQL Server backups. They aren't used that often
and are often problematic - it's more common to just use
SQL Server native backups and backup to disk. Enterprise
backup software or tape backups can then just backup the SQL
Server backup file that you create with the SQL Server
native backup. As others have pointed out, you just use
T-SQL backup commands, you can schedule these using SQL
Server Agent.
-Sue
On Tue, 7 Nov 2006 15:16:17 +0800, "William Cheung"
<chun_hei@.msn.com> wrote:

>Dear All,
>does sql2005(std.) have any tools for backup whole database to file for
>other Backup software backup?
>thx,
>William
>

backup again

Dear All,
does sql2005(std.) have any tools for backup whole database to file for
other Backup software backup?
thx,
William
William
Can you elaborate a little bit? What are yopu trying to achive?
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>
|||Dear,
i want to backup the SQL Server while without advance backup software(CA,
symantec...).
reg,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
> William
> Can you elaborate a little bit? What are yopu trying to achive?
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>
|||Hi
See ,BACKUP DATABASE command in the BOL
"William Cheung" <chun_hei@.msn.com> wrote in message
news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
> Dear,
> i want to backup the SQL Server while without advance backup software(CA,
> symantec...).
> reg,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>
|||With SQL 2005 Standard Edition, you can create a "Maintenance Job" to backup
on schedule, or you can create a SQL Agent Job to execute a SQL Backup
command.
SQL Backup is quite robust, and you may be OK without any other software.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>
|||Hi,
can i be schedule run? how to restore? can you pls send me some reference
for futher study.
thx,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
> Hi
>
> See ,BACKUP DATABASE command in the BOL
>
>
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>
|||Hi
> can i be schedule run?
Sure, create a job with BACKUP DATABASE... command and schedule it
? how to restore?
Take a look at RESTORE DATABASE ...command in the BOL
?can you pls send me some reference
> for futher study.
Start with BOL (Books On Line ) which ships with SQL Server
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>
|||Hi
you have to create backup script first and schedule it through sql job.
Schedule depends on your requirements and how much data you can afford to
lose
Here is the very basic script
full backup
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,Name='myDBbackup'
differential
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,DIFFERENTIAL,Name='myDBbackup'
log
BACKUP LOG [myDB] TO DISK = N'c:\myDBbackup.bak' WITH NOINIT , NOUNLOAD ,
NAME = 'myDBbackup', NOSKIP , STATS = 10, NOFORMAT
You need to understand how restore works... BOL is the best tool..
You will get some custom script from the following site
www.sqlservercentral.com
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx
http://www.databasejournal.com/features/mssql/article.php/3389831
vinu
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>
|||William,
You don't need to purchase the third party open file, SQL
agents to do SQL Server backups. They aren't used that often
and are often problematic - it's more common to just use
SQL Server native backups and backup to disk. Enterprise
backup software or tape backups can then just backup the SQL
Server backup file that you create with the SQL Server
native backup. As others have pointed out, you just use
T-SQL backup commands, you can schedule these using SQL
Server Agent.
-Sue
On Tue, 7 Nov 2006 15:16:17 +0800, "William Cheung"
<chun_hei@.msn.com> wrote:

>Dear All,
>does sql2005(std.) have any tools for backup whole database to file for
>other Backup software backup?
>thx,
>William
>

backup again

Dear All,
does sql2005(std.) have any tools for backup whole database to file for
other Backup software backup?
thx,
WilliamWilliam
Can you elaborate a little bit? What are yopu trying to achive?
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>|||Dear,
i want to backup the SQL Server while without advance backup software(CA,
symantec...).
reg,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
> William
> Can you elaborate a little bit? What are yopu trying to achive?
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>> Dear All,
>> does sql2005(std.) have any tools for backup whole database to file for
>> other Backup software backup?
>> thx,
>> William
>|||Hi
See ,BACKUP DATABASE command in the BOL
"William Cheung" <chun_hei@.msn.com> wrote in message
news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
> Dear,
> i want to backup the SQL Server while without advance backup software(CA,
> symantec...).
> reg,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>> William
>> Can you elaborate a little bit? What are yopu trying to achive?
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>> Dear All,
>> does sql2005(std.) have any tools for backup whole database to file for
>> other Backup software backup?
>> thx,
>> William
>>
>|||With SQL 2005 Standard Edition, you can create a "Maintenance Job" to backup
on schedule, or you can create a SQL Agent Job to execute a SQL Backup
command.
SQL Backup is quite robust, and you may be OK without any other software.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>|||Hi,
can i be schedule run? how to restore? can you pls send me some reference
for futher study.
thx,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
> Hi
>
> See ,BACKUP DATABASE command in the BOL
>
>
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>> Dear,
>> i want to backup the SQL Server while without advance backup software(CA,
>> symantec...).
>> reg,
>> William
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>> William
>> Can you elaborate a little bit? What are yopu trying to achive?
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>> Dear All,
>> does sql2005(std.) have any tools for backup whole database to file for
>> other Backup software backup?
>> thx,
>> William
>>
>>
>|||Hi
> can i be schedule run?
Sure, create a job with BACKUP DATABASE... command and schedule it
? how to restore?
Take a look at RESTORE DATABASE ...command in the BOL
?can you pls send me some reference
> for futher study.
Start with BOL (Books On Line ) which ships with SQL Server
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>> Hi
>>
>> See ,BACKUP DATABASE command in the BOL
>>
>>
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>> Dear,
>> i want to backup the SQL Server while without advance backup
>> software(CA, symantec...).
>> reg,
>> William
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>> William
>> Can you elaborate a little bit? What are yopu trying to achive?
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>> Dear All,
>> does sql2005(std.) have any tools for backup whole database to file
>> for other Backup software backup?
>> thx,
>> William
>>
>>
>>
>|||Hi
you have to create backup script first and schedule it through sql job.
Schedule depends on your requirements and how much data you can afford to
lose
Here is the very basic script
full backup
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,Name='myDBbackup'
differential
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,DIFFERENTIAL,Name='myDBbackup'
log
BACKUP LOG [myDB] TO DISK = N'c:\myDBbackup.bak' WITH NOINIT , NOUNLOAD ,
NAME = 'myDBbackup', NOSKIP , STATS = 10, NOFORMAT
You need to understand how restore works... BOL is the best tool..
You will get some custom script from the following site
www.sqlservercentral.com
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx
http://www.databasejournal.com/features/mssql/article.php/3389831
vinu
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>> Hi
>>
>> See ,BACKUP DATABASE command in the BOL
>>
>>
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>> Dear,
>> i want to backup the SQL Server while without advance backup
>> software(CA, symantec...).
>> reg,
>> William
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>> William
>> Can you elaborate a little bit? What are yopu trying to achive?
>> "William Cheung" <chun_hei@.msn.com> wrote in message
>> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>> Dear All,
>> does sql2005(std.) have any tools for backup whole database to file
>> for other Backup software backup?
>> thx,
>> William
>>
>>
>>
>|||William,
You don't need to purchase the third party open file, SQL
agents to do SQL Server backups. They aren't used that often
and are often problematic - it's more common to just use
SQL Server native backups and backup to disk. Enterprise
backup software or tape backups can then just backup the SQL
Server backup file that you create with the SQL Server
native backup. As others have pointed out, you just use
T-SQL backup commands, you can schedule these using SQL
Server Agent.
-Sue
On Tue, 7 Nov 2006 15:16:17 +0800, "William Cheung"
<chun_hei@.msn.com> wrote:
>Dear All,
>does sql2005(std.) have any tools for backup whole database to file for
>other Backup software backup?
>thx,
>William
>

backup again

Dear All,
does sql2005(std.) have any tools for backup whole database to file for
other Backup software backup?
thx,
WilliamWilliam
Can you elaborate a little bit? What are yopu trying to achive?
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>|||Dear,
i want to backup the SQL Server while without advance backup software(CA,
symantec...).
reg,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
> William
> Can you elaborate a little bit? What are yopu trying to achive?
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
>|||Hi
See ,BACKUP DATABASE command in the BOL
"William Cheung" <chun_hei@.msn.com> wrote in message
news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
> Dear,
> i want to backup the SQL Server while without advance backup software(CA,
> symantec...).
> reg,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23x8xo3jAHHA.204@.TK2MSFTNGP04.phx.gbl...
>|||With SQL 2005 Standard Edition, you can create a "Maintenance Job" to backup
on schedule, or you can create a SQL Agent Job to execute a SQL Backup
command.
SQL Backup is quite robust, and you may be OK without any other software.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"William Cheung" <chun_hei@.msn.com> wrote in message
news:Ox1xeyjAHHA.3396@.TK2MSFTNGP02.phx.gbl...
> Dear All,
> does sql2005(std.) have any tools for backup whole database to file for
> other Backup software backup?
> thx,
> William
>|||Hi,
can i be schedule run? how to restore? can you pls send me some reference
for futher study.
thx,
William
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
> Hi
>
> See ,BACKUP DATABASE command in the BOL
>
>
> "William Cheung" <chun_hei@.msn.com> wrote in message
> news:uC8T4DkAHHA.3380@.TK2MSFTNGP04.phx.gbl...
>|||Hi
> can i be schedule run?
Sure, create a job with BACKUP DATABASE... command and schedule it
? how to restore?
Take a look at RESTORE DATABASE ...command in the BOL
?can you pls send me some reference
> for futher study.
Start with BOL (Books On Line ) which ships with SQL Server
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>|||Hi
you have to create backup script first and schedule it through sql job.
Schedule depends on your requirements and how much data you can afford to
lose
Here is the very basic script
full backup
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,Name='myDBbackup'
differential
BACKUP DATABASE [myDB] TO DISK=N'c:\myDBbackup.bak' WITH
NOINIT,DIFFERENTIAL,Name='myDBbackup'
log
BACKUP LOG [myDB] TO DISK = N'c:\myDBbackup.bak' WITH NOINIT , NOUNLOA
D ,
NAME = 'myDBbackup', NOSKIP , STATS = 10, NOFORMAT
You need to understand how restore works... BOL is the best tool..
You will get some custom script from the following site
www.sqlservercentral.com
http://www.microsoft.com/technet/pr...cle.php/3389831
vinu
"William Cheung" <chun_hei@.msn.com> wrote in message
news:OEfjMPkAHHA.2316@.TK2MSFTNGP04.phx.gbl...
> Hi,
> can i be schedule run? how to restore? can you pls send me some reference
> for futher study.
> thx,
> William
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%23SGqKKkAHHA.4808@.TK2MSFTNGP03.phx.gbl...
>|||William,
You don't need to purchase the third party open file, SQL
agents to do SQL Server backups. They aren't used that often
and are often problematic - it's more common to just use
SQL Server native backups and backup to disk. Enterprise
backup software or tape backups can then just backup the SQL
Server backup file that you create with the SQL Server
native backup. As others have pointed out, you just use
T-SQL backup commands, you can schedule these using SQL
Server Agent.
-Sue
On Tue, 7 Nov 2006 15:16:17 +0800, "William Cheung"
<chun_hei@.msn.com> wrote:

>Dear All,
>does sql2005(std.) have any tools for backup whole database to file for
>other Backup software backup?
>thx,
>William
>

Sunday, February 19, 2012

Backup / Server Hanging

We have a backup we run every day at 6:30am. Most days it
works fine, but every so often it will hang. We have
monitoring software that shows the backup is running by
the fact that I/O is occurring, but the backup won't
finish sometimes. As well, when it hangs the whole server
is hung. You can't even connect as Administrator to the
console. Any places to start looking?
Hi,
By anychance 2 backup process(Overlap) on same database will be fired
simulteneously. This can be a cause
fo this type of an issue.
Check if you have any scheduled task / Maintenance plan to backup which will
run in parellel some times.
Thanks
Hari
MCDBA
"Allan" <agrimshaw@.agricoreunited.com> wrote in message
news:1fa5001c45877$3bac5a00$a301280a@.phx.gbl...
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?
|||Check your server log, any error there?
Eric Li
SQL DBA
MCDBA
Allan wrote:

> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?
|||No messages anywhere. An error would be nice even.
Because the entire server freezes, nothing gets written to any logs.
The event log is clean, the SQL server log is clean, etc.
"Eric.Li" wrote:
[vbcol=seagreen]
> Check your server log, any error there?
> --
> Eric Li
> SQL DBA
> MCDBA
> Allan wrote:
|||I am guessing you are backing up the database.
Have you checked the SQL logs and the Event Viewer for any information?
Are you running the job from Query Analyzer or is it a SQL Agent job?
-Ben
Allan wrote:
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?
|||We have been running it via SQL Agent and it has been hanging.
We also tried running it manually via an isql window in software
called DBArtisan, and the output we got was:
BACKUP DATABASE [FDM] TO DISK = N'e:\MSSQL\BACKUP\FDMAM' WITH INIT ,
NOUNLOAD , NAME = N'FDM AM backup', SKIP , STATS = 10, NOFORMAT
10 percent backed up.
20 percent backed up.
30 percent backed up.
40 percent backed up.
50 percent backed up.
60 percent backed up.
70 percent backed up.
80 percent backed up.
90 percent backed up.
Processed 461584 pages for database 'FDM', file 'FDM_Data' on file 1.
100 percent backed up.
Processed 2 pages for database 'FDM', file 'FDM_Log' on file 1.
BACKUP DATABASE successfully processed 461586 pages in 260.431 seconds (14.519 MB/sec).
But we did received a message:
13:05:24.286 DBMS AU-FRX-SQL -- Unknown Database Error
Of note:
DBCC commands have all come back clean.
Ben wrote:
[vbcol=seagreen]
> I am guessing you are backing up the database.
> Have you checked the SQL logs and the Event Viewer for any information?
> Are you running the job from Query Analyzer or is it a SQL Agent job?
> -Ben
> Allan wrote:

Backup / Server Hanging

We have a backup we run every day at 6:30am. Most days it
works fine, but every so often it will hang. We have
monitoring software that shows the backup is running by
the fact that I/O is occurring, but the backup won't
finish sometimes. As well, when it hangs the whole server
is hung. You can't even connect as Administrator to the
console. Any places to start looking?Hi,
By anychance 2 backup process(Overlap) on same database will be fired
simulteneously. This can be a cause
fo this type of an issue.
Check if you have any scheduled task / Maintenance plan to backup which will
run in parellel some times.
Thanks
Hari
MCDBA
"Allan" <agrimshaw@.agricoreunited.com> wrote in message
news:1fa5001c45877$3bac5a00$a301280a@.phx.gbl...
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||Check your server log, any error there?
--
Eric Li
SQL DBA
MCDBA
Allan wrote:
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||No messages anywhere. An error would be nice even.
Because the entire server freezes, nothing gets written to any logs.
The event log is clean, the SQL server log is clean, etc.
"Eric.Li" wrote:
> Check your server log, any error there?
> --
> Eric Li
> SQL DBA
> MCDBA
> Allan wrote:
> > We have a backup we run every day at 6:30am. Most days it
> > works fine, but every so often it will hang. We have
> > monitoring software that shows the backup is running by
> > the fact that I/O is occurring, but the backup won't
> > finish sometimes. As well, when it hangs the whole server
> > is hung. You can't even connect as Administrator to the
> > console. Any places to start looking?|||I am guessing you are backing up the database.
Have you checked the SQL logs and the Event Viewer for any information?
Are you running the job from Query Analyzer or is it a SQL Agent job?
-Ben
Allan wrote:
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||We have been running it via SQL Agent and it has been hanging.
We also tried running it manually via an isql window in software
called DBArtisan, and the output we got was:
BACKUP DATABASE [FDM] TO DISK = N'e:\MSSQL\BACKUP\FDMAM' WITH INIT ,
NOUNLOAD , NAME = N'FDM AM backup', SKIP , STATS = 10, NOFORMAT
10 percent backed up.
20 percent backed up.
30 percent backed up.
40 percent backed up.
50 percent backed up.
60 percent backed up.
70 percent backed up.
80 percent backed up.
90 percent backed up.
Processed 461584 pages for database 'FDM', file 'FDM_Data' on file 1.
100 percent backed up.
Processed 2 pages for database 'FDM', file 'FDM_Log' on file 1.
BACKUP DATABASE successfully processed 461586 pages in 260.431 seconds (14.519 MB/sec).
But we did received a message:
13:05:24.286 DBMS AU-FRX-SQL -- Unknown Database Error
Of note:
DBCC commands have all come back clean.
Ben wrote:
> I am guessing you are backing up the database.
> Have you checked the SQL logs and the Event Viewer for any information?
> Are you running the job from Query Analyzer or is it a SQL Agent job?
> -Ben
> Allan wrote:
> > We have a backup we run every day at 6:30am. Most days it
> > works fine, but every so often it will hang. We have
> > monitoring software that shows the backup is running by
> > the fact that I/O is occurring, but the backup won't
> > finish sometimes. As well, when it hangs the whole server
> > is hung. You can't even connect as Administrator to the
> > console. Any places to start looking?

Backup / Server Hanging

We have a backup we run every day at 6:30am. Most days it
works fine, but every so often it will hang. We have
monitoring software that shows the backup is running by
the fact that I/O is occurring, but the backup won't
finish sometimes. As well, when it hangs the whole server
is hung. You can't even connect as Administrator to the
console. Any places to start looking?Hi,
By anychance 2 backup process(Overlap) on same database will be fired
simulteneously. This can be a cause
fo this type of an issue.
Check if you have any scheduled task / Maintenance plan to backup which will
run in parellel some times.
Thanks
Hari
MCDBA
"Allan" <agrimshaw@.agricoreunited.com> wrote in message
news:1fa5001c45877$3bac5a00$a301280a@.phx
.gbl...
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||Check your server log, any error there?
Eric Li
SQL DBA
MCDBA
Allan wrote:

> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||No messages anywhere. An error would be nice even.
Because the entire server freezes, nothing gets written to any logs.
The event log is clean, the SQL server log is clean, etc.
"Eric.Li" wrote:
[vbcol=seagreen]
> Check your server log, any error there?
> --
> Eric Li
> SQL DBA
> MCDBA
> Allan wrote:
>|||I am guessing you are backing up the database.
Have you checked the SQL logs and the Event Viewer for any information?
Are you running the job from Query Analyzer or is it a SQL Agent job?
-Ben
Allan wrote:
> We have a backup we run every day at 6:30am. Most days it
> works fine, but every so often it will hang. We have
> monitoring software that shows the backup is running by
> the fact that I/O is occurring, but the backup won't
> finish sometimes. As well, when it hangs the whole server
> is hung. You can't even connect as Administrator to the
> console. Any places to start looking?|||We have been running it via SQL Agent and it has been hanging.
We also tried running it manually via an isql window in software
called DBArtisan, and the output we got was:
BACKUP DATABASE [FDM] TO DISK = N'e:\MSSQL\BACKUP\FDMAM' WITH INIT ,
NOUNLOAD , NAME = N'FDM AM backup', SKIP , STATS = 10, NOFORMAT
10 percent backed up.
20 percent backed up.
30 percent backed up.
40 percent backed up.
50 percent backed up.
60 percent backed up.
70 percent backed up.
80 percent backed up.
90 percent backed up.
Processed 461584 pages for database 'FDM', file 'FDM_Data' on file 1.
100 percent backed up.
Processed 2 pages for database 'FDM', file 'FDM_Log' on file 1.
BACKUP DATABASE successfully processed 461586 pages in 260.431 seconds (14.5
19 MB/sec).
But we did received a message:
13:05:24.286 DBMS AU-FRX-SQL -- Unknown Database Error
Of note:
DBCC commands have all come back clean.
Ben wrote:
[vbcol=seagreen]
> I am guessing you are backing up the database.
> Have you checked the SQL logs and the Event Viewer for any information?
> Are you running the job from Query Analyzer or is it a SQL Agent job?
> -Ben
> Allan wrote: