# Backup Data

## Backing Up Your Data with the New Backup Function <a href="#toc165549836" id="toc165549836"></a>

<figure><img src="/files/Kn9IjXkGoFqagQZIijtA" alt=""><figcaption><p>Backing up data with SongBook+ Backup function</p></figcaption></figure>

<img src="/files/Ggw6QZu0T1pzyC5HKKjY" alt="" data-size="line">Press the button "...".

<img src="/files/dTdvaLSs3JCD5Wb2e4iX" alt="" data-size="line">Select "Backup data".

<img src="/files/lyNUBVwPDzexVtrnZQTx" alt="" data-size="line">Choose where the backup should be stored.\
The easiest way is to save in the "iCloud Drive".

<img src="/files/UDA9WUwJOYy4xPTzcNnN" alt="" data-size="line">Select which data should be backed up.

* The option "All files" backs up everything and is recommended.
* The option "Only database" only backs up the following 4 files:
  * SongBookMidi.settings
  * SongBookMidi.sqlite
  * SongBookMidi.sqlite-shm
  * SongBookMidi.sqlite-wal

<img src="/files/PzLvBYnBfuiUraCV2qFO" alt="" data-size="line">Start the backup.

{% hint style="info" %}
If you are using the tenancy function of SongBook+ (see [Multi-Tenancy with Subdirectories](/english/readme/mandantenfahigkeit-mit-unterverzeichnissen.md)), you can additionally decide whether only the current client or all clients should be backed up.
{% endhint %}

## Other Ways to Back Up Data <a href="#toc165549837" id="toc165549837"></a>

### Preparation <a href="#toc165549838" id="toc165549838"></a>

{% hint style="danger" %}
**Always completely close SongBook+ before backing up or restoring your files (except when using WLAN sharing)!**

If you do not do this before, ...

* ...the database files may not contain the latest data when backing up or may be faulty.
* ...restoring by copying the database files back has no effect.

To close SongBook+, press the "..." button and then "Exit SongBook+".
{% endhint %}

<figure><img src="/files/eI6NlD5sJnTuAmHiL2z4" alt=""><figcaption><p>Exiting SongBook+</p></figcaption></figure>

The most important files you should definitely back up are the following 4 files:

* SongBookMidi.settings
* SongBookMidi.sqlite
* SongBookMidi.sqlite-shm
* SongBookMidi.sqlite-wal

They contain all the data and settings you have made directly in SongBook (song titles, artists, genres, annotations, recorded paging and finger pointers, MIDI commands to send,...).

{% hint style="info" %}
If either of the files SongBookMidi.sqlite-shm or SongBookMidi.sqlite-wal has a size of 0, it does not need to be backed up. When copying the backup back to an iPad, this missing file on the target iPad must be deleted beforehand.
{% endhint %}

{% hint style="info" %}
If you have used the photo-to-PDF function of SongBook+ or imported texts from MIDI files, ChordPro files, MP3 files, etc., SongBook+ has also created PDF files for you. In this case, you should also back up all PDF files.
{% endhint %}

### Backing Up Your Data with Finder (Mac Computer) <a href="#toc165549839" id="toc165549839"></a>

{% hint style="danger" %}
Close SongBook+ before backing up the files to ensure all changes are saved in the database files.
{% endhint %}

Please see the page [SongBook+ on iPad and iPhone](/english/readme/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone.md#ole_link1) to find out how to access the files of SongBook+ with Finder.

Select the files you want to back up (at least the 4 files mentioned above). Multiple files can be selected with the mouse while holding the "Command" key on the keyboard. All files can be selected with the keyboard shortcut "Command+A".

Drag these files into another Finder window in the prepared folder where you want to back up the files.

### Backing Up Your Data with iTunes (Windows PC and Older Mac Computers) <a href="#ole_link14" id="ole_link14"></a>

{% hint style="danger" %}
Close SongBook+ before backing up the files to ensure all changes are saved in the database files.
{% endhint %}

Please see the page [SongBook+ on iPad and iPhone](/english/readme/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone.md#ref37431359) to find out how to access the files of SongBook+ with iTunes.

Select the files you want to back up (at least the 4 files mentioned above). Multiple files can be selected with the mouse while holding the "Command" key on the keyboard. All files can be selected with the keyboard shortcut "Command+A".\
(On a Windows PC, the "Command" key is called "Ctrl" or "Strg" instead.)

Then press "Save As…". Choose a destination folder on your computer where you want to save your data.

### Backing Up Your Data via WLAN Sharing <a href="#ole_link20" id="ole_link20"></a>

Please see the page [SongBook+ on iPad and iPhone](/english/readme/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone.md#ref37432233) to find out how to access the files of SongBook+ with WLAN sharing.

Select the files you want to back up (at least the 4 files mentioned above). Multiple files can be selected with the mouse while holding the "Command" key on the keyboard. All files can be selected with the keyboard shortcut "Command+A".\
(On a Windows PC, the "Command" key is called "Ctrl" or "Strg" instead.)

Drag these files into the prepared target folder on your computer where you want to back up the files.

### Backing Up Your Data with the "Files" App <a href="#ole_link18" id="ole_link18"></a>

{% hint style="danger" %}
Close SongBook+ before backing up the files to ensure all changes are saved in the database files.
{% endhint %}

With the Files app, you can copy files to a USB stick, to your preferred cloud app, or even to a server on the local network.

First, use the Files app to create a new, appropriately named folder at the desired destination (in your cloud app or on the USB stick), e.g., *SongBook-Backup-1*, where you want to store the backed-up files.

In the following example, we show how you can back up the entire SongBook folder along with all files. If you only want to back up the 4 files mentioned above, you can do this process 4 times with the individual files.

<figure><img src="/files/Kme7x1qDTTKRNr1STeQK" alt=""><figcaption><p>Back up SongBook+ data with Files App</p></figcaption></figure>

<img src="/files/Ggw6QZu0T1pzyC5HKKjY" alt="" data-size="line">Open the "Files" app.

<img src="/files/dTdvaLSs3JCD5Wb2e4iX" alt="" data-size="line">Select the "Browse" tab.

<img src="/files/lyNUBVwPDzexVtrnZQTx" alt="" data-size="line">Select "On My iPad".

<img src="/files/UDA9WUwJOYy4xPTzcNnN" alt="" data-size="line">Then press and hold on the SongBook folder until a menu appears.

<img src="/files/PzLvBYnBfuiUraCV2qFO" alt="" data-size="line">In this menu, select the entry "Copy".

<img src="/files/QTL5DdKcREUEQLYq0aU8" alt="" data-size="line">Then open the previously prepared, yet empty target folder (in your preferred cloud app or on the USB stick).

<img src="/files/1XtwuKpIseUpwKSwHUeo" alt="" data-size="line">Press and hold on an empty spot in this folder until a menu appears and select the "Paste" function.

The copying process begins, and wait until the files are completely copied.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.songbookplus.com/english/readme/sichern-und-wiederherstellen-ihrer-daten/daten-sichern.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
