473,786 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create a back-end copy while it is still in use.

I have a situation where I need to create a copy of the back-end for a person
who goes on the road (Remote Back-End). It needs to be as current as
possible, so this will generally mean that others are accessing the main back-
end at the time we need to create the copy.

In reading through some posts, VB FileCopy won't work (which I've tested). I
also tested fso.CopyFile (file scripting) and that seems to always be able to
create a copy even if the main back-end file is in use. But it seems
dangerous to use this.

Other suggestions. I think someone suggested deleting all tables in the
remote back-end and then exporting the tables from the main backend to the
remote backend. If this is a good way to do this, is there code available
for doing this. I'm an intermediate programmer, but I'm weak on dealing with
Make table queries, etc.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200608/1

Aug 9 '06 #1
6 1514
rdemyan via AccessMonster.c om wrote:
I have a situation where I need to create a copy of the back-end for a person
who goes on the road (Remote Back-End). It needs to be as current as
possible, so this will generally mean that others are accessing the main back-
end at the time we need to create the copy.

In reading through some posts, VB FileCopy won't work (which I've tested). I
also tested fso.CopyFile (file scripting) and that seems to always be able to
create a copy even if the main back-end file is in use. But it seems
dangerous to use this.

Other suggestions. I think someone suggested deleting all tables in the
remote back-end and then exporting the tables from the main backend to the
remote backend. If this is a good way to do this, is there code available
for doing this. I'm an intermediate programmer, but I'm weak on dealing with
Make table queries, etc.
Go to explorer
Select the file.
Ctrl+C/Ctlr+V

I've never had a problem with this method. Maybe others have. I'll go
with what works until it doesn't.
Aug 9 '06 #2
Yes, but someone may be accessing data or worse writing data to the back-end
file during the copying process in Explorer.

salad wrote:
>I have a situation where I need to create a copy of the back-end for a person
who goes on the road (Remote Back-End). It needs to be as current as
[quoted text clipped - 11 lines]
>for doing this. I'm an intermediate programmer, but I'm weak on dealing with
Make table queries, etc.

Go to explorer
Select the file.
Ctrl+C/Ctlr+V

I've never had a problem with this method. Maybe others have. I'll go
with what works until it doesn't.
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200608/1

Aug 9 '06 #3
rdemyan via AccessMonster.c om wrote:
Yes, but someone may be accessing data or worse writing data to the back-end
file during the copying process in Explorer.
True. You mentioned "It needs to be as current". The way I view
backups is that a backup is a snapshot of the way things were at the
exact second the copy was made. If you want a perfect backup, get
everyone out, make a copy, let them back in. Within minutes the backup
is out of date as people start adding/modifying records.

Actually, a good method for your traveling user is GoToMyPC if he can
connect to the internet. If he's on broadband it's almost like he's at
the home office.

Aug 9 '06 #4
Actually, by worse I was referring to potential corruption. I'd like the
data to be as current as practical, but my real concern is avoiding
corruption.

Thanks.

salad wrote:
>Yes, but someone may be accessing data or worse writing data to the back-end
file during the copying process in Explorer.

True. You mentioned "It needs to be as current". The way I view
backups is that a backup is a snapshot of the way things were at the
exact second the copy was made. If you want a perfect backup, get
everyone out, make a copy, let them back in. Within minutes the backup
is out of date as people start adding/modifying records.

Actually, a good method for your traveling user is GoToMyPC if he can
connect to the internet. If he's on broadband it's almost like he's at
the home office.
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200608/1

Aug 9 '06 #5
rdemyan via AccessMonster.c om wrote:
Actually, by worse I was referring to potential corruption. I'd like the
data to be as current as practical, but my real concern is avoiding
corruption.
Like I said b4, I've never had a problem with it. If I did, I'd stop
that method, kick everyone out, and then create one. Usually I do my
method so I can do testing on the database.

Aug 10 '06 #6
Bri

salad wrote:
rdemyan via AccessMonster.c om wrote:
>Actually, by worse I was referring to potential corruption. I'd like
the
data to be as current as practical, but my real concern is avoiding
corruption.


Like I said b4, I've never had a problem with it. If I did, I'd stop
that method, kick everyone out, and then create one. Usually I do my
method so I can do testing on the database.
I would think that if you make the copy while data is being written to a
table (particularly one with indexes) that the chance of the COPY being
corrupt are definately possible. The data could be out of sync with the
index, a Parent Table could be out of sync with its child records, etc.
I doubt that the original DB would ever be corrupted by this, but others
may know more.

--
Bri

Aug 14 '06 #7

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

Similar topics

1
2634
by: D. Lee Christopher | last post by:
Can anyone point me to a good tutorial for creating a site-level search applet? I am trying to create a virtual catalog of sorts, and I would like to be able to search the catalog and have the results displayed on the same page with one column text and an image of the product. I've seen several tutorials that create site-level searches that will bring back a search results page with options to choose from. I am looking to create a...
5
2284
by: Nick Li | last post by:
Hi, I need to create a html page so that "Back" button(or some other button) is disabled in IE browser. I would appreciate your help. Nick Li
3
1406
by: Allan Lembo | last post by:
Hi Folks If I create a new instance of an object within a method how can I pass it back by reference? For example, the following code, in the context of an ASP.NET page, returns "Original Label". Why not "New Label"? I realise I could give CreateSomething a return type of Label and return it that way but in my case I have more than one parameter that could need reinstancing.
9
2309
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test server from the 1st machine, but I receive an 'HTTP/1.1 500 Internal Server error" from my Web Server. My userid/password are the same on all 3 machines.
4
1669
by: Dan Aldean | last post by:
Hi, I create a WEB application and I use a textbox, server control. It does not have an OnClick event. Is it possible to create one? Thanks
4
5611
by: Iacopo.Marmo | last post by:
Hi! I need to manipulate multicolor strings, i.e. strings with a color associated with each letter. Any suggestions?
7
1996
by: =?Utf-8?B?SlA=?= | last post by:
I need to design a WS that will after authenicating the user, create a cookie on the users PC that made the request. All the code I keep finding is how to get a WS to read a cookie, I need it to create one. The below code doesnt add the cookie to my cache. However if I place this in an non asmx page its fine Any help you offer is apperiated public string CreateToken(string User, string App, string County) {
2
2519
by: jobo | last post by:
I'm sure there's some way to do this simply but I'm new to Javascript. So I'm creating an application that interacts with google maps and everytime the user pans around the map I want it to send its coordinates back to the server to generate an XML object with a bunch of markers that google maps will plot back onto the map. The problem is that I have no idea how to query SQL to create this XML object from javascript. I have already...
2
2376
by: roadworrier | last post by:
I'm trying to create a new object to use as an associative array automatically. I can programmatically create new variables like this: for (var i; i < 10; i++) { window; window = "moo" + i; } // now I have foo0,foo1, foo2, foo3... foo9
7
4109
by: Lucas_london via AccessMonster.com | last post by:
Hi I have set up a database/tables in Access based on daily timeseries data. However I would like to create two additional columns in the table as a basis to pull the data on a weekly and monthly series basis. Currently, in excel I am using the weekday and EOMONTH functions to create the flags/indicator in my excel dataset: (Cells in column A contains daily dates)
0
10360
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9960
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.