# Backup Data

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

<figure><img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-a5eda60c6fe27289fe28ed3e54fc1c363bcc2bfd%2Fimage%20(75).png?alt=media" alt=""><figcaption><p>Backing up data with SongBook+ Backup function</p></figcaption></figure>

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-c3c70a66b425e3516a639c4e49a63aca48a7e671%2Fbulletpoint-01.png?alt=media" alt="" data-size="line">Press the button "...".

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-b699655ac8771463ca5f56be31a596f7f26ed933%2Fbulletpoint-02.png?alt=media" alt="" data-size="line">Select "Backup data".

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-14af25b30b774428b15a988f9f808a4da873c60c%2Fbulletpoint-03.png?alt=media" alt="" data-size="line">Choose where the backup should be stored.\
The easiest way is to save in the "iCloud Drive".

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-10610b4b1145041bac45e0b06ad06405078a9b4e%2Fbulletpoint-04.png?alt=media" 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="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-9257ec3c327cc8caf44c47cbfb44556786e031f4%2Fbulletpoint-05.png?alt=media" alt="" data-size="line">Start the backup.

{% hint style="info" %}
If you are using the tenancy function of SongBook+ (see [mandantenfahigkeit-mit-unterverzeichnissen](https://docs.songbookplus.com/english/readme/mandantenfahigkeit-mit-unterverzeichnissen "mention")), 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="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-abec7feea4c2493b77fcdbad6b4d2463fc829d6c%2F1%20(10).png?alt=media" 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 [#ole\_link1](https://docs.songbookplus.com/english/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone#ole_link1 "mention") 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 [#ref37431359](https://docs.songbookplus.com/english/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone#ref37431359 "mention") 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 [#ref37432233](https://docs.songbookplus.com/english/dateien-in-songbook+-einfugen/songbook+-auf-ipad-und-iphone#ref37432233 "mention") 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="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-12118175ae4df8104b5ea8a9fe2df187036ea1de%2Fimage%20(77).png?alt=media" alt=""><figcaption><p>Back up SongBook+ data with Files App</p></figcaption></figure>

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-c3c70a66b425e3516a639c4e49a63aca48a7e671%2Fbulletpoint-01.png?alt=media" alt="" data-size="line">Open the "Files" app.

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-b699655ac8771463ca5f56be31a596f7f26ed933%2Fbulletpoint-02.png?alt=media" alt="" data-size="line">Select the "Browse" tab.

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-14af25b30b774428b15a988f9f808a4da873c60c%2Fbulletpoint-03.png?alt=media" alt="" data-size="line">Select "On My iPad".

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-10610b4b1145041bac45e0b06ad06405078a9b4e%2Fbulletpoint-04.png?alt=media" alt="" data-size="line">Then press and hold on the SongBook folder until a menu appears.

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-9257ec3c327cc8caf44c47cbfb44556786e031f4%2Fbulletpoint-05.png?alt=media" alt="" data-size="line">In this menu, select the entry "Copy".

<img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-ba997d26d2b5a8591e4018309358525ae2b1c5eb%2Fbulletpoint-06.png?alt=media" 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="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-558ca4cded03ec19366b79f43ed8ac46a44acc15%2Fbulletpoint-07.png?alt=media" 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.
