How update data on second computer?

Gramps 5.2.2; Linux Mint LMDE 6
I have Gramps installed on 1 PC and 1 notebook. I mainly work on the PC. What is the easiest way to transfer new changes / data to the notebook?
So far I have exported the entire backup and imported it into the notebook. It would be nice to export only the actual changes instead. Is that possible? And how?

I have All media in nextcloud, so it is accesible from both pc and laptop.
The i use syncthing to keep the gramps directory in sync. This is done automagically, and includes the database.

1 Like

Thank you for your answer. That could be very useful for me either. Have I to use a Gramps server then? Or does it work with i.e. MEGA sync too?

You can simplify the process, avoiding the import-merge-filter operation with may cause trouble: transfer directly the database. Unfortunately, data size is much larger than the XML backup due to ancillary structures.

1 Like

Thank you! Do you mean this folder: /home/rainer/.gramps/grampsdb
This folder has a size of 2.6 MB at the moment. That isn’t very large.
What is with syncing new images? Manually?

No, i do the .gramps and All it’s subdirectories. That ensures that if i change a settings change, it will happen on both computers. Once you have installed syncthing on both computers, and told it what directoriet to sync, everything will be done in the background, so you never have to do anything manually.
It will install a webgui, where you can do the configuration as well as monitor the status
When i did the installation i move the .gramps to .gramps.bak and created an empty .gramps on one of the machine, so i wouldn’t have a conflict, and have the old data available if shit should hit the fan.

1 Like

If you by images Mean New versions of gramps, they will have to be installed manually on both machines

In “Tools” I find “Gramps-Web-Synchronization”. After I click on it, there is an introduction and then a login window. What do I enter there? Where do I register?

This is for syning to the grampsweb application, not for syning between 2 computers.
Syncthing : https://syncthing.net/

Thank you again. I prefer localhost for it and began to prepair that. At a certain point a got an error and started another thread about that special case.

I have my Documents and Pictures folders synced with MEGA, and with my media in Documents, they are always available, so that I can use backups without media to keep the trees in sync, sort of.

In theory, I could also add my .gramps, or grampsdb folder to MEGA, but I haven’t tested that.

I’m using the selective sync, so that I don’t have to move anything to the MEGA folder, but can use the existing folders as they are.

Yes

If your notebook can handle rsync protocol (if the Notebook is also under Linux, there is no problem), you can automate the sync procedure.

Connect your computers on your local network. You can launch rsync from the PC. I suggest you create 2 rsync sessions: one to copy the database folder (either the one inside grampsdb/ containing your tree or grampsdb/ itself if you have several trees you want to sync between both computers), and one for the media folder if you want to duplicate it too. In the latter case, make sure the file organisation is the same on both computers.

1 Like

Sounds good. I’ll check that out using Nemo file manager with an action-script that puts rsync into context menu.

The nemo_action script is more or less trash. However, I found a really fine gui tool to sync called Freefilesync. That does the work properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.