473,399 Members | 3,832 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,399 software developers and data experts.

Back up access db to external hard drive without replicating

Hi,

I recently got an external hard drive to backup all my files. The easiest way it seems to synchronise between my desktop computer and the backup files on the external hard drive is to use Microsoft briefcase, but this then makes a replica of the database - which is not what I want.

All I want is a copy of the most recent version of the database as I develop it, but to do the sychronisation manually seems a bit time consuming as I have a lot of other files to back up.

Sorry, Im not sure if this is the correct forum to post this question in, but any help on how I can update my backup files easily and quickly without replicating databases is much appreciated!

Thanks,

Nicola
Mar 15 '07 #1
4 2990
nico5038
3,080 Expert 2GB
It's not really an Access problem, but I guess the solution would be to find some backup application that does this on a regular basis.

Having that scheduled with the windows scheduler will make sure you have a backup every day.

Nic;o)
Mar 17 '07 #2
NeoPa
32,556 Expert Mod 16PB
Actually, the COPY command in Windows would do the backup for you quite adequately. The Scheduler is still a good idea for the full automation. The easiest way to do a COPY from the Scheduler is to put the COPY command in a Command (*.Cmd) or Batch (*.Bat) file.
Mar 20 '07 #3
Denburt
1,356 Expert 1GB
On the Main Menu of my Apps that I create in Access I always set the open event to check the username and if its me I set a checkbox to visible. I then use this to make regular backups or even upload the frontend to the server.

If you use this approach then you may want to compact it first.

CopyFile Application.CurrentProject.FullName, rs!ServerPath & Application.CurrentProject.Name, False
Mar 20 '07 #4
Denburt
1,356 Expert 1GB
Rereading my previous post I relized that I left out a lot of code and what not if you are interested in this approach let me know. You stated that you had a lot of files so there is a number of ways to do this. You can store their names and location in your database and then access their location or just make a list. Here is a snippet of vbs code that I use for copying files.

Paste the following in Notepad and save as whatever.vbs using the taskscheduler will run this and allow it to run a designated times.


Expand|Select|Wrap|Line Numbers
  1. Dim strFile,dfol
  2.  
  3. strFile = "C:\\FILE TO COPY AND LOCATION"
  4. dfol = "G:\\YOUR DESTINATION"
  5.  
  6. Function CopyIt( )
  7. Dim fso
  8. Set fso = CreateObject("Scripting.FileSystemObject")
  9. strErr = fso.CopyFile(strFile, dfol, True)
  10. Set fso = Nothing
  11. End Function
  12.  
Crude but functional. :)
Mar 20 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: HALLES | last post by:
HELLO ! I seek to use a form too fill a file without putting a server on my computer. I am no C# programmer, i can do some things in Javascript but IT CAN T WRITE REWRITE APPEND A FILE ON LOCAL...
8
by: Francisco | last post by:
Hi, How can I use a MS-Access DB in a computer without Access installed? I read something about a "runtime" utility, but I don't know how to use it. Any help? Thanks
2
by: RBohannon | last post by:
I have a split database (A2K). The back end was originaly on drive J. IT changed some network stuff and eliminated the J drive. The back end is now on the F drive. When the front end is opened,...
3
by: Sped | last post by:
Hi, I'm looking for some code to monitor for when an external drive is connected to a computer (USB ThumbDrive, External Hard Drive, etc.) and is assigned a drive letter. I'd want my code to...
1
by: steveBelfast | last post by:
Having trouble installing my 180 day Visual Studio 2005 trial disk. The CD that was sent is actually a DVD not a CD. My home PC only has a CD drive. I attempted to install on an external drive...
0
by: xz | last post by:
i've got mysql 5.0 and I have 50 million records in a text file on an external USB 2.0 hard drive. I can import the file into a mySQL database on my laptop - but I don't want the database on my...
4
tpgames
by: tpgames | last post by:
The Error Message: If you have NTFS installed on your hard drive, you need to create a MS DOS boot partition for windows. Also, the icon that says HD does not even come up. The diagnostic test...
1
by: =?Utf-8?B?RG9t?= | last post by:
I have been trying to back up my hard drive using Vista's built-in back up. It has worked before but now i keep getting this message.... The backup did not complete successfully. An error...
0
by: =?Utf-8?B?S2VsbHk=?= | last post by:
Each fall and winter I deal witht he same problem. When the daylight savings time comes into effect the time stamp for files on my external portable hard drive are 1 hour out from the time stamps...
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: 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
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
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
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...
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.