Backup Database As

Jul 10, 2006

what would possibly cause a "Backup Database As" dialogue box to appear? it's the same as the "save as" box and allows you to save a copy of the access file you're working on but it says "Backup Database As" at the top.

it seems to come up periodically and im not sure what might be causing it.

thanks

View Replies


ADVERTISEMENT

Backup BE Database

Jul 6, 2005

I recently created a database with an FE and BE, and I want to be able to back up the BE from the FE. In the FE, I added a menu item "Back up database...", and it works good for the FE, but I want it to back up the BE, where the data is located. The reason that I like the menu item is that it opens a "Save Backup As" dialog box, and it also adds the date to the name of the database. Also it will be easier for the people that are using the db.

View 1 Replies View Related

Backup Database Is 'read Only'

Feb 13, 2006

Hi All,

I created a database in Access and of course password protected the backend version. As a matter of course I backed up the mdb to cd in case of emergency.

Our network has been taken down due to some virus being bought in by a laptop user so I wanted to reinstall the mdb from the cd to my c: drive.

The problem is that the file is saying that it is 'Read Only' which I think is down to the password protection i put on there.

Question:
Is there a way I can get round the security?

I promise I am not a hacker!

Cheers

Smudger

View 2 Replies View Related

Backup Database Online ?

Jun 12, 2006

I read a lot of threads and some KB articles before this, but am still confused.

Can a copy of the BE database be made on the Server while users are logged on ? Max No. of users is 7.

Does copying a BE while work is going on lead to corruption in the database.
Right now i make a copy of the database thru code and then compress the copy for a backup.

View 2 Replies View Related

Autiomated BackUp Of Back End Database

Aug 17, 2005

We are currently running a FE / BE splitted database abd would like to back the back end up (to a sepearate location) every 15 minuutes by using the On Timer event.

Troiuble is, I believe I cant use the CopyDataBaseFile method whilst other users are in it and it would be too much hassle kicking everyone off!

Manually copying and pasting is good, but would really like to crack this one

Any suggestions please?

Regards

Andy

View 3 Replies View Related

Search Employees Backup Database?

Dec 16, 2011

Attached i have a Database with 3 Tables.

-Table MA's. is the just a table were you can select if an Analyst is at the office or not. so if the check box is selected the analyst is available.

-Table Backups. We have Alias which is a reference code to a supplier the 1 Analyst and then Backup 1 and backup 2

-Table suppliers are just de supplier details.

what i whould need is when in the MA's table an Analyst is not selected a macro or query should search for backup 1 and replace it. when the backup 1 is not available as wel than backup 2 should be put in place.

When no backups are availeble then a message can put in the cell like"No Backup Available'.

This result can be put in a new table named. Decksplit with then the Supplier Alias, Supplier Name, Analyst

View 4 Replies View Related

Making Daily Backup Of Database?

Oct 29, 2013

As my database is growing and hold more and more data i want to make a daily backup to the local hard disk (it works on a network now) automatically.The way i want it to work is as follows :

When a user quits the application i want to check if there is a copy already existing with the date of today.

If it does it skips the copy process and just quits.

If it doesn't, i want it to make a backup in a directory. if the directory doesn't exist it must be made.

The backup file name must hold the date of today off course.

I realize that i have to have a procedure to delete obsolete (outdated) backups as well, but ill worry about that later.

Off course Ive tried this a few times, otherwise i wouldnt ask it here. But i seem to fail every time..

View 5 Replies View Related

Backup Database By Use Of Command Button On Switchboard

Sep 3, 2004

Is it possible to create a command button on an Access switchboard that will automatically backup a database? What code would I need? The command button wizard doesn't handle this task.

View 14 Replies View Related

General :: Backup Database At User Side

Oct 4, 2012

I have developed an access database, and prepared its run time exe file. My question is how to develop the database so that the user can regularly backup the database?

View 1 Replies View Related

General :: Backup Database Automatically Per Week

Jul 29, 2013

I want backup my database automatically per week,what should I do?

View 1 Replies View Related

Modules & VBA :: Create Backup For Table In Another Database?

Jan 7, 2014

How to create backup for my table in another DB with VBA ....

