[Backup] Advanced backup (hourly, daily backups) (#186)

Vote for or against this feature:

Implement it asap (+2)
7
64%
Would be nice to have (+1)
4
36%
I don't need it personally (-1)
0
No votes
Don't do it (-2)
0
No votes
 
Total votes: 11
Jon
Posts: 2
Joined: Fri Apr 24, 2009 9:06 am
Contact:

[Backup] Advanced backup (hourly, daily backups) (#186)

Postby Jon » Fri Apr 24, 2009 9:18 am

Original subject: Data lost - possible bug with back-up

I only recently discovered this program (using version M7.3) and was very impressed until I lost all my data following a system crash.

Unfortunately when I restarted my system Cintanotes appears to have done an auto back-up which has overwritten the exisiting notebook-backup.dat file.

Obviously this is my own fault for not copying the data file to another location, but most programs keep more than one back-up copy (eg. bak1, bak2, or .24h), and I think this would be a great improvement, and presumably easy to implement.
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Data lost - possible bug with back-up

Postby CintaNotes Developer » Fri Apr 24, 2009 9:37 am

Jon wrote:I only recently discovered this program (using version M7.3) and was very impressed until I lost all my data following a system crash.

Unfortunately when I restarted my system Cintanotes appears to have done an auto back-up which has overwritten the exisiting notebook-backup.dat file.

Obviously this is my own fault for not copying the data file to another location, but most programs keep more than one back-up copy (eg. bak1, bak2, or .24h), and I think this would be a great improvement, and presumably easy to implement.


Yes, this is unfortunately a known limitation of current (very basic) backup scheme. I'm very sorry for your data.
I'll investigate if such write-overs can be avoided. Has CN displayed any message box, e.g. "stream error"?

I've also created a ticket #186 "More advanced backup scheme (hourly, daily backups)" and put it on the roadmap.
I'll try to implement this asap.

In the meanwhile, everyone concerned about possibility of such an event should configure their own backup using e.g Task Scheduler and an archiving tool. Alternatively, if you feel you can trust online services, put CN into a Dropbox folder and all your notes will be automatically uploaded to a server.

Also I'm converting this topic into a suggestion-topic.

Jon, thanks for reporting, and again, sorry!
Alex
Jon
Posts: 2
Joined: Fri Apr 24, 2009 9:06 am
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Jon » Fri Apr 24, 2009 9:47 am

Hi Alex

Thanks for your very quick response.

Fortunately I can remember most of what I'd stored and/or can reconstruct the data from elsewhere.

I always mean to be more thorough with back-ups and hopefully this will force me to be, so I guess CintaNotes has done me a favour - just glad it happened so soon after I'd started using the program and only had a few notes.

Regards

Jon
Noddy330
Posts: 354
Joined: Thu Jan 22, 2009 11:05 pm
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Noddy330 » Fri Apr 24, 2009 10:09 am

I take a timestamped backup copy (e.g. as notebook.dat.200904140624) before I start CintaNotes. I use a script to start CintaNotes and it is automatic.
Nod
Midas
Moderator
Posts: 370
Joined: Thu Jan 29, 2009 10:40 am
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Midas » Fri Apr 24, 2009 12:51 pm

Noddy330 wrote:I take a timestamped backup copy (e.g. as notebook.dat.200904140624) before I start CintaNotes. I use a script to start CintaNotes and it is automatic.
Nod

I like this solution. CN could easily do this on its own without much trouble, right? ;)
:D Midas, your friendly nugget gobbler, with a message from our sponsors:

Ask questions the smart way -- see www.catb.org/~esr/faqs/
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby CintaNotes Developer » Fri Apr 24, 2009 1:26 pm

Midas wrote:
Noddy330 wrote:I take a timestamped backup copy (e.g. as notebook.dat.200904140624) before I start CintaNotes. I use a script to start CintaNotes and it is automatic.
Nod

I like this solution. CN could easily do this on its own without much trouble, right? ;)


