#27517 - 06/02/11 06:12 AM
DataCare BackUp - Corrupt
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
DataCare 9.1A (110324)
Everything has been working great or so I thought until I needed to restore this morning from a Back Up and I found out that the back up is corrupt. Last night DataCare created a a file called DCB1759.ZIP and a second file called DCB1759.Z01. I cannot open either file. The .ZIP file says it is invalid or corrupt.
It did the same thing the night before and the .ZIP file is also corrupt.
The 3 days before that their is only a .ZIP file and no second .Z01 file and they are all working perfect. I can open the .ZIP files.
Why is DataCare creating a second .Z01 file? And why are my .ZIP files corrupt?
I needed to restore this morning since someone has crashed ledger.
Backup of: Backup file: C:\Backup\DCB1759.ZIP Backing up data at: I:\data\ with extension: DAT Backing up all files in data directory Backup started at: 2011.06.01 23:30 by Susan Tennier Backup completed ... OK Backup finished at: 2011.06.01 23:36
Edited by SusanTennier (06/02/11 06:46 AM) Edit Reason: Added DataCare Log info
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27521 - 06/02/11 06:54 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hi Susan,
Is it possible that DataCare is running from two workstations at the same time? I remember that at one point you were running it on the server and mentioned later that you had moved it to a workstation.
_________________________
Andrew Bates
|
Top
|
|
|
|
#27523 - 06/02/11 07:25 AM
Re: DataCare BackUp - Corrupt
[Re: Retired_Guy]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
I disabled the scheduled task on the server when I setup the job to run on my workstation. I also re-directed the back up to C:\backup on my workstation.
I've attached a screen shot.
Thankfully I was able to restore from another back up system that ran last night.
Also, there is only one job in DataCare History per day.
Attachments
back up files.jpg (289 downloads)Description: Files created by DataCare Backup
Edited by SusanTennier (06/02/11 07:32 AM) Edit Reason: added note at end
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27528 - 06/02/11 09:58 AM
Re: DataCare BackUp - Corrupt
[Re: doswalt]
|
Adagio Conductor
Registered: 03/19/02
Posts: 567
Loc: Vancouver, BC
|
The zip files can be large. Make sure you have plenty of room on the storage drive. DataCare can also limit the number of stored backups.
|
Top
|
|
|
|
#27530 - 06/02/11 10:19 AM
Re: DataCare BackUp - Corrupt
[Re: Bob Wisener]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
The last 2 nights I ran Toolkit before DataCare ran on the scheduled task. I wonder if Toolkit is closing all the files correctly?
The strange thing is that DataCare History didn't report any error with the back up.
I'll test it tonight when everyone is off the system.
The drive I'm backing up to is 150 GB and only half full.
Bob, what do you mean by DataCare can limit the number of stored back ups? Should I delete some history?
Edited by SusanTennier (06/02/11 10:26 AM)
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27531 - 06/02/11 10:36 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Conductor
Registered: 03/19/02
Posts: 567
Loc: Vancouver, BC
|
In the DataCare company profile, you can set it to retain x backups. There's an audit trail of Toolkit changes, so review that report. It's unlikely that files were left open, but you should consider competing processes. ie. running the Toolkit and Datacare as scheduled tasks. Both products should be looking for exclusive use of the Adagio dataaset. With Datacare, exclusivity is optional.
|
Top
|
|
|
|
#27536 - 06/02/11 11:53 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Wizard
Registered: 06/15/04
Posts: 3641
Loc: Toronto ON, Canada
|
Susan: If a ZIP file is too large, the resulting files would be named .ZIP then .Z01, Z02 etc. I don't know the threshold size but maybe you hit it in the past few days. I haven't encountered this myself but here's a link where someone says that WINZIP can handle the files. ZIP Discussion
|
Top
|
|
|
|
#27542 - 06/02/11 03:32 PM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hi Susan,
We have duplicated the behaviour you saw (with multiple .Znn files) by having a competing process running on the files when DataCare tried to back them up. Our "competing process" was a large GridView View on a composite table, but any one will do - a ToolKit operation, another backup. You get the idea. Can you let us know what processesyou run overnight in addition to your DataCare Job?
Thanks
_________________________
Andrew Bates
|
Top
|
|
|
|
#27543 - 06/02/11 06:54 PM
Re: DataCare BackUp - Corrupt
[Re: Retired_Guy]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Hi Andrew,
The only other process I can think of is 3X Back Up that our IT people are testing on our system. It looks like it's scheduled to start running at 8:00 pm. Maybe this is the culprit? I'll try scheduling DataCare Backup to run at 7:00 pm for now so it will finish before 3X Back Up is scheduled to start. If it works I'll rearrange the schedule to avoid having them run together.
As a test just now, I tried DataCare Backup while 3X was running and it resulted in a corrupt backup. Then I paused 3X and ran DataCare Backup again and it resulted in a good backup.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27545 - 06/02/11 08:47 PM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Do you know how long it is taking DataCare to backup your data? You should try and give a 50% margin for error when scheduling these two tasks.
_________________________
Andrew Bates
|
Top
|
|
|
|
#27549 - 06/03/11 05:28 AM
Re: DataCare BackUp - Corrupt
[Re: Retired_Guy]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
The Backup portion of DataCare takes about 7-10 minutes. The integrity check that follows takes another 7-10 minutes. The total job approx 20 minutes.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27551 - 06/03/11 06:09 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
You're good to go then.
_________________________
Andrew Bates
|
Top
|
|
|
|
#27557 - 06/03/11 09:41 AM
Re: DataCare BackUp - Corrupt
[Re: Douglas Dickie]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Nope.
_________________________
Andrew Bates
|
Top
|
|
|
|
#27560 - 06/03/11 12:31 PM
Re: DataCare BackUp - Corrupt
[Re: Retired_Guy]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
I will keep an eye on it now that I am aware of the problem. If we get any corrupt backups when there are no other processes running, I will report back. My DataCare was set to only keep 5 back ups so I couldn't look back any further. I've changed it now to keep 25.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27719 - 06/21/11 04:47 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Update:
DataCare has been working great now that our other back up job has been scheduled at a different non-conflicting time. Last night someone decided to use Adagio at the time that DataCare was scheduled to run.
The result was this:
DCB1775.ZIP DCB1775.Z01 DCB1775.Z02 DCB1775.Z03 DCB1775.Z04 DCB1775.Z05 DCB1775.Z06 DCB1775.Z07 DCB1775.Z08 DCB1775.Z09 DCB1775.Z10
This zip file is corrupt and the backup is therefore useless.
The problem is that DataCare reports this as: "Backup completed ... OK and, "Data integrity check was complete with no errors".
Shouldn't DataCare report this as a failure? If someone doesn't check the back up every day, we'll never know whether we have a good back up or not.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27720 - 06/21/11 05:46 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Wizard
Registered: 06/15/04
Posts: 3641
Loc: Toronto ON, Canada
|
Hi Susan: In Datacare's Company Profile settings there is an option called "Backup error considered a fail". It's located on the "Job defaults" tab. What is your setting?
It's an option because Datacare's foremost job is to check the integrity of the accounting data. The backup process is a secondary function. This option allows the user to flag a backup failure if they wish.
|
Top
|
|
|
|
#27721 - 06/21/11 06:14 AM
Re: DataCare BackUp - Corrupt
[Re: Bruce Gardner]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Hi Bruce,
"Backup error considered a fail" is checked. The problem is that DataCare doesn't recognize that there is a back up error.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27723 - 06/21/11 06:50 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Conductor
Registered: 03/19/02
Posts: 567
Loc: Vancouver, BC
|
Hi Susan,
It's my understanding that DataCare would be looking for exclusive access to your Adagio dataset during the backup and data check. That depends on whether the option is checked on the job, 'require exclusive access'. Do your DC jobs require exclusive access? Even without exclusive access, the job should have flagged it as an error. I don't think the creation of these .Z## files are typical. The backup procedure can normally detect when a file is open by some user.
|
Top
|
|
|
|
#27724 - 06/21/11 07:15 AM
Re: DataCare BackUp - Corrupt
[Re: Bob Wisener]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
Hi Bob,
"Require Exclusive Access" is checked. I agree, the job should have been flagged as an error. The problem is that it doesn't. This only occurs when there is another process running at the same time as the back up is running which normally is not the case, however, if it happens, DataCare should report an error so that we know our back up failed.
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27725 - 06/21/11 07:18 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hi Susan,
Was the user actually in Adagio? If you had "Require Exclusive Access" enabled, then the DataCare job should not have been able to start. Or, if the DataCare job had already started, then the user should not have been able to start an Adagio module.
_________________________
Andrew Bates
|
Top
|
|
|
|
#27727 - 06/21/11 07:27 AM
Re: DataCare BackUp - Corrupt
[Re: Retired_Guy]
|
Adagio Conductor
Registered: 03/19/02
Posts: 567
Loc: Vancouver, BC
|
I agree with Andrew's assessment. Perhaps their backup includes more than Adagio data. It's possible with the latest version.
|
Top
|
|
|
|
#27729 - 06/21/11 08:21 AM
Re: DataCare BackUp - Corrupt
[Re: Bob Wisener]
|
Adagio Maestro
Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
|
I know that a user went into Adagio yesterday evening but I can't confirm if they went in at exactly at the same time that the back up and integrity check were running. I only assumed that because the back up failed and nothing else was running that I'm aware of. The user was not blocked when they went into Adagio. They were able to use Adagio normally, without any problems.
Whatever the reason the back up failed, shouldn't DataCare report it as an error?
_________________________
Susan Tennier TDL Canada Trenton, Ontario
|
Top
|
|
|
|
#27731 - 06/21/11 08:34 AM
Re: DataCare BackUp - Corrupt
[Re: SusanTennier]
|
Adagio Conductor
Registered: 03/19/02
Posts: 567
Loc: Vancouver, BC
|
Hi Susan,
Under normal circumstances, it does report the error. I just tried it. I also tried this scenario...created an extra GL data file, opened it with an editor, so Adagio is not aware of it's use. The backup excluded that file, reported the error and created the zip file without that file. My tests were performed on a local drive, with a small dataset and Windows 7. I'm sure your configuration and circumstance is quite different.
|
Top
|
|
|
|
|
1 registered (Softrak Support),
82
Guests and
0
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
1873 Members
5 Forums
14529 Topics
70939 Posts
Max Online: 432 @ 01/20/25 10:17 PM
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
|
|