Files
notesnook/docs/help/contents/backup-and-restore-notes-in-notesnook.md

92 lines
2.8 KiB
Markdown
Raw Normal View History

---
title: Backup and restore
index: 5
---
2023-02-03 15:44:02 +05:00
# How to Backup your notes
2023-02-04 10:56:29 +05:00
It is always a good practice to take a backup of your data so in case you lose access to your account, you don't lose your notes. Currently backups are local only.
> warning
>
> Since all your data is end-to-end encrypted, we do not have the access to restore your account if you forgot your account password and recovery key. Therefore we recommend that you store your password safely and make sure that you have saved your [account recovery key](/how-to-save-account-recovery-key).
# [Desktop/Web](#/tab/web)
1. Go to Settings from Sidebar
2. Scroll down to `Backup & Restore` section
3. Click on `Backup Data` to download the `.nnbackup` file
# [Mobile](#/tab/mobile)
1. Go to Settings from Sidebar
2. Scroll down to `Backup and Restore`
3. Go to `Backups`
4. Press on `Backup now` to save `.nnbackup` file
> info
>
2023-02-04 10:56:29 +05:00
> On **android** when you take a backup first time, you will be asked to select a folder on your phone where you would like to store backup files. You can always change your backup files location from `Backups > Change backup location`.
>
> Regardless of the folder you select, Notesnook will create a folder "Notesnook/backups" inside it and store backup files there.
---
## Automatic Backups
On mobile and desktop apps you can enable automatic daily, weekly or monthly backups of your notes. Your data will backup automatically and backup file will be stored locally.
# [Desktop/Web](#/tab/web)
1. Go to Settings > Backup & Restore
2. Select automatic backup frequency to enable automatic backups
# [Mobile](#/tab/mobile)
1. Go to Settings > Backup & Restore
2. Press Backups
3. Select automatic backup frequency to enable automatic backups
---
## Encrypted Backups (Recommended)
To keep your backups secure & private, it is recommended that you enable encryption on your backup files instead of storing them as plain json data.
# [Desktop/Web](#/tab/web)
1. Go to Settings > Backup & Restore
2. Enable encrypted backups option
# [Mobile](#/tab/mobile)
1. Go to Settings > Backup & Restore
2. Press Backups
3. Enable encrypted backups option
---
> info
>
> Backups are encrypted with your account password.
## How to restore a backup
To restore a backup, you must be logged in to your Notesnook account.
# [Desktop/Web](#/tab/web)
1. Go to Settings from Sidebar
2. Scroll down to `Backup & Restore` section
3. Click on `Restore backup`
4. Select the `.nnbackup` file from your PC that you want to restore.
# [Mobile](#/tab/mobile)
1. Go to Settings from Sidebar
2. Scroll down to `Backup & Restore` section
3. Press on `Restore backup`
4. From `Restore backup` sheet, select the backup you want to restore. If your backup file is located in some other location, click on `Open file manager` on top right corner of the sheet then select the backup file.
---