Yes, but is not that simple.
1) Not everyone would want it to be enabled by default - need to add an option
2) The CN folder will grow larger and larger unless there's some rolling mechanism built-in.
3) Doing #186 is not much more difficult
Alex
Midas
Moderator
Posts: 370
Joined: Thu Jan 29, 2009 10:40 am
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Midas » Fri Apr 24, 2009 1:46 pm

CintaNotes Developer wrote:Yes, but is not that simple.
1) Not everyone would want it to be enabled by default - need to add an option
2) The CN folder will grow larger and larger unless there's some rolling mechanism built-in.
3) Doing #186 is not much more difficult

I thought we were talking about #186... ! :twisted:

While I can't disagree that making this optional is a sensible move, I don't think that 2) is really a problem -- we're talking mainly text files here, and when you add other type of content, you could link it instead of embedding it, so you'd only need one copy of each single object; another solution would be to compress the backups, including copies of the relevant objects, thus enforcing referential integrity (think 7Zip!).
:D Midas, your friendly nugget gobbler, with a message from our sponsors:

Ask questions the smart way -- see www.catb.org/~esr/faqs/
Noddy330
Posts: 354
Joined: Thu Jan 22, 2009 11:05 pm
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Noddy330 » Fri Apr 24, 2009 1:49 pm

CintaNotes Developer wrote:
Midas wrote:
Noddy330 wrote:I take a timestamped backup copy (e.g. as notebook.dat.200904140624) before I start CintaNotes. I use a script to start CintaNotes and it is automatic.
Nod

I like this solution. CN could easily do this on its own without much trouble, right? ;)


Yes, but is not that simple.
1) Not everyone would want it to be enabled by default - need to add an option
2) The CN folder will grow larger and larger unless there's some rolling mechanism built-in.
3) Doing #186 is not much more difficult


Yes – I realise my method will not suit everyone, and I do have to do a regular tidy up. But I don’t like just one backup file – overwrite it with a bad one, and all your backup data has gone. Maybe it’s a user responsibility. Nod
Midas
Moderator
Posts: 370
Joined: Thu Jan 29, 2009 10:40 am
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Midas » Fri Apr 24, 2009 2:00 pm

Noddy330 wrote:Yes – I realise my method will not suit everyone, and I do have to do a regular tidy up. But I don’t like just one backup file – overwrite it with a bad one, and all your backup data has gone. Maybe it’s a user responsibility. Nod

What about keeping notebook.dat for the main notebook and labeling backups like 200904140624.sav; then a file system check could be performed against some optional preset disk space value (10MB, for instance) that, if exceeded by the *.sav files would trigger some message like: "You now have over 10MB in CintaNotes backups; should older ones be deleted? YES|NO|REMIND ME LATER|STOP BUGGING ME"? :mrgreen:
:D Midas, your friendly nugget gobbler, with a message from our sponsors:

Ask questions the smart way -- see www.catb.org/~esr/faqs/
Noddy330
Posts: 354
Joined: Thu Jan 22, 2009 11:05 pm
Contact:

Re: [Suggestion] Advanced backup (hourly, daily backups) (#186)

Postby Noddy330 » Fri Apr 24, 2009 2:16 pm

Midas wrote:
Noddy330 wrote:Yes – I realise my method will not suit everyone, and I do have to do a regular tidy up. But I don’t like just one backup file – overwrite it with a bad one, and all your backup data has gone. Maybe it’s a user responsibility. Nod

What about keeping notebook.dat for the main notebook and labeling backups like 200904140624.sav; then a file system check could be performed against some optional preset disk space value (10MB, for instance) that, if exceeded by the *.sav files would trigger some message like: "You now have over 10MB in CintaNotes backups; should older ones be deleted? YES|NO|REMIND ME LATER|STOP BUGGING ME"? :mrgreen:


I think that any tidy up (disc space management) should be a user responsibility, unless there was a CintaNotes option to only keep that last xx backups. Nod

Return to “Completed Feature Requests”