i currently am using: sharepoint portal 2003 / windows sharepoint
services with sp2 and sql 2000 with sp4.
i'm trying to develop a database maintenance plan in sql 2000. so far,
to get past the
QUOTED_IDENTIFIER, i've added -SupportComputedColumn to the T-SQL code
in the steps, but since sharepoint actively keeps a connection to the
database, i'm unable to backup the transaction logs.
i tried adding something like this:
use master
go
alter database db1_prod set single_user with rollback immediate
go
...and it didn't work. anyone have a better idea?
thanks!
Regarding the statement:
"but since sharepoint actively keeps a connection to the
database, i'm unable to backup the transaction logs."
You can do database and log backups while the database is in use. You
don't need to drop any connections to perform the backup.
-Sue
On 21 Nov 2006 07:13:18 -0800, eric.olson@.gmail.com wrote:
>i currently am using: sharepoint portal 2003 / windows sharepoint
>services with sp2 and sql 2000 with sp4.
>i'm trying to develop a database maintenance plan in sql 2000. so far,
>to get past the
>QUOTED_IDENTIFIER, i've added -SupportComputedColumn to the T-SQL code
>in the steps, but since sharepoint actively keeps a connection to the
>database, i'm unable to backup the transaction logs.
>i tried adding something like this:
>use master
>go
>alter database db1_prod set single_user with rollback immediate
>go
>...and it didn't work. anyone have a better idea?
>thanks!
|||i took off the 'attempt to repair minor problems' but still get errors
with the master and msdb databases backup. perhaps i need to make a
separate database maintenance plan for those two, and only have them
backup and not touch the transaction logs?
Tibor Karaszi wrote:[vbcol=seagreen]
> Backup log is perfectly possible while users are connected to the database. My guess is that your
> integrity check has the "attempt to repair minor problems" checked. This is a bad option in the
> first place. I suggest you remove that option.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> <eric.olson@.gmail.com> wrote in message
> news:1164121998.074547.209600@.f16g2000cwb.googlegr oups.com...
Thursday, March 8, 2012
database maintenance plan
Labels:
database,
develop,
maintenance,
microsoft,
mysql,
oracle,
plan,
portal,
server,
sharepoint,
sharepointservices,
sp2,
sp4,
sql,
windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment