Bricklevel backup index file description

From Zarafa wiki

(Difference between revisions)
Jump to: navigation, search
(New page: Every line in the indexfile represents one item. An item can represent either a container (C), or a message (M). There are 2 extra lines at the beginning of the index. It starts with V:2. ...)
 
(4 intermediate revisions not shown)
Line 3: Line 3:
   R <self <length> <entryid>> <username>
   R <self <length> <entryid>> <username>
-
 
Where <self> is the identifier for the root container. This number can be present in the parent field for C and M entries. The self data is first represented by the data length, and then the data itself. The last field in this line is the username the backup was made for.
Where <self> is the identifier for the root container. This number can be present in the parent field for C and M entries. The self data is first represented by the data length, and then the data itself. The last field in this line is the username the backup was made for.
Line 9: Line 8:
   C <parent <length <entryid>> <self <length> <entryid>> <rc <length> <hex>> <#msg> <lmt> <ipc-type> <dn>
   C <parent <length <entryid>> <self <length> <entryid>> <rc <length> <hex>> <#msg> <lmt> <ipc-type> <dn>
-
 
The format for a message is as follows:
The format for a message is as follows:
   M <parent <length <entryid>> <rc <lengths> <bin>> <lmt> <ipc-type> <filepos> <subject>
   M <parent <length <entryid>> <rc <lengths> <bin>> <lmt> <ipc-type> <filepos> <subject>
 +
Container details in the index file, sorted on field number:
Container details in the index file, sorted on field number:
Line 41: Line 40:
# data offset: The offset into the data file where the message begins.
# data offset: The offset into the data file where the message begins.
# subject: This is the subject of the message.
# subject: This is the subject of the message.
 +
 +
 +
M:96:000000001F92E5D97FB841959DDD6A81FFE899CE010000000300000098F281AA92DE462CA18DF8034149890700000000:8:006C4100:1326788002:IPM.Appointment:1292954015:0:1327658400:1327662000:Meeting
 +
 +
In the above example the restorekey of the appointment is '''006C4100'''.

Latest revision as of 15:29, 21 May 2012

Every line in the indexfile represents one item. An item can represent either a container (C), or a message (M). There are 2 extra lines at the beginning of the index. It starts with V:2. This indicates the version of the index file, currently version 2. The second line is always the root container, indicated by the letter R. The format for this line is:

 R <self <length> <entryid>> <username>

Where <self> is the identifier for the root container. This number can be present in the parent field for C and M entries. The self data is first represented by the data length, and then the data itself. The last field in this line is the username the backup was made for. The format for a container is as follows:

 C <parent <length <entryid>> <self <length> <entryid>> <rc <length> <hex>> <#msg> <lmt> <ipc-type> <dn>

The format for a message is as follows:

 M <parent <length <entryid>> <rc <lengths> <bin>> <lmt> <ipc-type> <filepos> <subject>


Container details in the index file, sorted on field number:

  1. C: Indicates the following information denotes a container.
  2. parent key string length: The length in characters of the following parent key.
  3. parent key: The key of the parent.
  4. own key string length: The length in characters of the following key.
  5. own key: The key of this container. Other containers and items may have this in the parent key field.
  6. restore key length: The length in characters of the following restore key.
  7. restore key: Use this key with the restore tool to restore this folder and it contents.
  8. number of items in this container: An indicator of how many items there are in this folder.
  9. last modification timestamp: The date of when this container was last modified, (eg it's name changed).
  10. container type: The MAPI type of the container.
  11. container name: The name of the container.


The message details in the index file, sorted on field number:

  1. M: Indicates the following information denotes a message.
  2. parent key string length: The length in characters of the following parent key.
  3. parent key: The key of the parent container
  4. restore key length: The length in characters of the following restore key.
  5. restore key: Use this key with the restore tool to restore this message.
  6. last modification timestamp: The date of when this message was last modified, (eg the date of a calendar item because it was moved).
  7. message type: The MAPI type of the message (eg mail, calendar item, contact, etc.)
  8. data offset: The offset into the data file where the message begins.
  9. subject: This is the subject of the message.


M:96:000000001F92E5D97FB841959DDD6A81FFE899CE010000000300000098F281AA92DE462CA18DF8034149890700000000:8:006C4100:1326788002:IPM.Appointment:1292954015:0:1327658400:1327662000:Meeting 

In the above example the restorekey of the appointment is 006C4100.

Personal tools