Running SQL Server 2K. I use transactional Replication.
It is sometimes necessary to take precautionary backups during
business hours for various reasons. However, I have noted
that backups made while replication is running can not be made
without causing an error during Restore. Is there a
workaround for this, or does Replication need to be diabled
prior to
backup?
Thanks,
Tom
Tom,
if you mean the error from the Log Reader Agent because it detects that the
Distributor is ahead of the Publisher, you can run sp_replrestart in the
publication database with no parameters. This forces replication to continue
even if the Distributor and some Subscribers may now have data that the
Publisher no longer has. If not, please can you post up the error message.
HTH,
Paul Ibison
|||exactly what is the error you get during the restore?
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
<tkane@.yamner.com> wrote in message
news:c14f01c4385d$32a6e950$a401280a@.phx.gbl...
> Running SQL Server 2K. I use transactional Replication.
> It is sometimes necessary to take precautionary backups during
> business hours for various reasons. However, I have noted
> that backups made while replication is running can not be made
> without causing an error during Restore. Is there a
> workaround for this, or does Replication need to be diabled
> prior to
> backup?
> Thanks,
> Tom
Showing posts with label various. Show all posts
Showing posts with label various. Show all posts
Saturday, February 25, 2012
Backup and Restore
Labels:
backup,
backups,
database,
duringbusiness,
microsoft,
mysql,
necessary,
oracle,
precautionary,
replication,
restore,
running,
server,
sql,
transactional,
various
Backup and Restiore
Running SQL Server 2K. I use transactional Replication.
It is sometimes necessary to take precautionary backups
during business hours for various reasons. However, I have
noted that backups made while replication is running can
not be made without causing an error during Restore. Is
there a workaround for this, or does Replication need to be
diabled prior to backup?
Thanks,
TomWhat error do you see during restore? To keep replication during a restore
you have to use TSQL and specify the KEEP_Replication option. However,
without this option it should restore fine, it will just strip out the
replication. The option is not available in Enterprise Manager.
Cindy Gross, MCDBA, MCSE
http://cindygross.tripod.com
This posting is provided "AS IS" with no warranties, and confers no rights.
It is sometimes necessary to take precautionary backups
during business hours for various reasons. However, I have
noted that backups made while replication is running can
not be made without causing an error during Restore. Is
there a workaround for this, or does Replication need to be
diabled prior to backup?
Thanks,
TomWhat error do you see during restore? To keep replication during a restore
you have to use TSQL and specify the KEEP_Replication option. However,
without this option it should restore fine, it will just strip out the
replication. The option is not available in Enterprise Manager.
Cindy Gross, MCDBA, MCSE
http://cindygross.tripod.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Labels:
backup,
backupsduring,
business,
database,
microsoft,
mysql,
necessary,
oracle,
precautionary,
replication,
restiore,
running,
server,
sql,
transactional,
various
Subscribe to:
Posts (Atom)