[GNC] Backup recovery

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Backup recovery

Finbar Mahon
Hi,

I know this has been asked before and I have read some of the the
threads, however...

I am trying out Backblaze, the continuous backup to the cloud service.

I wanted to check if my files were recoverable and I found -

....and more, all dated the day before yesterday, when I did the backup
trial.

1. Do I need to restore all of these, if not which ones?

2. I found them in my file explorer, is there any other place, by
default, where the files are?

3. Can somebody point me to a link or links which explain the 'best' way
of storing GNU files?

Using Windows 10 PC with Version: 3.4 Build ID: 3.4+ (2018-12-30)

Thanks, Finbar

_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

David Cousens
Finbar,

The directory with your data file will also contain log files  and backup
files.

See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
details

David Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
Thanks, I read the guide and was a bit confused when backblaze showed
the most recent save was yesterday at 3.55pm but with two dates/times of -

>>GNU 5 Feb 2018 .gnucash.20180305171639.gnucash.20190208155508.gnucash<<

Is the second date from the left [20180305171639] the date the file was
created originally, and the first one [GNU 5 Feb 2018] the file name  ?

Not critical as the backblaze file is the last save before I closed gnucash.

Finbar



On 08/02/2019 22:56, David Cousens wrote:

> Finbar,
>
> The directory with your data file will also contain log files  and backup
> files.
>
> See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
> details
>
> David Cousens
>
>
>
> -----
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

GnuCash - User mailing list
In reply to this post by Finbar Mahon
That file name indicates that you opened, and saved, a backup of your main data file. You might not have intended to do this.

See https://wiki.gnucash.org/wiki/FAQ#Q:_Why_is_my_file_name_getting_longer_and_longer.3F

David

On February 9, 2019, at 5:15 PM, Finbar Mahon <[hidden email]> wrote:

Thanks, I read the guide and was a bit confused when backblaze showed
the most recent save was yesterday at 3.55pm but with two dates/times of -

>>GNU 5 Feb 2018 .gnucash.20180305171639.gnucash.20190208155508.gnucash<<

Is the second date from the left [20180305171639] the date the file was
created originally, and the first one [GNU 5 Feb 2018] the file name  ?

Not critical as the backblaze file is the last save before I closed gnucash.

Finbar



On 08/02/2019 22:56, David Cousens wrote:

> Finbar,
>
> The directory with your data file will also contain log files  and backup
> files.
>
> See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
> details
>
> David Cousens
>
>
>
> -----
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
Thanks for that, I probably did, but not (yet) in backblaze, does that
matter?

Finbar

On 09/02/2019 12:59, D wrote:

> That file name indicates that you opened, and saved, a backup of your main data file. You might not have intended to do this.
>
> See https://wiki.gnucash.org/wiki/FAQ#Q:_Why_is_my_file_name_getting_longer_and_longer.3F
>
> David
>
> On February 9, 2019, at 5:15 PM, Finbar Mahon <[hidden email]> wrote:
>
> Thanks, I read the guide and was a bit confused when backblaze showed
> the most recent save was yesterday at 3.55pm but with two dates/times of -
>
>>> GNU 5 Feb 2018 .gnucash.20180305171639.gnucash.20190208155508.gnucash<<
> Is the second date from the left [20180305171639] the date the file was
> created originally, and the first one [GNU 5 Feb 2018] the file name  ?
>
> Not critical as the backblaze file is the last save before I closed gnucash.
>
> Finbar
>
>
>
> On 08/02/2019 22:56, David Cousens wrote:
>> Finbar,
>>
>> The directory with your data file will also contain log files  and backup
>> files.
>>
>> See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
>> details
>>
>> David Cousens
>>
>>
>>
>> -----
>> David Cousens
>> --
>> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
>> _______________________________________________
>> gnucash-user mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

GnuCash - User mailing list
I don’t know. What is backblaze?

