Difficulty Level: easy
Restore your Backup
Restoring NCP Settings
- Login to the NextcloudPi web panel (at nextcloudpi.local)
- On the left in the section “
System
” choose “nc-automount
” and activate it. - login to your pi via SSH (ssh pi@IP-ADDRESS | pswd: raspberry)
- update the pi with
sudo apt update
&sudo apt upgrade
- update ncp (if there is an update) by typing
sudo ncp-config
and confirm. - Type
df -h
to list attached drives. - Look for your backup drive and type:
ls /media/BACKUP-DRIVE/
- You should see a list of your backups.
- Look for the config-backup and note its name:
ncp-config_XXXXXXXX.tar

- Go back to the NextcloudPi web pannel (at nextcloudpi.local)
- On the left in the section “
Backups
” choose “nc-import-ncp
“ - Fill in
path
&file name
and hit apply. - This will not take long as it only restores your ncp settings. (You will not have any user or data restored. This we will do in the following step.)

Restoring the data-backup
(the process for the dateless and full backup is the same)
- Follow step 1-7 from the description above
- Look for the backup file and note its name:
nextcloud-bkp_XXXXXXXX_XXXXXXXXXX.tar
- Go back to the NextcloudPi web pannel (at nextcloudpi.local)
- On the left in the section
Backups
choosenc-restore
- Fill in
path
&file name
and hit apply. - Depending on your backup size this can take a very long time.
- Once the backup has been restored successfully reboot NCP using the web panel (top right) or just reboot the pi itself with SSH
sudo reboot now
- Now you will be able to login with your former login and all your data, apps and users should be restored.

Note:
- The web panel login will not be restored. you will have to use the password you got when you first activated (NCP activation page)
- Congratulations, you are done. Please leave a comment in the Forum if you succeeded or have issues. It helps to improve this documentation.
Created://2021.01.03