[GNC] New PC
David Cousens
davidcousens49 at gmail.com
Fri Dec 16 20:23:01 EST 2022
Agree that it would be ideal to have a single user directory but unfortunately
the different OS's have different requirements and conventions and they also
vary somewhat between various Linux distributions. It would not be too hard to
create a Linux bash script that could pack all the files on one computer into a
zip with a corresponding unpack on another Linux machine, but Linux to Windows
is likely to be more complex with the registry involved and I have no idea how
to do it on a mac but as the Mac OS has its origin in Linux it is likely a shell
script from Linux could be adapted.
A one off is no problem, but maintaining it as the various OS's change their
requirements creates an ongoing task.
I avoid it totally as I keep complete backups of my home directory on an NAS,
another laptop and an online storage as well as periodically an offsite USB .
David
On Fri, 2022-12-16 at 17:37 -0500, Michael or Penny Novack wrote:
> On 12/16/2022 3:00 PM, David Cousens wrote:
> > The user preference data is stored in the locations defined as
> > USER_CONFIG_HOME
> > in the following wiki page. The page also details all of the places that
> > data
> > about GnuCash configuration and what type of data is stored in those
> > specific
> > locations is stored on the 3 operating systems.
> > https://wiki.gnucash.org/wiki/Configuration_Locations
> > There are a set of links to diagrammatic forms of this information on the 3
> > operating systems about a third of the way down the page. It is possible
> > that
> > more informaton has been added since I constructed those a couple of years
> > ago
> > as they resulted from my efforts to get the information in that page into a
> > more
> > easily digestible form.
> > The location of the GnuCash data file containing the sets of books can be
> > anywhere the user chooses in their home directoty/folder.
>
> Very useful if you want to know which specific one does what.
>
> But the "picture" wanted for backing up (or moving to a different
> machine) is different *IF* there exists one or two directories that
> contain all of them.
>
> To give an example from another (unrelated) application: Take the
> browser FireFox. In THIS case(in Windows) all will be within a directory
> named Mozilla in the appdata directory. So if you were moving to a new
> computer you could just replace that directory in the new computer
> (created when you installed/opened first time FireFox) with the one form
> your old computer. Or for your back-ups, that is the directory you want
> to copy. So ......
>
> Is there one directory (or a small set of directories) that contain all
> that is needed for gnucash? And nothing else. THAT is the "view" wanted
> for both back-up and moving to another computer. And if there is not a
> small subset, if they are "scattered", then that perhaps should be fixed.
>
> Michael D Novack
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list