Bug 405323 - Suggestion & question: Backups
Summary: Suggestion & question: Backups
Status: RESOLVED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (show other bugs)
Version: 2.11.16
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-10 16:48 UTC by stepnjump
Modified: 2023-02-27 11:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stepnjump 2019-03-10 16:48:13 UTC
Is there a way to easily back up the application?
I love the product but at times, my linuxbox will crash (every so many years) and would love to recover quickly instead of having to reenter everything manually...

Which directory am I supposed to back up?

Tried /home/pierre/.local/share/kalarm but it crashed kalarm last time!

Couldn't find anything in the kalarm pdf manual

Thanks my friend David.

Pierre
Comment 1 David Jarvie 2019-03-11 21:57:16 UTC
You should check the location of KAlarm's calendar files as follows. In the menu, use View -> Show Calendars. Hover the mouse over each calendar shown there, and it will display the location of the file used to store that calendar. You can use the pull-down selector to show Archived Alarms and Alarm Templates in addition to the default Active Alarms, to show other alarm calendars (if you use them). These files are probably in ~/.local/share/kalarm, which is the directory you mention.

To back up KAlarm, save those calendar files, and also save the file 'kalarmc' which is probably in the directory ~/.config .

Note that in order to restore the files, you need to ensure that KAlarm is not running, and also that Akonadi is not running. Use the Quit option in the KAlarm menu to exit KAlarm, and then, in a terminal window, type the command
  akonadictl stop
and press Enter. Allow a few seconds for Akonadi to stop, and then restore the files. After that, run KAlarm.

KAlarm should not crash when copying or restoring files. When did KAlarm crash? Can you please attach a crash report which you should be prompted to get if it crashes.
Comment 2 stepnjump 2019-03-24 16:46:21 UTC
Thank you David. That will be very useful! Pierre