Here's my plan for creating nightly backups of the production back-end file
(the IT staff in their infinite wisdom have prevented use of Windows
Scheduler and users do not have administrative rights to Windows).
Candace Tripp has an automatic backing up program that I modified for our
use. You can schedule a time for the backup to occur. Since Windows task
scheduler is not available to us, this means that the auto backup program
will have to remain open.
Now this auto backup program will reside on the local PC. A back-end file on
the server will be specified to be backed up to a folder called 'Backups'
also on the server. I think I read somewhere that it is not a good idea to
backup back-end files from one location to another (i.e. server to PC or one
server to another).
My plan seems simple and reasonable to me but am I missing anything that I
should be aware of.
Thanks.
--
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200608/1 18 1955
"rdemyan via AccessMonster.c om" <u6836@uwewro te
I think I read somewhere that it is not a
good idea to backup back-end files from
one location to another (i.e. server to PC or one
server to another).
Do you remember reading "why" it would not be a good idea?
It's only my opinion, but influenced by
multiple-average-programmer-lifetimes in the business, that should that
"backup folder" happen to be on the same physical drive, and that physical
drive were to go belly-up, it would have been A Very Good Idea Indeed to
have backed up to a different locale.
A backup of an Access database is a simple matter of getting everyone logged
off, which is not a terribly difficult thing to do, and doing a file copy
(or a Compact and Repair).
My plan seems simple and reasonable to me but
am I missing anything that I should be aware of.
See the above.
I can't comment on Candace Tripp's "automatic backing up program," as I am
not familiar with it.
Are you really serious that the IT department will not work with a user
department to assure that vital business information is backed up? I've had
to deal with some pretty hard-@@@ IT departments in my time, but none who
wanted an escalation up through the user's chain of command to the top
level, and then have that descend through their chain of command that they
were "putting vital business data at risk." And, the usual, "we take a disk
image every morning at X AM" doesn't work all the time for Access/Jet
databases, unless you assure that no one is logged in to your database when
the disk image is made.
Larry Linson
Microsoft Access MVP
Candace's program is very nice and convenient. Code was relatively easy to
understand even for this novice, so I was able to customize to our needs.
Yeah, I was wondering about backing up to the same server. But I'm sure I
saw discussions on the pitfalls of using FileCopy across a network connection
[admittedly this was at least 6 months ago and I've recently added yet
another year on to my calendar :) ].
Larry Linson wrote:
I think I read somewhere that it is not a
good idea to backup back-end files from
one location to another (i.e. server to PC or one
server to another).
Do you remember reading "why" it would not be a good idea?
It's only my opinion, but influenced by multiple-average-programmer-lifetimes in the business, that should that "backup folder" happen to be on the same physical drive, and that physical drive were to go belly-up, it would have been A Very Good Idea Indeed to have backed up to a different locale.
A backup of an Access database is a simple matter of getting everyone logged off, which is not a terribly difficult thing to do, and doing a file copy (or a Compact and Repair).
My plan seems simple and reasonable to me but
am I missing anything that I should be aware of.
See the above.
I can't comment on Candace Tripp's "automatic backing up program," as I am not familiar with it.
Are you really serious that the IT department will not work with a user department to assure that vital business information is backed up? I've had to deal with some pretty hard-@@@ IT departments in my time, but none who wanted an escalation up through the user's chain of command to the top level, and then have that descend through their chain of command that they were "putting vital business data at risk." And, the usual, "we take a disk image every morning at X AM" doesn't work all the time for Access/Jet databases, unless you assure that no one is logged in to your database when the disk image is made.
Larry Linson
Microsoft Access MVP
--
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200608/1
"Larry Linson" <bo*****@localh ost.notwrote in message
news:intCg.8797 $7m5.5740@trndd c05...
"rdemyan via AccessMonster.c om" <u6836@uwewro te
I think I read somewhere that it is not a
good idea to backup back-end files from
one location to another (i.e. server to PC or one
server to another).
Do you remember reading "why" it would not be a good idea?
It's only my opinion, but influenced by
multiple-average-programmer-lifetimes in the business, that should that
"backup folder" happen to be on the same physical drive, and that physical
drive were to go belly-up, it would have been A Very Good Idea Indeed to
have backed up to a different locale.
A backup of an Access database is a simple matter of getting everyone
logged off, which is not a terribly difficult thing to do, and doing a
file copy (or a Compact and Repair).
<snip>
Hi Larry.
Can the database be backed up even though everyone's not "logged off". I've
got a fairly simple database (about 12 tables on the back end) and I'm
having the user do an xcopy from main computer to another, then that 2nd
computer is backed up to tape every so often. I've never had the user run
into an error message when copying the database to the 2nd computer, and
they do that twice a day regardless if some other computer may have that
back end open or not. Although the other users may leave their computer in
the database, the backup from computer to computer is done at a time when no
one would normally be inputting data.
I've taken that file a couple times (the backup) and put it on my system and
just checked around, and they've never been missing anything (that I can
see). Am I asking for trouble here?
Thanks
ron
Ron:
In some of the research I've been doing, it appears that most agree that when
you make a copy while a backend is in use, there is the potential for
corruption. Like you, I personally have not experienced this. The general
consensus seems to be that it is the copy that will be corrupted and not the
main backend (but I don't know if this is guaranteed).
Hopefully, some others will respond.
Ron wrote:
I think I read somewhere that it is not a
good idea to backup back-end files from
[quoted text clipped - 12 lines]
>logged off, which is not a terribly difficult thing to do, and doing a file copy (or a Compact and Repair).
<snip>
Hi Larry.
Can the database be backed up even though everyone's not "logged off". I've got a fairly simple database (about 12 tables on the back end) and I'm having the user do an xcopy from main computer to another, then that 2nd computer is backed up to tape every so often. I've never had the user run into an error message when copying the database to the 2nd computer, and they do that twice a day regardless if some other computer may have that back end open or not. Although the other users may leave their computer in the database, the backup from computer to computer is done at a time when no one would normally be inputting data.
I've taken that file a couple times (the backup) and put it on my system and just checked around, and they've never been missing anything (that I can see). Am I asking for trouble here?
Thanks ron
--
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200608/1
"rdemyan via AccessMonster.c om" <u6836@uwewro te in
news:6487a1e1ca 930@uwe:
I think I read somewhere that it is not a good idea to
backup back-end files from one location to another (i.e. server to
PC or one server to another).
Perhaps replication was involved? That's the only situation where I
can think that this would be a problem.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
"Larry Linson" <bo*****@localh ost.notwrote in
news:intCg.8797 $7m5.5740@trndd c05:
A backup of an Access database is a simple matter of getting
everyone logged off, which is not a terribly difficult thing to
do, and doing a file copy (or a Compact and Repair).
You could get a live backup except for the latest unsaved updates to
records currently being edited, by copying the data in code.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Ron wrote:
"Larry Linson" <bo*****@localh ost.notwrote in message
news:intCg.8797 $7m5.5740@trndd c05...
"rdemyan via AccessMonster.c om" <u6836@uwewro te
I think I read somewhere that it is not a
good idea to backup back-end files from
one location to another (i.e. server to PC or one
server to another).
Do you remember reading "why" it would not be a good idea?
It's only my opinion, but influenced by
multiple-average-programmer-lifetimes in the business, that should that
"backup folder" happen to be on the same physical drive, and that physical
drive were to go belly-up, it would have been A Very Good Idea Indeed to
have backed up to a different locale.
A backup of an Access database is a simple matter of getting everyone
logged off, which is not a terribly difficult thing to do, and doing a
file copy (or a Compact and Repair).
<snip>
Hi Larry.
Can the database be backed up even though everyone's not "logged off". I've
got a fairly simple database (about 12 tables on the back end) and I'm
having the user do an xcopy from main computer to another, then that 2nd
computer is backed up to tape every so often. I've never had the user run
into an error message when copying the database to the 2nd computer, and
they do that twice a day regardless if some other computer may have that
back end open or not. Although the other users may leave their computer in
the database, the backup from computer to computer is done at a time when no
one would normally be inputting data.
I've taken that file a couple times (the backup) and put it on my system and
just checked around, and they've never been missing anything (that I can
see). Am I asking for trouble here?
Thanks
ron
If no-one is using data then they may not have an open connection to
the database.
There are a few ways to make sure everyone is logged off.
You can write code to list all the open connections to the backend, if
connections are found report it (email, log table, or whatever saying
backup failed).
You can also put a flag in the backend that will get checked by every
front-end every X minutes. If the flag is set each front end will then
trigger a log out/shut down automatically.
regards,
Br@dley
Yes, I was wondering about this possibility.
Can you point me to some code?
Thanks.
David W. Fenton wrote:
>A backup of an Access database is a simple matter of getting everyone logged off, which is not a terribly difficult thing to do, and doing a file copy (or a Compact and Repair).
You could get a live backup except for the latest unsaved updates to records currently being edited, by copying the data in code.
--
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200608/1
"rdemyan via AccessMonster.c om" <u6836@uwewro te in
news:648b8648d5 987@uwe:
David W. Fenton wrote:
>>A backup of an Access database is a simple matter of getting everyone logged off, which is not a terribly difficult thing to do, and doing a file copy (or a Compact and Repair).
You could get a live backup except for the latest unsaved updates to records currently being edited, by copying the data in code.
Yes, I was wondering about this possibility.
Can you point me to some code?
I don't have any, but it oughtn't be too hard to put together. Once
you've written it for one table, you could easily repurpose the code
to process a batch of tables. You could copy the table structures,
then append the data, or use a template MDB with the empty table
structures and then append the data to a copy of the template MDB.
I'd certainly do the latter myself, as the code needed to fully
replicate all the properties in an Access table is actually quite
complex.
There's also Lyle's old SaveAsText method:
objAccess.Appli cation.SaveAsTe xt 6, vbNullString, "MyDatabase.mdb "
but I've never figured out a way to run it from the front end to
back up a back end. If you were satisfied with running it in the
back end, it would be pretty easy to set up a startup form to
capture a startup command and run this code if you open the database
with the appropriate commandline switch. Look at the Command
function in Access help for a starting point.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: StinkFinger |
last post by:
All,
This is a tiny script that I am using to create nightly dumps of my MySQL
dbs. Each night it will generate these files:
a-071804-0900pm.sql
b-071804-0900pm.sql
c-071804-0900pm.sql
I am trying to modify the script so that it will 1) check the current month,
and 2) delete the backups that are not from the current month (i.e. in the
|
by: Sgt. Sausage |
last post by:
I've got a server (SQL 2K, Win2K) where the backups
have started running long.
The database is a bit largish -- 150GB or so. Up until
last month, the backups were taking on the order of
4 to 5 hours -- depending on the level of activity on the
server.
I'm using a T-SQL script in the SQLAgent to run the
backups. Native SQL backup to an...
|
by: DKode |
last post by:
I have created an application that will be used for my IT depts.
Tasks. I believe I have created the correct architecture but it
doesn't feel correct. Could I get opionions if I am headed in the
right direction? Here is how I have it set up.
UI -> Business Rules layer -> WebService (Broadcasting from SQL
Server) -> DataLayer -> SQL Helper...
|
by: DW |
last post by:
Greetings:
I have a SQL 2000 server with several databases on it, and I have a
maintenance plan that includes both a backup and a CHECKDB Integrity
Check.
The backups appear to run correctly each night, but if a user leaves a
connection open to a database all night, the CHECKDB fails.
I'd like to be able to kill all client connections...
|
by: greggarpin |
last post by:
Hi All.
I'm currently maintaining 4 servers - 1 for public/customers and 3
for backups, development, etc...
I regularly backup the entire SQL database for our public server and
restore it on each of the other servers. Lately, however, the database
backups have grown (in size) incredibly fast - they've gone from about
200MB to 2+ GB in 2...
| |
by: Brian Henry |
last post by:
Is it possibly to set up a process on our development server to create
nightly builds of our application? All our code is saved in a Source Safe
database and is a VB.NET solution.
|
by: sql guy123 |
last post by:
I need some assistence here.
I have two servers. One with MS SQL 2000 Standard edition and MSDE(MS
desktop engine).
I need to sync my databases nightly, as a backup.
Is there a cheap software that will do this? I don't want to just
backup the entire databases files b/c they are large and I'm
transfering them over DSL.
|
by: Christoph Zwerschke |
last post by:
Usually, you initialize class variables like that:
class A:
sum = 45
But what is the proper way to initialize class variables if they are the
result of some computation or processing as in the following silly
example (representative for more:
class A:
|
by: Zytan |
last post by:
I can scroll a WebBrowser to the bottom like so:
if (webControl.Document != null)
webControl.Document.Body.ScrollTop = int.MaxValue;
But, if I include a proper DOCTYPE (for XHTML 1.1 DTD) like so:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
by: Alex.Sh |
last post by:
How can i do something like this:
i have a form with
A percentage : ______
B percentage: ______
C percentage: ______
I want that the sum of these 3 fields *will never* be more than 100
(so user won't be even able to fill it).
|
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...
| |
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. ...
|
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...
|
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...
|
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...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |