473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Mirroring Database

Hello

Does anyone know if there's a way to mirror data from a backend database to
a second database?

Example: When writing data to one database it would mirror the data in a
second database for backup
and then if anything should happen to the first database the user could
switch to the second backup database.

I can see it done be writing a lot of code but is there a way that it could
be done automatically.

Thanks
G.Gerard
Nov 13 '05 #1
6 2749
There is no builtin feature for this.

You could write code. It might be better to invest in a server database that
has high availablilty, reliability, and recoverability features. In most
cases, you can still use much of your Access database application as the
client to the server database.

Larry Linson
Microsoft Access MVP

"GGerard" <gg*****@nbnet.nb.ca> wrote in message
news:SX**********************@ursa-nb00s0.nbnet.nb.ca...
Hello

Does anyone know if there's a way to mirror data from a backend database to a second database?

Example: When writing data to one database it would mirror the data in a
second database for backup
and then if anything should happen to the first database the user could
switch to the second backup database.

I can see it done be writing a lot of code but is there a way that it could be done automatically.

Thanks
G.Gerard

Nov 13 '05 #2
Use a split database with two backends. If something happens to the first
backend, have a button in the front end with code to change the connection
string of all the tables to the second database.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"GGerard" <gg*****@nbnet.nb.ca> wrote in message
news:SX**********************@ursa-nb00s0.nbnet.nb.ca...
Hello

Does anyone know if there's a way to mirror data from a backend database to a second database?

Example: When writing data to one database it would mirror the data in a
second database for backup
and then if anything should happen to the first database the user could
switch to the second backup database.

I can see it done be writing a lot of code but is there a way that it could be done automatically.

Thanks
G.Gerard

Nov 13 '05 #3
GGerard wrote:
Hello

Does anyone know if there's a way to mirror data from a backend database to
a second database?

Example: When writing data to one database it would mirror the data in a
second database for backup
and then if anything should happen to the first database the user could
switch to the second backup database.

I can see it done be writing a lot of code but is there a way that it could
be done automatically.


For hardware failures, simply use mirrored disks on the server or more
esoteric RAID 0+1, 5, 10, 50, etc.

There are other options such as SFT servers (mirrored servers) but how
effective they are for Access back ends I don't know, I've no experience
of them so can't comment on how regular they replicate themselves.

Trouble with hardware based fault tolerance such as mirroring is that
any software faults are duplicated as well, rendering the mirror as
useless as the original.

As others have said, not a lot you can do in Access to mirror the
database in real time except write a lot of code to do it. I generally
use SQL Server for back ends nowadays and since version 7.0 I find it
nigh on impossible to break a database in any way, even by powering down
a server mid transaction, it either rolls forward or rolls back the
transactions in progress upon next power up, it's extremely robust.

--

\\\\\\
\\ \\ Windows is searching
\ \ For your sig.
\ \ Please Wait.
\__\

Nov 13 '05 #4
In message <SX**********************@ursa-nb00s0.nbnet.nb.ca>, GGerard
<gg*****@nbnet.nb.ca> writes
Hello

Does anyone know if there's a way to mirror data from a backend database to
a second database?


There's no simple software solution using Access. You could do it with
some coding.

You may be able to implement a RAID solution, how you do that will
depend on your hardware and operating system.

If you were using SQL Server, MySQL, Oracle or something similar as your
back-end database you could use replication.

--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.

Nov 13 '05 #5
You could use Access' Replication, and use a timer on a hidden form to
synchronize the data on a specified schedule (e.g. every 5 minutes or
so...)

On Mon, 06 Sep 2004 01:20:50 GMT, "GGerard" <gg*****@nbnet.nb.ca>
wrote:
Hello

Does anyone know if there's a way to mirror data from a backend database to
a second database?

Example: When writing data to one database it would mirror the data in a
second database for backup
and then if anything should happen to the first database the user could
switch to the second backup database.

I can see it done be writing a lot of code but is there a way that it could
be done automatically.

Thanks
G.Gerard

**********************
ja**************@telusTELUS.net
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
Nov 13 '05 #6
Jack MacDonald <ja**************@telus.net> wrote in
news:23********************************@4ax.com:
You could use Access' Replication, and use a timer on a hidden
form to synchronize the data on a specified schedule (e.g. every 5
minutes or so...)


Or you could use the synchronizer that comes with the developer
tools and MichKa's TSI Synchronizer (which provides an interface to
a lot of functionality that is otherwise not exposed) and schedule
the synchs that way, so they'd happen independent of a perticular
front end being opened.

The Replication Manager scheduling interface allows a minimum
sheduled synch interval of 15 minutes.

But I'm having a really hard time conceiving of an application where
Jet would be an appropriate data store that would need higher
granularity than that.

Indeed, I think the whole scheme of mirroring is probably a mistake
-- if you really need that kind of reliability, Jet is the wrong
tool. And if you're trying to work around corruption issues, then
you should solve those problems instead of multiplying your problems
by introducing more code and more tasks that could fail.

One caveat for scheduled synchs in a replicated database: make sure
that all your memo fields are unbound, because if a scheduled synch
occurs while a memo is being edited, you can corrupt the source MDB.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ryan | last post by:
I'm devlving into 2005 and specifically mirroring. Having read the following article ( http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx ), is mirroring a sensible option as it...
5
by: d.grabov | last post by:
Can anyone offer some advice on how to reduce the size of a database log. The database is mirrored on another server using the logs. Thanks
0
by: serge | last post by:
I have 2 SQL Enterprise Editions running SP2 and same collation. When i try to start database mirroring I get the following error message: "The remote copy of database "ABC" has not been...
0
by: umeshpotdar | last post by:
i am doing mirroring on the data base i have done every step but i got problem below "Database Mirroring Transport is disabled in the endpoint configuration." this problem occured when i...
5
by: bosko19 | last post by:
We have recently set up two SQL Server 2005 Standard Edition servers with database mirroring. The mirrors function and fail over without a problem, but the Database Mirroring Monitor Job fails...
0
by: vishnutd4u | last post by:
Hi friends, This is vishnu.Here in our company we have decided to implement database mirroring in mysql.Database mirroring means just when one database server is down the backup database server...
1
by: mmark751969 | last post by:
We have a sql server 2000 sp3 server on a win2k3 server standard edition. This is on dell hardware with a dell scsi dasd enclosure directly attached. We want to duplicate the hardware and...
2
by: cmrhema | last post by:
Hi, All I underwent the following Steps for creating a mirror in sql server 2005. 1. Downloaded and isntalled sp2 in principal,mirror as well as witness servers 2. Created a new database named...
0
by: pratimapaudel | last post by:
I need to do the mirroring of my company's production DataBase. I am not planning to setup the witness server. I am planning to do mirroring between two servers only. Can anyone tell me how long it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.