Re: [GNC] Recovering
Indeed. Thanks for the backup advice. My mix of problems was different and an interesting object lesson. It started with an SSD seeming to fail, and I ordered a new one, but before it arrived, magically the old one started up again, and I carelessly assumed that my backup was working, so when it failed permanently, I would pop in the new SSD and restore from backup. So when the day came, and I put in the new SSD, I was not able to reinstall the operating system (Linux Mint), and it took me a while to figure out with help of usergroup feedback to identify that I probably needed a Mobo bios upgrade. ASUS promptly gave me the wrong instructions, and I bricked my mobo. I am in an RMA process with them now (no, don't ask how well that is doing), and by that time, I ordered a new computer, for I was working with a meagre Surface tablet as a backup, which was tiresome, and there was no end in sight. When the new system arrived, I quickly found out there were holes in my backups (I had two going), in part because of configuration errors, but in part also for as yet unexplained mysteries. In any case, by this time it was necessary to send in my old SSD for data recovery, which worked, but it was a painful exercise all by itself. It took them 6 weeks for unclear reasons, but eventually I was able to restore everything. Now I am working on a new, and hopefully more robust backup strategy, while also doing a synching exercise, so I can work remorely. On Fri, Sep 15, 2023 at 11:06 AM Michael or Penny Novack < stepbystepf...@comcast.net> wrote: > On 9/14/2023 8:25 PM, Rogier F. van Vlissingen wrote: > > I had a disastrous disk crash, and on top of that a backup that appeared > to > > have holes in it, so I was up a creek without the infamous paddle. > > > > Now recovering, and I feel like a stranger in my own house. Just looking > at > > my GNUCash files (I have one company for three years in Gnucash, I simply > > do not know by which file to open GNUCash and could not find guidance in > > the Help file. > > > > Any ideas? > > But you presumably have a much larger problem than recovering just > gnucash. I am assuming that you did other things with this computer than > just gnucash. As a retired professional who once had to attempt recovery > after a house fire when backups be in the same building and the data > recovery lab couldn't recover everything I do have some suggestions. > > a) File by file recovery should be your last resort. What directories > (file folders) appear to be intact on the back-up media? If you can, you > should. > > b) You FIRST check if your user data directory is intact. If so, you > restore that and should be done. If that has holes > > c) You look for directories within it that are still good. It's only > after restoring those and finding stuff you need not restored that you > go down to lower levels. > > Now this assumes that you do have FULL data back-ups. If you were using > some "file by file" back-up software for day to day recovery (I messed > up a file, give me back the previous version) you need to remember that > this sort of back-up is not really intended for recovery from a fatal > disk crash, house fire, etc. You should in addition be doing at least > periodic full data back-ups. > > That, of course might be closing the barn door advice. But keep in mind > for future. > > Michael D Novack > > > ___ > 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.
Re: [GNC] Recovering
On 9/14/2023 8:25 PM, Rogier F. van Vlissingen wrote: I had a disastrous disk crash, and on top of that a backup that appeared to have holes in it, so I was up a creek without the infamous paddle. Now recovering, and I feel like a stranger in my own house. Just looking at my GNUCash files (I have one company for three years in Gnucash, I simply do not know by which file to open GNUCash and could not find guidance in the Help file. Any ideas? But you presumably have a much larger problem than recovering just gnucash. I am assuming that you did other things with this computer than just gnucash. As a retired professional who once had to attempt recovery after a house fire when backups be in the same building and the data recovery lab couldn't recover everything I do have some suggestions. a) File by file recovery should be your last resort. What directories (file folders) appear to be intact on the back-up media? If you can, you should. b) You FIRST check if your user data directory is intact. If so, you restore that and should be done. If that has holes c) You look for directories within it that are still good. It's only after restoring those and finding stuff you need not restored that you go down to lower levels. Now this assumes that you do have FULL data back-ups. If you were using some "file by file" back-up software for day to day recovery (I messed up a file, give me back the previous version) you need to remember that this sort of back-up is not really intended for recovery from a fatal disk crash, house fire, etc. You should in addition be doing at least periodic full data back-ups. That, of course might be closing the barn door advice. But keep in mind for future. Michael D Novack ___ 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.
Re: [GNC] Recovering
On 14 September 2023 at 21:30, Adrien Monteleone said: > I'm not clear on your question. > > Are you asking which file is your data file? > > Do a search with your file manager for anything ending in ".gnucash" > > Those are 'book files'. And unless you intentionally made more than one, > there should be only one result. Unless you have backups, in which case there will also be many files ending in ..gnucash - where is a string of digits in mmddhhmmss format. The latest of these *may* be later than the latest "plain" file (depending on when the crash happened relative to the last time Gnucash took a backup). ___ 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.
Re: [GNC] Recovering
I'm glad that helped. Regards, Adrien p.s. — Please always remember to copy the list on all replies. On 9/14/23 10:15 PM, Rogier F. van Vlissingen wrote: Found it, so yes, there are lots of .gnucash files, but the short ones of just the name of the "book," and .gnucash are what you need to open the book again, and then it saves that file in the menu for next time. etc. I am back on track. ___ 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.
Re: [GNC] Recovering
I'm not clear on your question. Are you asking which file is your data file? Do a search with your file manager for anything ending in ".gnucash" Those are 'book files'. And unless you intentionally made more than one, there should be only one result. Regards, Adrien On 9/14/23 7:25 PM, Rogier F. van Vlissingen wrote: I had a disastrous disk crash, and on top of that a backup that appeared to have holes in it, so I was up a creek without the infamous paddle. Now recovering, and I feel like a stranger in my own house. Just looking at my GNUCash files (I have one company for three years in Gnucash, I simply do not know by which file to open GNUCash and could not find guidance in the Help file. Any ideas? ___ 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.
Re: [GNC] Recovering deleted transaction from log files
There's two sorts of logging. GnuCash emits varying levels of messages (error, warning, info, or debug) into the trace file (https://wiki.gnucash.org/wiki/Tracefile) depending on command-line arguments. The default is to emit only errors. The other logging, the one that Roland is talking about, is transaction logging. This writes to a log file that GnuCash knows how to import with File>Import>Replay Gnucash .log file, writing an entry every time a transaction object is locked or unlocked for editing. It's not configurable. Scheduled Transaction templates aren't locked so they're not logged, but when the SX creates a transaction that will be logged. The only way to not log an edit would be code that doesn't call xaccTransBeginEdit/xaccTransCommitEdit and any code that doesn't do that risks also that its changes won't be saved, particularly in the SQL backends. Regards, John Ralls > On Feb 24, 2020, at 3:23 AM, Greg Feneis wrote: > > I imagine logging is minimal by default to help keep GnuCash speedy. > Unless the user increases verbosity via CLI when launching GnuCash. Just a > guess. > > I'm also curious about controlling logging. I bet it's documented somewhere > > Kind regards, Greg Feneis > (Pixel 3) > > > On Sat, Feb 22, 2020, 15:00 Roland Roberts wrote: > >> On 2/21/2020 11:54 PM, Roland Roberts wrote: >>> [...] >>> So... I figured the log file(s) between those two should have the >>> missing transactions. But that file is nothing but a sequence of >>> >>> = START >>> = END >>> >>> after the header. Why wouldn't the log have my deleted transactions >>> in it? >> >> So I was able to track down the missing transaction. What had actually >> happened was that I had apparently edited it (obviously in error) and >> change the account on a payment to a credit card. That removed it's >> reconciled state in the bank account from which the payment had been >> made (naturally, it was no longer against that account). I did that the >> painful way by unpacking the two gnucash files and doing diff, that >> tracking through the diffs. >> >> I'm still puzzled by the log file. I read through some of the gnucash >> docs and realize that scheduled transactions are special beasts and that >> those don't show up in the logs, but an edit like this I thought would. >> My immediate problem is solved, but...I'd like to know what sort of >> things the logs can help me with since it wasn't as useful as I expected >> for this case. >> >> roland >> >> >> ___ >> gnucash-user mailing list >> gnucash-user@gnucash.org >> To update your subscription preferences or to unsubscribe: >> https://lists.gnucash.org/mailman/listinfo/gnucash-user >> If you are using Nabble or Gmane, please see >> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. >> - >> 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 > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > 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 If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Recovering deleted transaction from log files
I imagine logging is minimal by default to help keep GnuCash speedy. Unless the user increases verbosity via CLI when launching GnuCash. Just a guess. I'm also curious about controlling logging. I bet it's documented somewhere Kind regards, Greg Feneis (Pixel 3) On Sat, Feb 22, 2020, 15:00 Roland Roberts wrote: > On 2/21/2020 11:54 PM, Roland Roberts wrote: > > [...] > > So... I figured the log file(s) between those two should have the > > missing transactions. But that file is nothing but a sequence of > > > > = START > > = END > > > > after the header. Why wouldn't the log have my deleted transactions > > in it? > > So I was able to track down the missing transaction. What had actually > happened was that I had apparently edited it (obviously in error) and > change the account on a payment to a credit card. That removed it's > reconciled state in the bank account from which the payment had been > made (naturally, it was no longer against that account). I did that the > painful way by unpacking the two gnucash files and doing diff, that > tracking through the diffs. > > I'm still puzzled by the log file. I read through some of the gnucash > docs and realize that scheduled transactions are special beasts and that > those don't show up in the logs, but an edit like this I thought would. > My immediate problem is solved, but...I'd like to know what sort of > things the logs can help me with since it wasn't as useful as I expected > for this case. > > roland > > > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > 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 If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Recovering deleted transaction from log files
On 2/21/2020 11:54 PM, Roland Roberts wrote: [...] So... I figured the log file(s) between those two should have the missing transactions. But that file is nothing but a sequence of = START = END after the header. Why wouldn't the log have my deleted transactions in it? So I was able to track down the missing transaction. What had actually happened was that I had apparently edited it (obviously in error) and change the account on a payment to a credit card. That removed it's reconciled state in the bank account from which the payment had been made (naturally, it was no longer against that account). I did that the painful way by unpacking the two gnucash files and doing diff, that tracking through the diffs. I'm still puzzled by the log file. I read through some of the gnucash docs and realize that scheduled transactions are special beasts and that those don't show up in the logs, but an edit like this I thought would. My immediate problem is solved, but...I'd like to know what sort of things the logs can help me with since it wasn't as useful as I expected for this case. roland ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.