473,413 Members | 1,875 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,413 software developers and data experts.

Backing up an entire db


I would like to know if an Access db can be backed up with the push of a
command button. I work with extreamly lazy operators who despite
crashing their db's still refuse to see the value in backing up their
db's. Fools them..but its me that has to undo the boondogal. I would
like to be able to put a buttom on the form which will send the a copy
of the db to another drive, perhaps a USB stick. Any ideas?
*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #1
5 1488
One way to get their attention is to hide the backups, so when they
screw up, they burn themselves badly. then you wait a day or so for
the shock to sink in and then give them a backup.

Try
http://www.datastrat.com/Code/KickEmOff.txt

and

http://www.datastrat.com/Download/KickEm.zip

Can't remember, if it includes a scheduler, but you could make the
KickEmOut code to run overnight, so that the database gets closed and
then backed up when they're not using it. Or you can use KickEmOut to
force them all out while you back up the DB...

Nov 13 '05 #2
I like the way you think. And thanks for the link. But if i've got this
right it will inform them that the db is closing in preperation for a
back up, and I like that, but it dosn't bring me closer to an Auto back
up or backing to a different location...Or did I miss something.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #3
There is a Sub
SaveMDBObjectsAsText()
in the Module
Save_MDB_Objects_As_Text
in the file
Downloads.mdb
available (compressed->155 kb) at
http://www.ffdba.com/downloads/downloads.zip.
For me, it does what you want, and some other things. It may do what
you want it to do.
There are some lines commented out. You may wish to discover what they
do and uncomment them. You may wish to comment out some of the lines
that are operative. You may wiash to make changes (such as saving to
the USB stick). You are encouraged to do do.

Note: I have run the corresponding code for ADPs a million times with
no problems. But the first time you run it, I suggest you back up your
db in another fashion, FIRST.

It requires Access>=2000.

Nov 13 '05 #4

Thanks, unfortunatly I could not get it to open after unzipping. I
received an error message stating that it was created in a later version
of Access than the one I'm using. I'm using Access 2000.
*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #5
Stewart Graefner wrote:
Thanks, unfortunatly I could not get it to open after unzipping. I
received an error message stating that it was created in a later version
of Access than the one I'm using. I'm using Access 2000.


I modified the zip file to include text copies of all modules.

Nov 13 '05 #6

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

Similar topics

2
by: Ike | last post by:
I am running off of a MySQL database on a remote server. I am truly concerned about backup. I have phpMyAdmin running on the remote server, and I see I can "Export" to various formatsd from there,...
5
by: mark | last post by:
Hi I'm hoping that some could point me in the right direction for "best practice" in: 1) securely backing up a complete sql7 and 2000 server containing many databases. 2) backing up an...
1
by: Hlpl | last post by:
Hi I have a VB.net windows application that uses an MSDE database I need to give the user the option to backup this data (and later restore it). Ideally I want to back the data up to an empty...
9
by: J. Frank Parnell | last post by:
hello, i dont know asp at all, but i have been asked to backup a database that is used on a site which uses .aspx. i dont need to do anything with it, just copy it and send it along to someone...
9
by: Jerry Porter | last post by:
Is there a way to back up the design changes in a SQL Server database without backing up all the data? It's just test data at this point.
3
by: war_wheelan | last post by:
I am having a problem backing up my database and TLog files due to a lack of local diskspace. The db file is about 30GB and the TLog is about 20GB each on a different hard disk. Each disk doesn't...
10
by: Lyle Fairfield | last post by:
I have a tiny db on a remote sql server. The owner of the sever backs up the db daily, but these backups are not freely available to me. I want my data (only my data) backed up in some form that is...
0
by: Mike Morrison | last post by:
I have several DBs at a hosting provider(Vortech). I can connect to their SQL 2000 server from my computer using SQL Server Management Studio ( SQL 2005). When I try to use Copy the database I get...
12
by: jim | last post by:
I'd like to get some .net sample code that shows me how to make a complete backup of a hard drive (like my C: drive) to another location (say my D: drive) while the C: drive is in use. ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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...
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,...
0
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...

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.