Based on the info in the FAQ to which I referred, it appears that on Feb 8, 2019, you opened a backup copy of “GNU 5 Feb 2018”, which itself was made on March 5, 2018, made some changes, and saved from that backup. I don’t know your workflow or immediate purpose for doing that; in my situation, if I had opened a backup file from 11 months ago and made changes to that file which I then saved, I would most likely have f**ked up. YMMV.

David

> On Feb 10, 2019, at 8:00 PM, Finbar Mahon <[hidden email]> wrote:
>
> Thanks for that, I probably did, but not (yet) in backblaze, does that matter?
>
> Finbar
>
> On 09/02/2019 12:59, D wrote:
>> That file name indicates that you opened, and saved, a backup of your main data file. You might not have intended to do this.
>>
>> See https://wiki.gnucash.org/wiki/FAQ#Q:_Why_is_my_file_name_getting_longer_and_longer.3F
>>
>> David
>>
>> On February 9, 2019, at 5:15 PM, Finbar Mahon <[hidden email]> wrote:
>>
>> Thanks, I read the guide and was a bit confused when backblaze showed
>> the most recent save was yesterday at 3.55pm but with two dates/times of -
>>
>>>> GNU 5 Feb 2018 .gnucash.20180305171639.gnucash.20190208155508.gnucash<<
>> Is the second date from the left [20180305171639] the date the file was
>> created originally, and the first one [GNU 5 Feb 2018] the file name  ?
>>
>> Not critical as the backblaze file is the last save before I closed gnucash.
>>
>> Finbar
>>
>>
>>
>> On 08/02/2019 22:56, David Cousens wrote:
>>> Finbar,
>>>
>>> The directory with your data file will also contain log files  and backup
>>> files.
>>>
>>> See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
>>> details
>>>
>>> David Cousens
>>>
>>>
>>>
>>> -----
>>> David Cousens
>>> --
>>> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
>>> _______________________________________________
>>> gnucash-user mailing list
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
Yes, I appreciate the comment.

In my original post I mentioned that I was testing out an app called
backblaze, an automatic backup to the the cloud. I asked where and how I
would find the GNU backups, since the folder where GNU stuff is saved is
full of files, and would have been backed up by backblaze it its
entirity.. I got the answer(s) and the link to the manual. It was only
then that I discovered, after I asked another question about the file
name, that I was working on another backup. I don't recall making one
specifically but it was probably part of a 'general' HD backup. However,
I have no idea how or when I restored it, if I ever did, I have not had
any reason to restore any files.

As you so rightly pointed out I may have f****d up, thanks.

I asked, in effect if the version that is in the backblaze app backup
folder is a complete backup up to the 8 Feb, or is it just an update of
the March 5 2018 file? If it is a 'catch-up' then is that ok?

Sorry for any confusion, it is not deliberate.

Thanks again, Finbar

On 10/02/2019 16:23, David T. wrote:

> I don’t know. What is backblaze?
>
> Based on the info in the FAQ to which I referred, it appears that on Feb 8, 2019, you opened a backup copy of “GNU 5 Feb 2018”, which itself was made on March 5, 2018, made some changes, and saved from that backup. I don’t know your workflow or immediate purpose for doing that; in my situation, if I had opened a backup file from 11 months ago and made changes to that file which I then saved, I would most likely have f**ked up. YMMV.
>
> David
>
>> On Feb 10, 2019, at 8:00 PM, Finbar Mahon <[hidden email]> wrote:
>>
>> Thanks for that, I probably did, but not (yet) in backblaze, does that matter?
>>
>> Finbar
>>
>> On 09/02/2019 12:59, D wrote:
>>> That file name indicates that you opened, and saved, a backup of your main data file. You might not have intended to do this.
>>>
>>> See https://wiki.gnucash.org/wiki/FAQ#Q:_Why_is_my_file_name_getting_longer_and_longer.3F
>>>
>>> David
>>>
>>> On February 9, 2019, at 5:15 PM, Finbar Mahon <[hidden email]> wrote:
>>>
>>> Thanks, I read the guide and was a bit confused when backblaze showed
>>> the most recent save was yesterday at 3.55pm but with two dates/times of -
>>>
>>>>> GNU 5 Feb 2018 .gnucash.20180305171639.gnucash.20190208155508.gnucash<<
>>> Is the second date from the left [20180305171639] the date the file was
>>> created originally, and the first one [GNU 5 Feb 2018] the file name  ?
>>>
>>> Not critical as the backblaze file is the last save before I closed gnucash.
>>>
>>> Finbar
>>>
>>>
>>>
>>> On 08/02/2019 22:56, David Cousens wrote:
>>>> Finbar,
>>>>
>>>> The directory with your data file will also contain log files  and backup
>>>> files.
>>>>
>>>> See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-backup1.html for
>>>> details
>>>>
>>>> David Cousens
>>>>
>>>>
>>>>
>>>> -----
>>>> David Cousens
>>>> --
>>>> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> [hidden email]
>>>> 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
>>> [hidden email]
>>> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Maf. King
On Monday, 11 February 2019 09:10:30 GMT Finbar Mahon wrote:

