Nextcloud upgrade change backup and download directory

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • replace me
  • When did this problem seem to first start?
    • replace me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • replace me
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • replace me

Summary of the issue you are facing:

I am using via cli the updater.phar program.

sudo -u www-data php /var/www/html/nextcloud/updater/updater.phar --no-interaction --no-backup

Backup is done manually to some other folder!

My data-directory is located at some cloud-storage. The power of my machine is not very high, so the unzip of the downloaded version of nextcloud to the “download” directory in my data directory takes a long time.

I would like to know if it is possible to tell updater.phar to use some other directory for backup, download und unzip?

Yes. See updatedirectory in the Admin Manual.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.