Re-sync'ing versions of a Gramps database

View: New views
4 Messages — Rating Filter:   Alert me  

Re-sync'ing versions of a Gramps database

by Doug_B :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My database is on two machines, a laptop I take away with me and a desktop.
I suspect I may have made some small changes in each that are not
reflected in the other and am wondering how to check.

I was thinking of exporting them both as CSV and then comparing the
files by, say, 'xxdiff' .
However, what elements of the databases would *not* be exported in CSV
(apart from media, of course)?

Doug

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-users mailing list
Gramps-users@...
https://lists.sourceforge.net/lists/listinfo/gramps-users

Re: Re-sync'ing versions of a Gramps database

by Nick Hall-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You could export the databases to gramps files. If you unzip them they
are just XML.

Then you could do the diff as you suggest.

doug wrote:

> My database is on two machines, a laptop I take away with me and a desktop.
> I suspect I may have made some small changes in each that are not
> reflected in the other and am wondering how to check.
>
> I was thinking of exporting them both as CSV and then comparing the
> files by, say, 'xxdiff' .
> However, what elements of the databases would *not* be exported in CSV
> (apart from media, of course)?
>
> Doug
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-users mailing list
> Gramps-users@...
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>
>
>  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-users mailing list
Gramps-users@...
https://lists.sourceforge.net/lists/listinfo/gramps-users

Re: Re-sync'ing versions of a Gramps database

by Doug Blank-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Nov 7, 2009 at 7:16 AM, doug <dougrb@...> wrote:
> My database is on two machines, a laptop I take away with me and a desktop.
> I suspect I may have made some small changes in each that are not
> reflected in the other and am wondering how to check.
>
> I was thinking of exporting them both as CSV and then comparing the
> files by, say, 'xxdiff' .
> However, what elements of the databases would *not* be exported in CSV
> (apart from media, of course)?

Actually, it is easier to say what *is* exported in the Spreadsheet
export, as it only exports a few items:

People:
  Names: Surname, Given, Call, Suffix, Prefix, Title
  Gender
  Birth date, Birth place
  Death date, Death place

Marriages:
  Husband/Father Gramps ID
  Wife/Mother Gramps ID
  Marriage event: Date, Place

Family:
  Family Gramps ID, Child Gramps ID

The Csv export/import wasn't designed to do what you want. In fact
Gramps can't really do what you want currently. I am very careful not
to enter data into any place except my One True Family Tree for
exactly this reason.

But if you find yourself here, you should try comparing the Xml
exports (Gramps type) and compare the XML data. (There is also a Raw
export, for really low-level compares, but you probably will be fine
with the XML comparison.)

-Doug

>
> Doug
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gramps-users mailing list
> Gramps-users@...
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-users mailing list
Gramps-users@...
https://lists.sourceforge.net/lists/listinfo/gramps-users

Re: Re-sync'ing versions of a Gramps database

by Doug_B :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doug Blank wrote:

> On Sat, Nov 7, 2009 at 7:16 AM, doug <dougrb@...> wrote:
>> My database is on two machines, a laptop I take away with me and a desktop.
>> I suspect I may have made some small changes in each that are not
>> reflected in the other and am wondering how to check.
>>
>> I was thinking of exporting them both as CSV and then comparing the
>> files by, say, 'xxdiff' .
>> However, what elements of the databases would *not* be exported in CSV
>> (apart from media, of course)?
>
> Actually, it is easier to say what *is* exported in the Spreadsheet
> export, as it only exports a few items:
>
> People:
>   Names: Surname, Given, Call, Suffix, Prefix, Title
>   Gender
>   Birth date, Birth place
>   Death date, Death place
>
> Marriages:
>   Husband/Father Gramps ID
>   Wife/Mother Gramps ID
>   Marriage event: Date, Place
>
> Family:
>   Family Gramps ID, Child Gramps ID
>
> The Csv export/import wasn't designed to do what you want. In fact
> Gramps can't really do what you want currently. I am very careful not
> to enter data into any place except my One True Family Tree for
> exactly this reason.

I'm normally very careful that the more recent version completely
contains the earlier one; but I got a bit confused through also
installing the whole caboodle on a new machine, the third, which is also
running a more recent version of the operating system!


>
> But if you find yourself here, you should try comparing the Xml
> exports (Gramps type) and compare the XML data. (There is also a Raw
> export, for really low-level compares, but you probably will be fine
> with the XML comparison.)
>
> -Doug
>

Many thanks; thanks also to Nick Hall.
I'll see how I get on.


Doug

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gramps-users mailing list
Gramps-users@...
https://lists.sourceforge.net/lists/listinfo/gramps-users