Ok i can restore the export rdf file. But is there a way to specify the
tdbloader script to set the TDB as transactional ?

Cause when i want to read the data after the restore i have a nodeReadOnly
error. I'm using transaction to read and write so i guess when i restored
it back the TDB wasn't set to support transactions.

Any clue ?


2013/7/1 Frederic Toublanc <frederic.toubl...@telemis.com>

> Ok i will try that thanks a lot.
>
>
> 2013/7/1 Rob Walpole <robkwalp...@gmail.com>
>
>> You can use the tdbloader or tdbloader2 script (depending on your OS)
>> which
>> is found in the /bin directory of your Apache Jena install.
>>
>> The command you need is something like ./tdbloader2 -loc
>> /path-to-tdb-data-dir /path-to-rdf-file
>>
>>
>> On Mon, Jul 1, 2013 at 12:31 PM, Frederic Toublanc <
>> frederic.toubl...@telemis.com> wrote:
>>
>> > Hello everyone,
>> >
>> > I'm using this code to backup a Jena TDB :
>> >
>> > FileOutputStream fos = new FileOutputStream(new File(backupFilePath));
>> >  TDBBackup.backup(new Location(tdbLocation), fos);
>> >
>> > This generate a backup.rdf file
>> >
>> > But i really dunno how to restore this backup in a new jena TDB.
>> >
>>
>>
>>
>> --
>>
>> Rob Walpole
>> Email robkwalp...@gmail.com
>> Tel. +44 (0)7969 869881
>> Skype: RobertWalpolehttp://www.linkedin.com/in/robwalpole
>>
>
>

Reply via email to