View 3 Replies View Related

General :: Backup BACK-END Of A Split Database

Jan 24, 2014

I am trying to use VBA to backup the BACK-END of a split database (so I can automatically archive selected data). If I use FileCopy I get a message that the BACK-END database has not been found.Obviously I could 'unlink' the BACK-END, copy it and 're-link' it..Is it possible to copy the BACK-END tables(not just the links) into the FRONT-END and get at them that way?

View 2 Replies View Related

General :: Saving Database As Backup With Different Date

Nov 7, 2012

I'd like to have a button on my dashboard that gives the user the ability to back up the database and save it with a different date. For example, existing database called "Fishing.accdb" and I'd like to have code behind a button that allows the database to be saved as "Fishing0711.accdb"

I'm trying to avoid the user having to go into the File Save as menu system....I've tried the docmd.copyObject method but can't get it to work

View 10 Replies View Related

Access 2007 Backup Menu Won't Back Up My Database

Jan 23, 2008

I'm using Access 2007, with what I think is a normal database that I've built up over the past month (maybe 15 tables, <1000 records, 20 queries, 4 or 5 reports and macros). I'm not an experienced Access programmer, so I don't think I'm doing anything fancy with security settings or any other such stuff. (If I have, it's surely by accident, not by intent.)

When I try to back up the db using the simple office button -> manage -> backup method, access generates a date-stamped backup filename and opens a file save dialog for me, but it ALWAYS fails to backup the database. I always get the same error message when I click save, whether I save on my machine, or on a network drive.

"Could not use '<path to the current database dir><backname>.accdb; file already in use."

This same error occurs when I create a new blank database with a single Table1 in it, so I don't think it's my database.

Does anyone have any idea why this might be happening? I scoured the net for help, but nothing. I checked various Access forums, but nothing. So I arrive here after I've done my homework... thanks

View 11 Replies View Related

General :: Access (2010) - Database Creating Backup By Itself

Jun 13, 2013

Why Access (2010) database is creating backup copy by itself?

View 2 Replies View Related

Modules & VBA :: Backup / Zip And Email Copy Of Database Programmatically

Sep 11, 2013

I need a way that I can simply have a User click a button on a form of the database and it will do automatically create a zip file of the entire database and start Outlook and attach the zip file and send it to me.....

View 4 Replies View Related

Modules & VBA :: Create Backup Of Database On Exit In Different Directory

Dec 20, 2013

I am looking to create a backup of a database on exit in a different directory then where I am storing the database now.

View 3 Replies View Related

General :: Difference In Size Between Actual Access Database And Its Backup

Aug 19, 2014

I am using Access 2007 database in work environment. When one of my colleagues tried to update some records in a table, it created a backup of the database.

The issue is that the size of the actual database is much smaller than the size of the backup. However all the data are present and I don't think any data has been deleted.

But I don't know why there is a difference in size?

Some of the tables in the database are linked from MS SQL Server.

View 4 Replies View Related

Modules & VBA :: Command That Will Create Backup Of Access Database Once Every Week

Feb 24, 2014

Im trying to create a command that will create a backup of my access database once every week. here is the code I've got so far. it works, but not once a week but every time I start the access:

MsgBox ("Hello! Starting Backup procedure")

Dim DateOfBackup As Date
Dim strSourcePath As String
Dim strSourceFile As String
Dim strBackupFile As String
Dim SQL As String

[code]...

View 2 Replies View Related

Auto Backup On Entire Database Close / Forms Included

May 10, 2014

I have a database with multiple forms and I would like to on close I would assume of the form, save a backup to a specific folder. This will all change once I move the database to the server but for now want a backup on my machine. Here is my code:

Code:
Private Sub Form_Close()
Call db_backup
End Sub
Below is in a module

[code]...

The problem is when I run this the program will give me an error saying: runtime error 438 object does not support this property or method

View 8 Replies View Related

General :: Automatic Backup Of Access Database With Date Added To End Of File Path

Jul 28, 2014

Just wanted to confirm which is the best way to create an automatic back up of a access DB. (Split DB, backing up the BE - Access2010)

Firstly I was thinking of just creating a batch file to copy the file to a new source directly with a task scheduler set up.

