# Restoring back - returns to old version of Nextcloud?

**URL:** <https://help.nextcloud.com/t/restoring-back-returns-to-old-version-of-nextcloud/173073>\
**Category:** ℹ️ Support\
**Tags:** ncp\
**Created:** [October 27, 2023, 4:15pm UTC](https://help.nextcloud.com/t/restoring-back-returns-to-old-version-of-nextcloud/173073 "2023-10-27T16:15:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [October 27, 2023, 4:15pm UTC](https://help.nextcloud.com/t/restoring-back-returns-to-old-version-of-nextcloud/173073/1 "2023-10-27T16:15:03Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://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:
> 
> ```auto
> 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 ❤

Nextcloud version _(eg, 20.0.5)_: `26.0.3.2`  
Operating system and version _(eg, Ubuntu 20.04)_: `NextcloudPi RaspberryPI`  
Apache or nginx version _(eg, Apache 2.4.25)_: ` Apache/2.4.56 Debian`  
PHP version _(eg, 7.4)_: `8.2.1`

The issue you are facing:  
To a newly created ncp instance I restored from a back.tar file of previous ncp instance - which had nextcloud 20.0.2 - and it down graded back to 20.0.2 which was incompatible with the version of php - it wanted 7.4 and i had 8.2.1 - and when I set the system to run with php7.4 it still did not work - I got unauthorized

Is this the first time you’ve seen this error? _(Y/N)_:  
No

I want to know before I am going through the whole thing again - if i restore from a .tar will it downgrade to the nextcloud 20.0.2 ?

---

<div class="post-metadata">

**Author:** ![schoetju](https://help.nextcloud.com/user_avatar/help.nextcloud.com/schoetju/32/44547_2.png) [@schoetju](https://help.nextcloud.com/u/schoetju)\
**Post date:** [November 1, 2023, 9:24am UTC](https://help.nextcloud.com/t/restoring-back-returns-to-old-version-of-nextcloud/173073/2 "2023-11-01T09:24:50Z")

</div>

> [@wisdomlight](#):
>
> if i restore from a .tar will it downgrade to the nextcloud 20.0.2 ?

Yes. `nc-restore` will restore Nextcloud to the version installed when creating the backup.

For further information take a look at

> [@How to restore NextcloudPi Backup](https://help.nextcloud.com/t/how-to-restore-nextcloudpi-backup/126312#restoring-across-nextcloud-versions-5):
>
> Restore your Backup A complete restore needs of course in advance a complete backup of NextcloudPi Settings (using nc-export-ncp) and Nextcloud Data, User, Files (using nc-backup - with includedata = yes) Restoring NCP Settings :: Note :: These are only the Settings of NCP, no users, no apps, only what you have configured in the NCP TUI or WebUI. Take care, that your USB-Backupdrive will be mounted automatically. To do that, 1.1 navigate to NCP-TUI …

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 1:14pm UTC](https://help.nextcloud.com/t/restoring-back-returns-to-old-version-of-nextcloud/173073/3 "2024-12-14T13:14:02Z")

</div>


