{{ :manual:user_guide:ic_backup_manager_alt.png?nolink|}}
====== Backup manager ======
----
We strongly recommend backing up your Locus data - **settings, points, and tracks**. This tool enables the definition of **periodic automatic backups** and triggers **one-time backups**.
===== Automatic backup =====
{{ :manual:user_guide:tools:backup06.png?nolink |}}
... saves settings, points and tracks periodically to //Locus/backup/auto// directory and optionally to **Dropbox, OneDrive or Google Drive**. How to set it up:
- **Enable** automatic backup
- Set **repetition frequency**, **number** of stored backups and backup to **cloud** (optional but strongly recommended):\\
{{ :manual:user_guide:tools:backup03.png?nolink |}}
==== Backup to cloud ====
Automatically and regularly saves Locus settings, points, and tracks to your selected directory at Dropbox, One Drive, or Google Drive.
{{ :manual:user_guide:tools:backup04.gif?nolink |}}
* First use of this feature requires **login to your cloud service account**
* **Attached media (photos, videos...) are not backed up**
* **Maps and map themes are not backed up this way either**
* Xiaomi devices with MIUI 12 - make sure you have **"MIUI optimizations" turned ON** in system settings > developer options
===== Manual backup =====
Saves a single backup file with Locus data to //Locus/backup/// directory (it can be changed in //settings > miscellaneous > default directories//). The file name is by default its **time stamp** but it can be changed.
{{ :manual:user_guide:tools:backup.png?nolink |}}
* **Backup all** - creates a backup of **all settings, points and tracks** in one package. Attached media (photos, videos, sound recordings...) are not backed up
* **Backup settings only** - creates the settings backup package. Useful if you use various sets of app properties.
* **Restore** - shows content of ///Locus/backup/// directory from which you can **select a backup file to restore**. In the case of a file with all backups, you are prompted to select **what content of the package you want to restore**.
==== Backup sharing ====
After the backup file is created you can **share** it - **send it to [[http://www.dropbox.com|Dropbox]], email it, share it on social networks**, etc. Just tap {{:manual:user_guide:ic_share_alt.png?nolink&30|}} in the confirmation box:
{{ :manual:user_guide:tools:backup02.png?nolink |}}
===== Restore =====
* opens the file browser with the last used drive - you can select **local memory (internal or SD card), Dropbox, OneDrive or Google Drive**
* find the backup directory (by default, it is /Locus/backup/) and **tap a backup file to restore**
* select **what content of the package you want to restore**:\\ {{ :manual:user_guide:tools:backup08.png?nolink |}}
* **restart** the app