I wrote the OP, and it was NOT about moving to a new machine; it was about having the "working" files (the .log files and the backup files) stored in a different directory than the main file.
The answer to your question has two parts: First, the financial data is all stored in one file, and you just need to copy this file from the old computer to the new one. Where this is located depends on where you decided to put it. It is named something like <filename chosen by user>.gnucash. You don't need to copy the files named <filename>.<timestamp>.gnucash -- these are backup files. The second part is optional; it concerns any customized reports and/or settings you've made. You can either copy the reports and settings or re-create them. I've changed machines a few times, and I forgot to copy the reports & settings, but it wasn't too hard to reset GnuCash to my preferences, or to re-create reports (I don't have that many). If you have a lot of customized reports, you'll probably want to move these. I think GnuCash itself can point you to where they are -- they are usually in a folder off of the user's home directory. I hope this answers your question. On Tue, Aug 13, 2024 at 5:12 AM Mahon Finbar via gnucash-user < gnucash-user@gnucash.org> wrote: > If nobody minds, could I butt in? > > This thread is sort of about the same problem I have but I have received > no reply to my recent post about it. > > Am I to assume from the messages here that there is no easy way to > transfer working files to another location, or, as in my case, to > another PC, following an upgrade? > > Sorry again, I am not unaware of computing, but my knowledge is 'old' > and, from my experience of GNU support it would seem I am not nerdy > enough..... > > Finbar > > On 11/08/2024 11:03, sunfish62--- via gnucash-user wrote: > > David, > > > > I agree. Additionally, there are many different ways to remedy the > situation-- as noted by others in the thread (omitting log files for > backup, for example). > > > > Moreover, it doesn't take a huge effort to work out your own solution. > I, for example, took a half hour and threw together the following > powershell script that will move all such items in the current directory > into a folder named "backup": > > > > $backupfolder = "./backup/" > > $filelist = Get-ChildItem |Where-Object {$_.basename -match > 'gnucash.[0-9_]'} > > move-item -path $filelist -destination $backupfolder > > > > This can be placed in a powershell file (e.g., "movelog.ps1") and run > from your gnucash folder. Note that I didn't put any error checks in; it > simply moves any file that has "gnucash.###" in its name to that backup > location. My tests showed it worked for me. It would not be hugely > difficult to add tests and configurations to allow broader use, but I'm not > that interested in the issue. > > > > A similar approach could be taken on Linux and MacOs. The user can then > either run this as they remember, or set it to run at a regular time. > > > > David T. > > > > On Aug 11, 2024, 6:29 AM, at 6:29 AM, David Cousens< > davidcousen...@gmail.com> wrote: > >> Richard I would suspect the main reason that this feature request has > >> never been implemented is that it lies at the interface of GnuCash with > >> the Windows/Linux/MacOSX operating systems and has to work seamlessly > >> on all of them. That requires a level of both code and multiple OS > >> familiarity that few of us posess and those that do generally have more > >> pressing problems to address. > >> On Sat, 2024-08-10 at 11:45 -0500, R Losey wrote: > >>> I haven't done a lot of customization with my GnuCash system. > >>> > >>> My data file - MyData.gnucash is in the same directory as what I call > >>> the > >>> "working" files -- the MyData.gnucash.<timestamp>.gnucash and the > >>> MyData.gnucash.<timestamp>.log files. > >>> > >>> Is there some way that these working files can be created in a > >>> separate > >>> directory? > >>> > >>> I am backing up the GnuCash data directory, but in reality, all I > >>> really > >>> need to backup is my GnuCash file - all of these working files are > >>> just > >>> taking up space on the backup media. > >>> > >>> Note: I have GnuCash set to trim the files after a certain number of > >>> days, > >>> but the files are (naturally) not deleted from the backup material, > >>> so it > >>> has files back to when I started the backup. > >>> > >>> Thanks! > >>> > >> _______________________________________________ > >> gnucash-user mailing list > >> gnucash-user@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. > > _______________________________________________ > > gnucash-user mailing list > > gnucash-user@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. > _______________________________________________ > gnucash-user mailing list > gnucash-user@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. > -- _________________________________ Richard Losey rlo...@gmail.com Micah 6:8 _______________________________________________ gnucash-user mailing list gnucash-user@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.