Clone Gramps for PC to PC Transfer

In light of the recent discussions about working/moving between 2 systems and as a result of me playing with two different versions of the operating systems on Pi5’s.
I had a dream (maybe nightmare) of a clone function which would do exactly that for the complete Gramps install and allow it to be transposed onto a clean but identical system.
phil

If you are talking about Pi’s, are you thinking of cloning Gramps Web for a home server or Gramps for desktops (since the Pi OS is derived from the Debian flavor of Linux)

Hi Brian

Gramps for Desktop is my focus at the minute, just “playing” around have
looked at GrampsWeb briefly and that is a winter project.
Debian is also due an upgrade this year to “Trixie” which will give an
all new batch of issues no doubt.
phil

We can do bidirectional synchronisation between Gramps Desktop and Gramps Web.
But what would it take to change Gramps Web Sync to do a bidirectional sync between two Gramps Desktop? @DavidMStraub ??

But what would it take to change Gramps Web Sync to do a bidirectional sync between two Gramps Desktop? @DavidMStraub ??

Honestly I don’t see the point - to use Gramps Desktop on two systems, but only edit one at a time, a file sync solution like Nextcloud Files or Syncthing for the Gramps DB folder works fine. It might not be officially endorsed because of course things can go wrong in theory - but with prudent backups (which is always a good idea) I don’t see a problem and I’ve used it like this for years.

That being said, Gramps Web can be used as a synchronization hub for multiple Gramps Desktop instances whether one uses the web app or not.

1 Like

The point is, if you have Gramps on a laptop that you bring to an archive to do research, and you also have Gramps on a stationary PC at home, then it is very nice to sync between the laptop and the stationary instead of copying files and redo inserts to Gramps.

If the edits are only done on one of the two (say, the Laptop when you’re travelling and the Desktop when you’re at home), the file sync solution should work fine. Only if simultaneous edits are made, a “merging sync” like Gramps Web Sync is needed.

It would be comparatively simple to have a pair of symmetrical scripts to copy the tree file from the Database folder from each machine to the other. Either via a local network or Sneakernet on a USB external storage.

However, syncing the Media, the addon installations and Preferences would be more challenging. You could do the addons and the Preferences as blind copies. They are small and would overwrite easily.

But the media would be too big to do that efficiently. And the restore backup with media does not deal well with overwriting existing folders. (Frankly, it fails miserably at that.)

Whilst not exactly my original point I can see a purpose for this when
you have done a clean install of GRAMPS on a new machine and you do not
want to (or unsure of) copy and paste
./local/share/gramps & ./config/gramps or their Mac/Windows equivalents
and would like to get running asap.
GRAMPS is now so comprehensive and complex maybe some form of tools like
these are needed.
phil

1 Like