<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="backup" xml:lang="da">
<info>
  <link type="guide" xref="index"/>
  <desc>Sådan laver du sikkerhedskopi af aktivitetsdatabasen.</desc>
</info>
<title>Sikkerhedskopi</title>

<p>Aktiviteter gemmes i en SQLite-database, placeret i <file>~/.local/share/hamster/hamster.db</file>. Filen kan løbende sikkerhedskopieres og gendannes. Programmet vil genindlæse data automatisk efter en kort tidsperiode.</p>
<note style="info">
    <p>
        For viewing contents of the database we can suggest using the
        <link href="https://sqlitebrowser.org/"><app>DB Browser for SQLite (DB4S)</app></link>.
    </p>
</note>
<note style="info">
    <p>
        Previously the database was stored in
        <file>~/.local/share/hamster-applet/hamster.db</file>.
        Recent versions of Hamster create a hard link between the old and new
        files.  Any one of these files can be removed safely (they are
        references to the same item).  The database is lost only if both
        references are deleted.
    </p>
</note>

</page>
