[Dev] 0.7 perf goals

Andi Vajda vajda at osafoundation.org
Tue Dec 6 16:06:03 PST 2005


On Tue, 6 Dec 2005, Heikki Toivonen wrote:

> Repositories cannot be copied between platforms, and without
> automatic data migration to new repo formats we'll need to do it anyway.

With backup/restore, they definitely can be copied between platforms. If you 
find that this is not the case, it's a bug.

A repository backup contains the data files and the log files of your 
repository. The environment files are specific to the machine they were 
created on and are not backed up, this is the reason why the repository is 
'opened with recovery' after a restore.

When copying a repository backup from one machine to the other, you have to 
compare the endianness between the platforms. If it is the same, the backup 
copies as is. If it is not the same, the log files cannot be copied and have 
to be discarded. When discarding the log files, at worst, the last 
transactions committed since the last checkpoint are lost. The data files are 
still consistent and usable.

Andi..


More information about the Dev mailing list