<SNIP>
> that I was working on another backup. I don't recall making one
> specifically but it was probably part of a 'general' HD backup. However,
> I have no idea how or when I restored it, if I ever did,

<SNAP>

Finbar,

re-read the GC info about backups & filenames.  GC normally makes a backup each
time you save the data file - and puts the timestamp numbers on the end of the
"working" filename.  It is one of these auto-backups that you opened (actually,
a backup-of-a-backup, hence the 2x digit strings) not anything that you
backed-up/restored external to GC.

HTH,
Maf.



_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
OK, thanks. So, it is 'normal' to be using it?

Finbar

On 11/02/2019 10:28, Maf. King wrote:

> On Monday, 11 February 2019 09:10:30 GMT Finbar Mahon wrote:
>
> <SNIP>
>> that I was working on another backup. I don't recall making one
>> specifically but it was probably part of a 'general' HD backup. However,
>> I have no idea how or when I restored it, if I ever did,
> <SNAP>
>
> Finbar,
>
> re-read the GC info about backups & filenames.  GC normally makes a backup each
> time you save the data file - and puts the timestamp numbers on the end of the
> "working" filename.  It is one of these auto-backups that you opened (actually,
> a backup-of-a-backup, hence the 2x digit strings) not anything that you
> backed-up/restored external to GC.
>
> HTH,
> Maf.
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Maf. King
On Monday, 11 February 2019 10:35:30 GMT you wrote:
> OK, thanks. So, it is 'normal' to be using it?
>

No, you risk data loss at the point of opening the backup.

let me clarify.

Your data file is called (for example) "mybooks.gnucash" All timestamps are
made up (but plausible)

you enter a transaction and save and quit.  GC renames the old
"mybooks.gnucash" to "mybooks.gnucsh.201901022345.gnucash" and saves the
changes into a new file on disk called "mybooks.gnucash"

you later open the backup (by mistake) and enter another transaction, save and
quit again.  GC creates the backup mybooks.gnucash.201901022345.gnucash.
201901081256.gnucash

GC now has 3 files in the folder:

mybooks.gnucash    <-- has the 1st edit in it
mybooks.gnucash.201901022345.gnucash  <-- has the 2nd edit in it
mybooks.gnucash.201901022345.gnucash.201901081256.gnucash <--no edits in it

as you can see, by using a backup, you loose the previous edit session - go a
few edits down the road and you can be in proper mess with transactions
seeming to go missing from months ago!

When Gnucash starts, it *normally* opens the file that was open when you shut
down last time around, so it is fairly easy to get the wrong one by mistake if
you've been digging in the folder.  On Windows & Linux, you can make GC open
with a different file by clicking... but not so on mac.  No matter what file you
try to open GC with, it WILL use the previous one. So if you've been looking
at backups, on a Mac you NEED to File->Open once GC is running.

HTH,
Maf,





_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
Wow, this is getting (more) complicated -

You said -

[When Gnucash starts, it *normally* opens the file that was open when
you shutdown last time around,

so it is fairly easy to get the wrong one by mistake if you've been
digging in the folder.]

