Where Does Grsync Store Sessions?
Grsync saves each backup setup as a session in grsync.ini, now under ~/.config on current versions with ~/.grsync as the legacy spot.
Last updated
Grsync sessions are just named sections in a single ini file, which makes them pleasantly portable. Each session records source, destination, and every rsync flag you ticked, plus optional before and after commands. Copy that one file and your whole backup setup moves with it.
The wrinkle is the location change between versions. Older Grsync used ~/.grsync/grsync.ini directly in the home folder. Current releases follow the XDG layout under ~/.config/grsync instead. Check the new spot first.
Where Grsync stores this, by platform
~/.config/grsync/grsync.ini
Holds grsync.ini with every session definition. Individual session files can also be exported anywhere with the -i import option, which is handy for sharing one job without moving the rest.
~/.grsync/grsync.ini
The pre-1.3 location. If your sessions are missing after an upgrade, they are probably still here. Move the file to the new path rather than recreating everything by hand.
Frequently asked questions
How do I move my sessions to a new machine?
Copy grsync.ini to the same relative spot on the new machine. It holds every session definition, so one file restores all your backup jobs at once.
Why is there no .grsync folder in my home directory?
You are on a newer build. Grsync 1.3 moved the default config directory from the home folder into .config. Check ~/.config/grsync first, then the legacy path.
Notice an outdated path? Let us know.