db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein Grovlen - Sun Norway <Oystein.Grov...@Sun.COM>
Subject Re: how to copy a derby db?
Date Mon, 17 Dec 2007 09:26:52 GMT
Gabe Wong wrote:
> Amir Michail wrote:
>> Hi,
>>
>> Can I copy a db while it is being used or could that lead to a 
>> corrupted copy?
>>
>> Amir
>>
>>   
> Yes you are able to make a copy of the directory without problems.

It is not safe to copy the database directory while it is used.  In 
order for the files on disk to be consistent, you will either have to 
shut down the database or to execute the 
SYSCS_UTIL.SYSCS_FREEZE_DATABASE() system procedure before copying the 
files.

-- 
Øystein

Mime
View raw message