 |
|
 |
|
Next: Powershell Edition For SQL 2008
|
| Author |
Message |
External

Since: Oct 11, 2004 Posts: 25
|
(Msg. 1) Posted: Sun Dec 28, 2008 4:45 pm
Post subject: Access backup Archived from groups: microsoft>public>access (more info?)
|
|
|
In our office we have our Access database saved on a server. Four people use
this database. Each person has a shortcut on their desktop to open the
database. No-one tells the database to backup--but every once in a while it
backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
get this automatic backup to stop?
When an automatic backup is made, new shortcuts to the newest backup need to
be made. >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Aug 23, 2008 Posts: 12
|
(Msg. 2) Posted: Sun Dec 28, 2008 4:55 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
This is actually more likely to be a result of one or more incomplete
"Compact and Repair" attempts by the database. If an attempt is made to C&R
a database which another user has open, the C&R can't complete and leaves
the temporary db named "db1.mdb" behind. Of course, if it happens again and
there is already an orphaned db1.mdb, then the C&R calls the new temp
db2.mdb and so on.
It does no harm to delete these temp mdbs, but be careful not to mess with
the production mdb itself.
Do you, by any chance, have the option to "Compact and Repair on Close" set
for this database?
On a related note, are all of your users working with a single mdb? Do you
NOT have a split design in place? A split design involves a separate mdb,
usually referred to as the "back end", in which only the tables for your
data reside. In a separate "front end", you should have all of the remaining
objects--forms, queries, reports, code modules and macros.
Each user should have and USE their own copy of the Front End. That
minimizes the problems caused by multiple users working with a single mdb
file.
Letting multiple users work with a single mdb is an open inventation to
corruption.
Search for articles on "Split Database" for more information.
"Martin" wrote in message
> In our office we have our Access database saved on a server. Four people
> use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while
> it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need
> to
> be made. >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Jan 30, 2004 Posts: 507
|
(Msg. 3) Posted: Sun Dec 28, 2008 5:59 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 28 Dec 2008 16:45:00 -0800, Martin
wrote:
Urgent warning: Split your database, *now*. Sharing a single mdb among
multiple users can and will cause bloat, bad performance, and an increased
risk of corruption. Each user should have their own individual copy of a
"frontend" containing the Forms, Queries, Reports, etc., linked to a shared
Backend containing the tables. See
http://www.granite.ab.ca/access/splitapp.htm for a thorough discussion.
>In our office we have our Access database saved on a server. Four people use
>this database. Each person has a shortcut on their desktop to open the
>database. No-one tells the database to backup--but every once in a while it
>backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
>get this automatic backup to stop?
Turn off Auto Compact. It's not really a backup other than in a manner of
speaking; Compacting works by copying the database to db1.mdb (or 2 or 3...),
deleting the old database and renaming the new one back to the original name.
>When an automatic backup is made, new shortcuts to the newest backup need to
>be made.
Why? I'd just keep a separate backup, independent of the compaction process.
--
John W. Vinson [MVP] >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Oct 02, 2008 Posts: 66
|
(Msg. 4) Posted: Sun Dec 28, 2008 10:10 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Martin" wrote in message
> In our office we have our Access database saved on a server. Four people
> use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while
> it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need
> to
> be made.
In addition to what the others have said, all of which is extremely
important, you should be regularly backing up the data and a copy of the
front-end which should live on the server to replace the local desktop
front-end should it become necessary. Daily incremental backup should be
done, and the entire server should be backed up at least weekly.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 5) Posted: Mon Dec 29, 2008 12:15 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
you actually CANNOT back the data up when someone has it open.
This is just another symptom that Jet databases don't fit the needs of
MOST businesses.
On Dec 28, 4:45 pm, Martin wrote:
> In our office we have our Access database saved on a server. Four people use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need to
> be made. >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 6) Posted: Mon Dec 29, 2008 12:16 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Urgent warning: Upsize your database, *now*. Sharing a any type of Jet
database among
multiple users can and will cause bloat, bad performance, and an
increased
risk of corruption. Each user should have their own individual copy of
an ADP
"frontend" containing the Forms, Reports, etc., linked to a single
shared connection to a
SQL Server Backend containing the tables.
See www.microsoft.com/sql
On Dec 28, 4:59 pm, John W. Vinson
wrote:
> On Sun, 28 Dec 2008 16:45:00 -0800, Martin
> wrote:
>
> Urgent warning: Split your database, *now*. Sharing a single mdb among
> multiple users can and will cause bloat, bad performance, and an increased
> risk of corruption. Each user should have their own individual copy of a
> "frontend" containing the Forms, Queries, Reports, etc., linked to a shared
> Backend containing the tables. Seehttp://www.granite.ab.ca/access/splitapp.htmfor a thorough discussion.
>
> >In our office we have our Access database saved on a server. Four people use
> >this database. Each person has a shortcut on their desktop to open the
> >database. No-one tells the database to backup--but every once in a while it
> >backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> >get this automatic backup to stop?
>
> Turn off Auto Compact. It's not really a backup other than in a manner of
> speaking; Compacting works by copying the database to db1.mdb (or 2 or 3....),
> deleting the old database and renaming the new one back to the original name.
>
> >When an automatic backup is made, new shortcuts to the newest backup need to
> >be made.
>
> Why? I'd just keep a separate backup, independent of the compaction process.
> --
>
> John W. Vinson [MVP] >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 7) Posted: Mon Dec 29, 2008 6:49 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bruce;
So sorry that you've never had to backup a Jet database.
Please explain to me how it works, because I've had corruption
failures on busy jet databases _ALL_ the time
On Dec 29, 4:27 am, "BruceM" wrote:
> Please ignore Aaron. He is incorrect about Jet in a multi-user environment.
> AFAIK it is possible to back up a Jet back end file that is in use, but
> there may be nuances of which I am unaware..
>
> "Martin" wrote in message
>
>
>
>
>
> > In our office we have our Access database saved on a server. Four people
> > use
> > this database. Each person has a shortcut on their desktop to open the
> > database. No-one tells the database to backup--but every once in a while
> > it
> > backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> > get this automatic backup to stop?
> > When an automatic backup is made, new shortcuts to the newest backup need
> > to
> > be made.- Hide quoted text -
>
> - Show quoted text - >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: May 25, 2007 Posts: 123
|
(Msg. 8) Posted: Mon Dec 29, 2008 7:27 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Please ignore Aaron. He is incorrect about Jet in a multi-user environment.
AFAIK it is possible to back up a Jet back end file that is in use, but
there may be nuances of which I am unaware..
"Martin" wrote in message
> In our office we have our Access database saved on a server. Four people
> use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while
> it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need
> to
> be made. >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Aug 28, 2008 Posts: 6
|
(Msg. 9) Posted: Mon Dec 29, 2008 7:32 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Dec 28, 4:45 pm, Martin wrote:
> In our office we have our Access database saved on a server. Four people use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need to
> be made.
WARNING: I'm NOT an MVP so "the regulars" here have probably
forgotten more about Access than I know at this point. But...
I've looked at all the responses and it seems to me that everyone has
overlooked something. The OP said they're changing the shortcuts to
the database (in order to use it, add records etc I would assume) to
this new db1 or db2 or whatever.
Number 1, that's not what a "backup" is for. You don't use the
backup. It's for use only if there's a problem with the original
file. The original file (with whatever name it had originally) should
be the datafile you're users are using, adding to, modifying, etc.
So, to me, it appears you have "incremental" backups (because each
time someone triggers the automatic C & R, it renames it db##.mdb and
everyone switches to that one via their shortcuts) that you're then
switching to and using as your main datafile. Because the compact and
repair operation couldn't do it's work (because another user had the
same file open) isn't this db#.mdb suspect as far as accuracy? After
all, the reason the C & R couldn't do it's job is because someone else
is using the database, perhaps adding or modifying a record--so
wouldn't that mean the recently added, changed data might not be
included in the new db##.mdb?
Me thinks the original poster may have more problems than just the
naming and shortcuts to the file they're using. Perhaps?
ron >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: May 25, 2007 Posts: 123
|
(Msg. 10) Posted: Mon Dec 29, 2008 10:11 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
There is a daily network backup. The BE files are on the network. I
couldn't say for sure that the BE files are never in use during the backup,
but I do know there have been no corruption problems. I do know that in
order to have a test copy of the data I have copied BE files from working
databases, and have not had problems.
Quite a remarkable thing that you have failures all the time with a product
you never use.
"a a r o n . k e m p f @ g m a i l . c o m" wrote in
message
Bruce;
So sorry that you've never had to backup a Jet database.
Please explain to me how it works, because I've had corruption
failures on busy jet databases _ALL_ the time
On Dec 29, 4:27 am, "BruceM" wrote:
> Please ignore Aaron. He is incorrect about Jet in a multi-user
> environment.
> AFAIK it is possible to back up a Jet back end file that is in use, but
> there may be nuances of which I am unaware..
>
> "Martin" wrote in message
>
>
>
>
>
> > In our office we have our Access database saved on a server. Four people
> > use
> > this database. Each person has a shortcut on their desktop to open the
> > database. No-one tells the database to backup--but every once in a while
> > it
> > backs up on its own and names the backups db1.mdb, db2.mdb etc. How do
> > we
> > get this automatic backup to stop?
> > When an automatic backup is made, new shortcuts to the newest backup
> > need
> > to
> > be made.- Hide quoted text -
>
> - Show quoted text - >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: May 25, 2007 Posts: 123
|
(Msg. 11) Posted: Mon Dec 29, 2008 10:50 am
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
As I recall, automatic C&R is performed only when the last user exits the
database, so the problems can't be the result of several users doing C&R at
the same time. The C&R process can fail for any number of reasons, but the
db1 etc. file often functions well enough as a substitute for the original
that it may seem the only difference is the name.
"Ron" wrote in message
On Dec 28, 4:45 pm, Martin wrote:
> In our office we have our Access database saved on a server. Four people
> use
> this database. Each person has a shortcut on their desktop to open the
> database. No-one tells the database to backup--but every once in a while
> it
> backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> get this automatic backup to stop?
> When an automatic backup is made, new shortcuts to the newest backup need
> to
> be made.
WARNING: I'm NOT an MVP so "the regulars" here have probably
forgotten more about Access than I know at this point. But...
I've looked at all the responses and it seems to me that everyone has
overlooked something. The OP said they're changing the shortcuts to
the database (in order to use it, add records etc I would assume) to
this new db1 or db2 or whatever.
Number 1, that's not what a "backup" is for. You don't use the
backup. It's for use only if there's a problem with the original
file. The original file (with whatever name it had originally) should
be the datafile you're users are using, adding to, modifying, etc.
So, to me, it appears you have "incremental" backups (because each
time someone triggers the automatic C & R, it renames it db##.mdb and
everyone switches to that one via their shortcuts) that you're then
switching to and using as your main datafile. Because the compact and
repair operation couldn't do it's work (because another user had the
same file open) isn't this db#.mdb suspect as far as accuracy? After
all, the reason the C & R couldn't do it's job is because someone else
is using the database, perhaps adding or modifying a record--so
wouldn't that mean the recently added, changed data might not be
included in the new db##.mdb?
Me thinks the original poster may have more problems than just the
naming and shortcuts to the file they're using. Perhaps?
ron >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Aug 06, 2007 Posts: 399
|
(Msg. 12) Posted: Mon Dec 29, 2008 1:23 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"a a r o n . k e m p f @ g m a i l . c o m"
wrote:
>Urgent warning: Upsize your database, *now*. Sharing a any type of Jet
>database among
>multiple users can and will cause bloat, bad performance, and an
>increased
>risk of corruption.
False.
>Each user should have their own individual copy of
>an ADP
>"frontend" containing the Forms, Reports, etc., linked to a single
>shared connection to a
>SQL Server Backend containing the tables.
Almost always quite impractical.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/ >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Dec 27, 2008 Posts: 2
|
(Msg. 13) Posted: Mon Dec 29, 2008 5:51 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 29 Dec 2008 06:49:55 -0800 (PST), "a a r o n . k e m p f @ g m
a i l . c o m" wrote:
>Please explain to me how it works, because I've had corruption
>failures on busy jet databases _ALL_ the time
Why do you still use it "_ALL_ the time"?
I thought you didn't like it?
Why don't you switch to SQL? >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Jun 04, 2008 Posts: 18
|
(Msg. 14) Posted: Mon Dec 29, 2008 6:25 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
My suggestion, learned in these discussion groups, is to uncheck the option
to automatically Compact and Repair upon closing the database. You can
manually compact as often as you think necessary, but I can almost guarantee
that you won't get the copies named db1, db2, etc. if you uncheck this
option. At least this worked for me!
--
Nona
"BruceM" wrote:
> As I recall, automatic C&R is performed only when the last user exits the
> database, so the problems can't be the result of several users doing C&R at
> the same time. The C&R process can fail for any number of reasons, but the
> db1 etc. file often functions well enough as a substitute for the original
> that it may seem the only difference is the name.
>
> "Ron" wrote in message
>
> On Dec 28, 4:45 pm, Martin wrote:
> > In our office we have our Access database saved on a server. Four people
> > use
> > this database. Each person has a shortcut on their desktop to open the
> > database. No-one tells the database to backup--but every once in a while
> > it
> > backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
> > get this automatic backup to stop?
> > When an automatic backup is made, new shortcuts to the newest backup need
> > to
> > be made.
>
> WARNING: I'm NOT an MVP so "the regulars" here have probably
> forgotten more about Access than I know at this point. But...
>
> I've looked at all the responses and it seems to me that everyone has
> overlooked something. The OP said they're changing the shortcuts to
> the database (in order to use it, add records etc I would assume) to
> this new db1 or db2 or whatever.
>
> Number 1, that's not what a "backup" is for. You don't use the
> backup. It's for use only if there's a problem with the original
> file. The original file (with whatever name it had originally) should
> be the datafile you're users are using, adding to, modifying, etc.
>
> So, to me, it appears you have "incremental" backups (because each
> time someone triggers the automatic C & R, it renames it db##.mdb and
> everyone switches to that one via their shortcuts) that you're then
> switching to and using as your main datafile. Because the compact and
> repair operation couldn't do it's work (because another user had the
> same file open) isn't this db#.mdb suspect as far as accuracy? After
> all, the reason the C & R couldn't do it's job is because someone else
> is using the database, perhaps adding or modifying a record--so
> wouldn't that mean the recently added, changed data might not be
> included in the new db##.mdb?
>
> Me thinks the original poster may have more problems than just the
> naming and shortcuts to the file they're using. Perhaps?
>
> ron
>
> >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
External

