Skip to main content

Storage

🚧 This article is incomplete

This article is incomplete & needs to be reviewed. You can help by creating a pull request.

How to configure, access and change data storage for maps, tracks and other personal data

Storage info in Download maps menu​

There is toolbar about storage information in Download maps menu. Here you see Device memory and free space in device storage.

Android Menu β†’ Download maps β†’ All Downloads

Storage info Android


  • Favorite backups
  • Folder structure (iOS / Android)

Data storage folder​

For Android you can find all information about OsmAnd data and change storage folder in Global settings.

Android Menu β†’ Settings β†’ OsmAnd settings β†’ Data storage folder

Profiles Storage Settings Android Profiles Storage Settings 1 Android

OsmAnd usage:

Here you can find all information about data size for each categories of data: maps, travel guides, hillshade / slope / contour lines, tracks, audio / video notes, tiles, other.

Change storage folder

Here you can change forlder for keeping your OsmAnd data in your device

Memory namePermission access
Internal app memoryOnly OsmAnd app has access to its data and none of external apps / pc has access
Shared memoryMultiple OsmAnd apps could have access and multiple external apps
External storage 1Only 1 OsmAnd app has access and Admin apps and USB
External storage NSDCard: Only 1 OsmAnd app has access and Admin apps and USB
Multiuser storageOnly 1 OsmAnd app has access but it's shared between multiple Android users
Manually specifiedDepends on the path

Storage on SD card​

In order to move the OsmAnd home (maps) folder to an external SD card:​

  • Β Go to Settings (on the start screen) --> OsmAnd Settings --> Data storage folder
  • Β Change the value to a path pointing to the external SD card, on many Android systems it may contain /storage/extSdCard or similar. Please note that some versions of Android strictly limit your choice of which path will be write-accessible for apps.
  • Β You are then asked if the contents of the OsmAnd data folder should be moved from internal memory to the external SD card. You may also perform this manually using a built-in file manager app on the device, or via connecting the device to a computer as external storage and performing the move from there.

How do I use my SD card with OsmAnd under Android 4.4+ and 5?​

If you update your Android to version 4.4.x, you will experience a known Android issue with the WRITE_EXTERNAL_STORAGE permission: Android has changed the rules so that from now on no application can write to the external SD card anywhere outside its new standard folder Android/data/[PACKAGE-NAME]. If OsmAnd was installed prior to updating your device to Android 4.4.x, it will continue to work (read-only) with the old, non-standard osmand folder, but won't be able to update any map and other files there.

Solutions:

  • Β Move OsmAnd's data folder osmand to the internal storage. \ Drawback: Internal storage can be rather small.
  • Β Move OsmAnd's data folder osmand into its standard SD folder, \ for OsmAnd+ : (extSdCard)/Android/data/net.osmand.plus/files \ for OsmAnd : (extSdCard)/Android/data/net.osmand/files \ Caution: Whenever you uninstall OsmAnd now, all your data will be erased as well! (Unless you unmount your SD card, or rename the net.osmand(.plus) folder before de-installation.)

If you manually want to perform the necessary copies/moves, either use a PC to perform this action on the SD card, or on the device itself use the file manager tool which came pre-installed with your Android (only these methods will have the necessary write permission). All copy operations may also be invoked in OsmAnd itself via Menu/Settings/General/Data storage folder but the copy operations may take a long time or result in errors (e.g. if the SD card is too full).

Backup & Restore​

This feature helps to keep and restore your OsmAnd data. There are two variants of backing up in OsmAnd: OsmAnd Cloud and Local.

Backup and Restore for OsmAnd Pro​

note

Β  You need to subscribe to OsmAnd Pro.

Allows to keep your OsmAnd data in OsmAnd Cloud and restore your data from OsmAnd Cloud. It's a cross platform feature.

When you subscrebed to OsmAnd Pro, you need to make registration for Backup & Restore function or enter your registrated e-mail:

Android Menu β†’ Settings β†’ Backup & Restore β†’ Create new account / I already have an account

You need to enter the e-mail address you registered with.

Backup registration Android Backup registration Android

A one-time password for the next step will be sent to it.

Backup registration Android Backup registration Android

Afer registration your Backup & Restore menu has two screens: Status and Settings

Status​

Backup Status screen Android

Here you can start to make a backup and restore data online and local:

  • Β "Backup now" button - allows to make a backup of your data to OsmAnd Cloud. Info: time of last backup and wich data added after that on your device. Button is not showed if you make backup some time ago and you don't have data for backing up.

Backup Status screen Android Backup Status screen Android

  • Β "Restore data" button - allows to restore data on your device using existing backups, or back up data to OsmAnd Cloud.

Backup Status screen Android Backup Status screen Android

  • Β "Local backup" - allows to back up or restore data from a local file. Read about it here.

Settings​

At this screen you can set your login and backup data.

Backup settings screen Android

  • Β Back up data - select data and folders to back up.

Backup data screen Android

  • Β Version history - shows data what keept in Storage taken.

Backup data screen Android

  • Β Account - allows to log out from your account.

  • Β Danger zone:

    • Β "Delete all my data" button - All data on OsmAnd Cloud will be deleted. Local versions will stay untouched.

    • Β "Remove old versions" button - Current versions of your data will be preserved on OsmAnd Cloud.

Local backup​

Back up or restore data (it has restrictions for unpaid users. you can't back up and restore Favorites, map markers..) from a local file:

  • Β Back up as file - creating and saving OSF-file in your device.
Android Menu β†’ Settings β†’ Backup & Restore β†’ Local backup β†’ Back up as file

Backup local Android Backup local Android

  • Β Restore from file - opening and restoring OSF-file (you backup).
Android Menu β†’ Settings β†’ Backup & Restore β†’ Local backup β†’ Restore from file

Backup local Android Backup local Android

Copy raster map package created on PC​

Map package can be saved in two formats: SQ Lite and Metainfo. Next, you need to move your map package file(s) to OsmAnd-tiles directory:

For Android OsmAnd - you need to access storage to copy file(s) from PC to the device folder BASEOSMAND_STORAGE/tiles or you can click the file on your email, cloud, or messenger, download it and choose OsmAnd app to open. Map package is added automatically to your online maps list in OsmAnd.

Import sqlitedb Android