There has been some questions of late concerning auto recovery. After
a little digging below is some information that I've found. It seems
that there is one important location and one important file for this
process.

The important location is below:
C:\Documents and Settings\XXXXX\Application
Data\OpenOffice.org1.9.95\user\backup
(where XXXX is your login name)

The files in this directory are the actual copies of the files that
are open at the time and are created/refreshed in line with when auto
recovery has been set for. Files in this directory are usually named
the same as the actual file with an additional "_n" (where n is a
sequential number) appended to the file name before the extension. 
There is a single file for each open file. This directory may house
additional files for other uses.

This is the location where you could try to get a copy of your
document if OOo crashed and the original became corrupted. Files
stored in here for auto recovery purposes are independent of 'backup'
functionality.

The important file is:
C:\Documents and Settings\XXXX\Application
Data\OpenOffice.org1.9.95\user\registry\data\org\openoffice\Office\AutoRecovery.xcu
(where XXXX is your login name)

This file keeps details of which files are open at any point in time.
Important data items within this XML file are the location of the auto
recovery file (which is the path discussed first) and the location of
the actual file (where you actually saved the file). The structure of
this file tends to suggest that the maximum number of open files
accommodated is 71. Any takers on testing this assumption ??

This file is updated independently to the auto recovery timer.
Possibly this is done on save, creation of new file, closure, etc...

So what happens when OOo crashes. Here is where you would really have
to look at the code, but here are my thoughts.  A record of all open
files are maintained in the autorecovery.xcu and copies of the
documents (at the last auto recovery point) are stored in the folder
mentioned first.  When OOo crashes the autorecovery.xcu is not cleared
of the details of the open files (ie, details of what files were open
when it crashed are still present). Accordingly when OOo restarts it
checks this file and if it finds entries, starts the recovery process
using the files that were saved at the last auto recovery point.

Unsure whether this has been of any use, but hope it has.

/paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to