Since: Apr 11, 2008 Posts: 135
|
(Msg. 15) Posted: Mon Dec 29, 2008 9:23 pm
Post subject: Re: Access backup [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Impractical?
I'd bet that 90% of the people here would prefer a platform that
_NEVER_ crashes--
_NEVER_ bloats..
where maintenance is automatic,
performance is better,
it's faster
**and **
easier development?
On Dec 29, 12:23 pm, "Tony Toews [MVP]"
wrote:
> "a a r o n . k e m p f @ g m a i l . c o m"
> wrote:
>
> >Urgent warning: Upsize your database, *now*. Sharing a any type of Jet
> >database among
> >multiple users can and will cause bloat, bad performance, and an
> >increased
> >risk of corruption.
>
> False.
>
> >Each user should have their own individual copy of
> >an ADP
> >"frontend" containing the Forms, Reports, etc., linked to a single
> >shared connection to a
> >SQL Server Backend containing the tables.
>
> Almost always quite impractical.
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Please respond only in the newsgroups so that others can
> read the entire thread of messages.
> Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
> Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/ >> Stay informed about: Access backup |
|
| Back to top |
|
 |  |
| Related Topics: | backup databases - Access 2003 has an option on the File menu to backup the database (makes a copy incremented by date and backup # within date) Is there a way to execute this option upon exiting a specific database? (not necessarily all databases) Thanks Jerry
'Insert Object' in Access 2003 removed from ribbon in Acce.. - I understand that Insert: Object has been removed from Access 2007, and I should be able to right click in the object field and insert that way, yet I am unable to. I do not get an error message, but right clicking does nothing. I found a message..
Sort form datasheet attempt crashes Access 2003 (error 345.. - 'add one textbox to form1 with Control Source property = ID 'copy/paste the form_load code below: 'Then open the form and then attempt to sort the datasheet 'crashes 2003, error 3450 Access 2007 - I can't find much info on this... - Can someone explain..
Access 2003 OLE communication error - locking up Access - MS Access is totally broken on my machine, whenever I attempt to open an existing database or just open the bare program I always get the error message "A problem occurred while MS Office Access was communicating with the OLE server or ActiveX....
Access 2007 command buttons do not function - database in .. - Trying to install some software on Access 2007. The software works just fine on earlier versions of Access. I have been told that it works on Access 2007 but I have not seen that personally. The command buttons on my user-created forms do not.. |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|