Bug 361271

Summary: after saved file, the file corrupted, and I lost my data
Product: [Applications] kmymoney Reporter: Ricardo Esdra <riesdra>
Component: databaseAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: critical CC: christian-david
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment-10885-0.html
attachment-18641-0.html
attachment-22957-0.html

Description Ricardo Esdra 2016-04-01 11:53:36 UTC
hello,

I've a report it's personalized,  across 2008 - 2015, I did change for 2008 - 2016, when I did save the file after edit the period, it's crashing, and I lost all my date, the file has 0 kb of size.
someone has any idea of how I can solve this problem?

Reproducible: Always


Actual Results:  
file has 0 kb of size
Comment 1 Christian David 2016-04-01 19:05:05 UTC
I am afraid, if you have no backup, you data is probably lost.

What did you do before KMyMoney crashed?

*** This bug has been marked as a duplicate of bug 356399 ***
Comment 2 Ricardo Esdra 2016-04-01 19:37:48 UTC
Created attachment 98189 [details]
attachment-10885-0.html

I did change period of one report, 


I use megasync, but my file corrupted upload too, but I've a copy of end february in my notebook, I lost a month of service.


--
Ricardo Libanio





---- Em Sex, 01 Abr 2016 16:05:05 -0300 Christian David via KDE Bugzilla &lt;bugzilla_noreply@kde.org&gt; escreveu ---- 

https://bugs.kde.org/show_bug.cgi?id=361271 
 
Christian David &lt;christian-david@web.de&gt; changed: 
 
 What |Removed |Added 
---------------------------------------------------------------------------- 
 Resolution|--- |DUPLICATE 
 Status|UNCONFIRMED |RESOLVED 
 CC| |christian-david@web.de 
 
--- Comment #1 from Christian David &lt;christian-david@web.de&gt; --- 
I am afraid, if you have no backup, you data is probably lost. 
 
What did you do before KMyMoney crashed? 
 
*** This bug has been marked as a duplicate of bug 356399 ***
Comment 3 allan 2016-04-01 20:19:30 UTC
Just in case there's a hint of help, I don't suppose you could have setup for auto-backup?  In which case, there might be copies in the same folder as your *.kmy files?

Allan
Comment 4 Ricardo Esdra 2016-04-01 22:30:50 UTC
Created attachment 98194 [details]
attachment-18641-0.html

I've auto-backup, in megasync cloud, and his update too stayed with 0 kb
I'll use a old file what I've of february 29, and redoing it until today.


How I can create a option for auto daily backup?
exemple [file.kmy_20130401] in the name

--
Ricardo Libanio





---- Em Sex, 01 Abr 2016 17:19:30 -0300 allan via KDE Bugzilla &lt;bugzilla_noreply@kde.org&gt; escreveu ---- 

https://bugs.kde.org/show_bug.cgi?id=361271 
 
--- Comment #3 from allan &lt;agander93@gmail.com&gt; --- 
Just in case there's a hint of help, I don't suppose you could have setup for 
auto-backup? In which case, there might be copies in the same folder as your 
*.kmy files? 
 
Allan
Comment 5 allan 2016-04-01 23:50:20 UTC
(In reply to Ricardo Esdra from comment #4)
> Created attachment 98194 [details]
> attachment-18641-0.html
> 
> I've auto-backup, in megasync cloud, and his update too stayed with 0 kb
> I'll use a old file what I've of february 29, and redoing it until today.
> 
> 
> How I can create a option for auto daily backup?
> exemple [file.kmy_20130401] in the name
> 
> --
> Ricardo Libanio
> 
> 
> 
> 
> 
> ---- Em Sex, 01 Abr 2016 17:19:30 -0300 allan via KDE Bugzilla
> &lt;bugzilla_noreply@kde.org&gt; escreveu ---- 
> 
> https://bugs.kde.org/show_bug.cgi?id=361271 
>  
> --- Comment #3 from allan &lt;agander93@gmail.com&gt; --- 
> Just in case there's a hint of help, I don't suppose you could have setup
> for 
> auto-backup? In which case, there might be copies in the same folder as your 
> *.kmy files? 
>  
> Allan

See the KMyMoney handbook - https://docs.kde.org/stable4/en/extragear-office/kmymoney/firsttime.backup.html.

The information is also in the application - see Help -> KMyMoney handbook -> Using KMyMoney for the first time -> Backing up.

Plus, see Settings → Configure KMyMoney....-> General -> Global -> Autosave...

Allan
Comment 6 Ricardo Esdra 2016-04-02 00:24:15 UTC
Created attachment 98196 [details]
attachment-22957-0.html

thanks, 

I did configure auto save and did left 20 security copy file

--
Ricardo Libanio





---- Em Sex, 01 Abr 2016 20:50:20 -0300 allan via KDE Bugzilla &lt;bugzilla_noreply@kde.org&gt; escreveu ---- 

https://bugs.kde.org/show_bug.cgi?id=361271 
 
--- Comment #5 from allan &lt;agander93@gmail.com&gt; --- 
(In reply to Ricardo Esdra from comment #4) 
&gt; Created attachment 98194 [details] 
&gt; attachment-18641-0.html 
&gt; 
&gt; I've auto-backup, in megasync cloud, and his update too stayed with 0 kb 
&gt; I'll use a old file what I've of february 29, and redoing it until today. 
&gt; 
&gt; 
&gt; How I can create a option for auto daily backup? 
&gt; exemple [file.kmy_20130401] in the name 
&gt; 
&gt; -- 
&gt; Ricardo Libanio 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ---- Em Sex, 01 Abr 2016 17:19:30 -0300 allan via KDE Bugzilla 
&gt; &amp;lt;bugzilla_noreply@kde.org&amp;gt; escreveu ---- 
&gt; 
&gt; https://bugs.kde.org/show_bug.cgi?id=361271 
&gt; 
&gt; --- Comment #3 from allan &amp;lt;agander93@gmail.com&amp;gt; --- 
&gt; Just in case there's a hint of help, I don't suppose you could have setup 
&gt; for 
&gt; auto-backup? In which case, there might be copies in the same folder as your 
&gt; *.kmy files? 
&gt; 
&gt; Allan 
 
See the KMyMoney handbook - 
https://docs.kde.org/stable4/en/extragear-office/kmymoney/firsttime.backup.html. 
 
The information is also in the application - see Help -&gt; KMyMoney handbook -&gt; 
Using KMyMoney for the first time -&gt; Backing up. 
 
Plus, see Settings → Configure KMyMoney....-&gt; General -&gt; Global -&gt; Autosave... 
 
Allan