[prev in list] [next in list] [prev in thread] [next in thread]
List: nepomuk
Subject: [Nepomuk] Backup service. Was: Re: ontology related advice request
From: monkeyiq () users ! sourceforge ! net (Ben Martin)
Date: 2009-10-23 5:18:15
Message-ID: 1256275095.16563.11.camel () sam ! localdomain
[Download RAW message or body]
On Wed, 2009-10-21 at 17:04 +0100, Laura Dragan wrote:
...
> I promised a while back that I would do a backup service
> (NepomukService) but I never got around to do it. There are a lot of
> things to consider, especially regarding the decision on what to
> backup .. We should discuss this at the workshop, maybe we can
> actually get it done :)
I've also been thinking it would be nice to make such a thing more
readily available. Currently I just sopranocmd export to a file which is
itself incrementally backed up by bacula. But having some sort of rdiff
like thing build into the backup process would make sense.
For redland, a scheduled repair and lzo db_dump -p of the db files seems
to work OK.
cd /where-the-redland-store-is
for if in *.db
do
echo "Fixing: $if"
db_dump -r $if >| dump
rm -f $if
db_load -f dump $if
rm -f dump
done
# lzop expansion will be faster than importing...
for if in *.db;
do
db_dump -p $if | lzop > $BACKUPDIR/$if.dump.lzop;
done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.kde.org/pipermail/nepomuk/attachments/20091023/52957bbd/attachment.sig
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic