Restore backup from nextcloud instance into a new NextcloudPi server

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 16.0.3.0
Operating system and version: NextcloudPi 1.15.3
Apache or nginx version: Apache 2.4.38
PHP version: php7.3

The issue you are facing:
I would like to restore a backup I have taken on a previous server I had on a raspberry pi but I wasn’t using NextclouPi. I’m unable to restore it because the format of the backup directory seems to be different. For instance, NextclouPi asks for a .tar archive while I only have a backup of the data directory and one of the database

Is this the first time you’ve seen this error?
Y

Steps to replicate it:

  1. Set up NextcloudPi
  2. Try to restore backup

I think I was able to do it by following the restore procedure through the command line even though it seems that 2fa is not working and I can’t access my data

edit:
I don’t think it’s the right way to do it though