473,569 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2763
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******@pcdata sheet.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.ne t
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.c om:
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
2153
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 indicates that it should not be used in a production environment, yet the SQL2005 seminars I've been to indicate that this is a worthy option. ...
5
6220
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
4390
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 rolled forward to a point in time that is emcompassed in the local copy of the database log. (Microsoft SQL Server, Error: 1412)" Both SQL Server...
0
3036
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 cilck on the "start mirroring" button can anybody know about mirroring
5
5860
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 every time with the following error message: Incorrect syntax near '.'. (Error 102) Incorrect syntax near the keyword 'with'. If this statement is...
0
1633
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 will take over database server's work just thats i know.But i dont know how to implement that thing.So plz if any one knows help me step by step of...
1
3077
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 replicate or mirror the database to the backup server and do a manual or automatic failover in case of outage(more than likely manual). Wondering right...
2
2209
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 it as FinalMirror 3. Right clicked on the database Tasks-backup-BackupType--Full--Ok created FinalMirror.bak 4. Right clicked on the database...
0
1198
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 will take? How many hours it will take to setup everything? I have to give the approximate time to complete thhis to my department manager. I...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7679
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.