I have rsync'd gnus for years with success. In addition to the files already listed I sync .newsrc.eld, but that is updated infrequently. Not strictly gnus entries, but related closely enough, I also sync .authinfo and .msmtprc (as I use msmtp) and also .bbdb.
I also have a humongously long startup-gnus.el which is called from .emacs and with which I tinker more often than I should. Bob Newell Honolulu, Hawai`i On Fri, Sep 10, 2021 at 1:12 AM Leo Butler <leo.but...@umanitoba.ca> wrote: > > Pankaj Jangid <pan...@codeisgreat.org> writes: > > > "Roland Winkler" <wink...@gnu.org> writes: > > > >> - How can I tell gnus (in a running emacs session) that I've rsync'ed > >> all local user directories and gnus should update itself accordingly > >> when, for example, articles are marked as read or expired. > >> > >> - Where does gnus store the information that I have read or marked for > >> expiration some news or mail articles in a group? > > > > When you are rsync’ing between two machines, you need to do it for the > > following files/directories: > > > > ~/News/ > > ~/Mail/ > > ~/.gnus.el > > ~/emacs.d/ ; (this is required for syncing other Emacs settings) > > ~/.newsrc ; (there are multiple formats newsrc.eld, newsrc.el > > ; or just .newsrc, This is what you are looking for.) > > ~/.authinfo.gpg ; (.newsrc, .authinfo etc.) > > > > Others, please add if I am missing some files/dirs. > > > I think one needs to save the dribble file, and copy it, too: > > ~/.newsrc-dribble > > Leo > -- Bob Newell Honolulu, Hawai`i Via Linux/Emacs/Gnus/BBDB.