I just booted up GNUcash without any 'digging' and got  -

On the bottom of the screen.

which follows your information, as the 'second' file? right ? so, I go
to file>open and I get -

etc., etc. None of which have the date that is on the open GNUcash file.
Maybe it is one of the files marked 'wed'? but the dates don't match.

So I look further down the list of files under file > open and I finally
come to -

The only file on these two grabs which fits your name criteria is the
very first one above but the date is almost a year ago, and none of the
others in the second grab seem to fit the criteria.

:-( I am truly sorry for the long sequence of q&a but I am accustomed to
assuming the file I last used opens again after I 'save' and 'quit'

Thank you very much for your patience.

Finbar

On 11/02/2019 12:08, Maf. King wrote:

> On Monday, 11 February 2019 10:35:30 GMT you wrote:
>> OK, thanks. So, it is 'normal' to be using it?
>>
> No, you risk data loss at the point of opening the backup.
>
> let me clarify.
>
> Your data file is called (for example) "mybooks.gnucash" All timestamps are
> made up (but plausible)
>
> you enter a transaction and save and quit.  GC renames the old
> "mybooks.gnucash" to "mybooks.gnucsh.201901022345.gnucash" and saves the
> changes into a new file on disk called "mybooks.gnucash"
>
> you later open the backup (by mistake) and enter another transaction, save and
> quit again.  GC creates the backup mybooks.gnucash.201901022345.gnucash.
> 201901081256.gnucash
>
> GC now has 3 files in the folder:
>
> mybooks.gnucash    <-- has the 1st edit in it
> mybooks.gnucash.201901022345.gnucash  <-- has the 2nd edit in it
> mybooks.gnucash.201901022345.gnucash.201901081256.gnucash <--no edits in it
>
> as you can see, by using a backup, you loose the previous edit session - go a
> few edits down the road and you can be in proper mess with transactions
> seeming to go missing from months ago!
>
> When Gnucash starts, it *normally* opens the file that was open when you shut
> down last time around, so it is fairly easy to get the wrong one by mistake if
> you've been digging in the folder.  On Windows & Linux, you can make GC open
> with a different file by clicking... but not so on mac.  No matter what file you
> try to open GC with, it WILL use the previous one. So if you've been looking
> at backups, on a Mac you NEED to File->Open once GC is running.
>
> HTH,
> Maf,
>
>
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Colin Law
I can't see the images you presumable posted for some reason, but I
suspect what happened was that some time ago you, for some reason,
opened one of the backup files (so
whatever.gnucash.longdatestring.gnucash) and didn't then re-open or
save as the original file name.  Ever since then you have bee using
that file as your working file so it has been making backup files with
the the second timestamp added too.  Thus it may well be that the file
with the latest single date string is actually your latest data.

As for your comment that you are used to applications opening the last
used file, that is exactly what Gnucash has been doing.

Colin

On Mon, 11 Feb 2019 at 13:28, Finbar Mahon <[hidden email]> wrote:

>
> Wow, this is getting (more) complicated -
>
> You said -
>
> [When Gnucash starts, it *normally* opens the file that was open when
> you shutdown last time around,
>
> so it is fairly easy to get the wrong one by mistake if you've been
> digging in the folder.]
>
> I just booted up GNUcash without any 'digging' and got  -
>
> On the bottom of the screen.
>
> which follows your information, as the 'second' file? right ? so, I go
> to file>open and I get -
>
> etc., etc. None of which have the date that is on the open GNUcash file.
> Maybe it is one of the files marked 'wed'? but the dates don't match.
>
> So I look further down the list of files under file > open and I finally
> come to -
>
> The only file on these two grabs which fits your name criteria is the
> very first one above but the date is almost a year ago, and none of the
> others in the second grab seem to fit the criteria.
>
> :-( I am truly sorry for the long sequence of q&a but I am accustomed to
> assuming the file I last used opens again after I 'save' and 'quit'
>
> Thank you very much for your patience.
>
> Finbar
>
> On 11/02/2019 12:08, Maf. King wrote:
> > On Monday, 11 February 2019 10:35:30 GMT you wrote:
> >> OK, thanks. So, it is 'normal' to be using it?
> >>
> > No, you risk data loss at the point of opening the backup.
> >
> > let me clarify.
> >
> > Your data file is called (for example) "mybooks.gnucash" All timestamps are
> > made up (but plausible)
> >
> > you enter a transaction and save and quit.  GC renames the old
> > "mybooks.gnucash" to "mybooks.gnucsh.201901022345.gnucash" and saves the
> > changes into a new file on disk called "mybooks.gnucash"
> >
> > you later open the backup (by mistake) and enter another transaction, save and
> > quit again.  GC creates the backup mybooks.gnucash.201901022345.gnucash.
> > 201901081256.gnucash
> >
> > GC now has 3 files in the folder:
> >
> > mybooks.gnucash    <-- has the 1st edit in it
> > mybooks.gnucash.201901022345.gnucash  <-- has the 2nd edit in it
> > mybooks.gnucash.201901022345.gnucash.201901081256.gnucash <--no edits in it
> >
> > as you can see, by using a backup, you loose the previous edit session - go a
> > few edits down the road and you can be in proper mess with transactions
> > seeming to go missing from months ago!
> >
> > When Gnucash starts, it *normally* opens the file that was open when you shut
> > down last time around, so it is fairly easy to get the wrong one by mistake if
> > you've been digging in the folder.  On Windows & Linux, you can make GC open
> > with a different file by clicking... but not so on mac.  No matter what file you
> > try to open GC with, it WILL use the previous one. So if you've been looking
> > at backups, on a Mac you NEED to File->Open once GC is running.
> >
> > HTH,
> > Maf,
> >
> >
> >
> >
> >
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Maf. King
In reply to this post by Finbar Mahon
Hi Finbar.

Comments in-line below...

On Monday, 11 February 2019 13:24:32 GMT Finbar Mahon wrote:

> Wow, this is getting (more) complicated -
>
> You said -
>
> [When Gnucash starts, it *normally* opens the file that was open when
> you shutdown last time around,
>
> so it is fairly easy to get the wrong one by mistake if you've been
> digging in the folder.]
>
> I just booted up GNUcash without any 'digging' and got  -
>
> On the bottom of the screen.
>
> which follows your information, as the 'second' file? right ?

The file you have opened was originally an auto-backup of the file you called
"GNU 5 Feb 2018 ", this backup was made after you hit Save on 5th March 2018
at 17.16

> so, I go
> to file>open and I get -
>
> etc., etc. None of which have the date that is on the open GNUcash file.
> Maybe it is one of the files marked 'wed'? but the dates don't match.
>

those 2 *.log files suggest that you were editing a different "auto backup",
one taken originally on 1st March 2018 at 12:42.  Seems you opened or that file
on 6th Feb this year, at around 16.15.  But the log files are not your data, so
don't worry too much about them.

> So I look further down the list of files under file > open and I finally
> come to -
>
> The only file on these two grabs which fits your name criteria is the
> very first one above but the date is almost a year ago, and none of the
> others in the second grab seem to fit the criteria.

Looks like there is a couple of auto-backups in the image 6.png that suggest
you had the current file open for editing yesterday at around 14.14 or so.  the
top entry in that image suggests you also had the current file open on saturday
at 12.45 too.

the last file in the list shown in 6.png is the "lock" file that GC uses to help
prevent openign the data twice - the "can't get lock" message we all see
(occasionally) at start up - it should clear away on a clean shutdown.  Proves
that the current file is in that folder somewhere...

>
> :-( I am truly sorry for the long sequence of q&a but I am accustomed to
>
> assuming the file I last used opens again after I 'save' and 'quit'
>

GC does that by default (and always on a mac).  The problem is that at some
point after 5th March last year, you told GC to open a different file.  And it
has been doing so ever since.


I suggest that you might like to do a file->save as and use a new name without
the datestamps, but it is clear from 5.png that you have worked with 2 files in
the last week (possibly more?), so you may well be missing things from the
current file that you thought you had done, but are in the "wrong" file.  You'll
need to look carefully at how the 2 files differ before tiding up.

Good luck,
Maf.



_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Adrien Monteleone-2
In reply to this post by Finbar Mahon
Yes, if you just launch GnuCash from its launcher it will open the last file you had open when you did a ’Save’ and ‘Quit’.

But apparently, you intentionally at one point opened a backup file instead of the current working file, twice. (each time a different backup file)

You normally do *not* want to see any dates in the name of the currently open file. (unless you intentionally put that in the file name, such as the year if you open new files each year)

If you have a file open and there is a GnuCash generated date in the file name (like what you’ve shown previously, I can’t see the attachments either) then you very likely have a mess on your hands.

You’ll need to figure out which file is the ‘most correct one’ and contains the *most* transactions that you expect to be there. If you find another file with transactions you thought to be missing, you can open them side-by-side and copy/paste into the ‘most correct’ file. (Business Feature transactions will have to be done manually) Then I’d do a Save As on the ‘most correct’ file to reset the filename to something simple without the date—e.g., ‘mybook.gnucash’ When you are trying to figure this out, be sure to set your file manager to show last access date for each file. That will be eye opening. I’d suspect the last access date of mybook.gnucash to be on or before the last GnuCash generated date in the file name you are working in.

When you are confident you have everything straight, then delete ALL other files in the folder leaving only mybook.gnucash.

Do a backup to BackBlaze manually and make sure older backups are erased. (so you don’t accidentally restore one of the incomplete ‘messy’ files in the future)

Finally, don’t open any files with a GnuCash generated date again, unless you are trying to resolve an issue and don’t enter ANY transactions into that file. Only open such files for inspection and research. Enter transactions only in the ‘mybook.gnucash’ file.

Regards,
Adrien


> On Feb 11, 2019, at 7:24 AM, Finbar Mahon <[hidden email]> wrote:
>
> Wow, this is getting (more) complicated -
>
> You said -
>
> [When Gnucash starts, it *normally* opens the file that was open when you shutdown last time around,
>
> so it is fairly easy to get the wrong one by mistake if you've been digging in the folder.]
>
> I just booted up GNUcash without any 'digging' and got  -
>
> On the bottom of the screen.
>
> which follows your information, as the 'second' file? right ? so, I go to file>open and I get -
>
> etc., etc. None of which have the date that is on the open GNUcash file. Maybe it is one of the files marked 'wed'? but the dates don't match.
>
> So I look further down the list of files under file > open and I finally come to -
>
> The only file on these two grabs which fits your name criteria is the very first one above but the date is almost a year ago, and none of the others in the second grab seem to fit the criteria.
>
> :-( I am truly sorry for the long sequence of q&a but I am accustomed to assuming the file I last used opens again after I 'save' and 'quit'
>
> Thank you very much for your patience.
>
> Finbar


_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Finbar Mahon
In reply to this post by Maf. King
Well, I hope I understood all that.

I did a save as in a new folder called GNU FEB 12 2019, >Saved all the
open accounts, >closed them, >quit and then reopened GNUcash.

Voila, afaics, a file opened called GNU FEB12 2019.gnucash and it
contains the last transactions, so far so good.

Just have to remember to save and quit ??

Thanks again, Finbar

On 11/02/2019 15:10, Maf. King wrote:
>
> Good luck,
> Maf.
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Backup recovery

Maf. King
On Tuesday, 12 February 2019 12:09:22 GMT Finbar Mahon wrote:

> Well, I hope I understood all that.
>
> I did a save as in a new folder called GNU FEB 12 2019, >Saved all the
> open accounts, >closed them, >quit and then reopened GNUcash.
>
> Voila, afaics, a file opened called GNU FEB12 2019.gnucash and it
> contains the last transactions, so far so good.
>
> Just have to remember to save and quit ??
>

Yay!  Glad it is back to sane behaviour.  

Saving your work before quitting is always worth considering  :-)

Maf.





_______________________________________________
gnucash-user mailing list
[hidden email]
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.