Ideally I'd like it to run daily and have the date of the back up added to the end of the filepath.

View 5 Replies View Related

Backup

Sep 21, 2005

Ok I've been reading on backing up Dbs here. I have a db FE and BE I need to do back ups currently I backing up my FE with the autocompact db found in the sample forum but can't use it to back up my BE when it's open.

bascialy I'm trying to backup the BE daily but how do I do it if some is in it?

View 12 Replies View Related

T-SQL Backup

Dec 17, 2006

what is, or does it exist, the T-SQL command to backup an MS Access database. is this possible?

View 1 Replies View Related

Backup

Dec 12, 2006

Hello,

I was thinking of some way to backup my database.

Is there a way I can save a certain number of tables (4) to a different location on my hard drive via code? Thanks.

View 2 Replies View Related

Backup On Exit

Oct 13, 2005

Hiya,

I have a database which on exit runs calls the following module and backs up the database to anther folder

Public Function BackupCopy()

'This function will allow you to copy a db that is open,

'You must set a reference to the 'Microsoft Scripting Runtime' for the CopyFile piece to work!

Dim fso As FileSystemObject

Dim sSourcePath As String
Dim sSourceFile As String
Dim sBackupPath As String
Dim sBackupFile As String

sSourcePath = "C:Database"
sSourceFile = "MyDB.mdb"
sBackupPath = "C:DatabaseBackups"
sBackupFile = "BackupDB_" & Format(Date, "mmddyyyy") & "_" & Format(Time, "hhmmss") & ".mdb"

Set fso = New FileSystemObject
fso.CopyFile sSourcePath & sSourceFile, sBackupPath & sBackupFile, True
Set fso = Nothing

Beep
MsgBox "Backup was successful and saved @ " & Chr(13) & Chr(13) & sBackupPath & Chr(13) & Chr(13) & "The backup file name is " & Chr(13) & Chr(13) & sBackupFile, vbInformation, "Backup Completed"

End Function

but after backing up correctly it brings me the following error

"Run-time errror '424':

Object required

any ideas what might be going wrong

Cheers

View 1 Replies View Related

Backup Tables Only

Jan 31, 2006

Hello all,

I would like to create a module that will take a few of my tables in my database and back them up into a new database on one of my servers every day. The name and path of the database will change day by day based on the date. Can someone recommend some code...I tried this:

Dim strmydir As String
strmydir = "\Jxflpr4DataDepartmentOps TechRaw Builder ArchiveArchived" & Format(Date, "YYYY-MM") & ""
If Dir(strmydir, vbDirectory) = "" Then
MkDir "\Jxflpr4DataDepartmentOps TechRaw Builder ArchiveArchived" & Format(Date, "YYYY-MM") & ""
ElseIf Dir(strmydir, vbDirectory) <> "" Then
End If


Dim dbs As Object
Dim strdb As String
strdb = "\Jxflpr4DataDepartmentOps TechRaw Builder ArchiveArchived" & Format(Date, "YYYY-MM") & "" & Format(Date, "YYYY-MM-DD") & ".mdb"
Set appaccess = CreateObject("Access.Application")
appaccess.NewCurrentDatabase strdb
Set dbs = appaccess.CurrentDb
appaccess.CloseCurrentDatabase
DoCmd.CopyObject strdb & Format(Date, "YYYY-MM") & "" & Format(Date, "YYYY-MM-DD") & ".mdb", "tbl_master", acTable, "tbl_master"
DoCmd.CopyObject strdb & Format(Date, "YYYY-MM") & "" & Format(Date, "YYYY-MM-DD") & ".mdb", "tbl_excluded", acTable, "tbl_excluded"
DoCmd.CopyObject strdb & Format(Date, "YYYY-MM") & "" & Format(Date, "YYYY-MM-DD") & ".mdb", "tbl_allelse", acTable, "tbl_allelse"


But it doesn't seem to want to copy the tables over. I tried separating the bottom half into a new function, but it still seems to be stopping for no apparant reason. It's not giving an error message, just bringing the debugger up on the second copyobject line.

Is there a better way to do this as I'm aware this code is very messy.

Thanks in advance!

Vassago

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved