How to determine Nextcloud version from a backup?

I have a full backup created as described in the Administration Manual.

Is there a way to identify the version of Nextcloud from it?

There will be a 'version' line in the backed up config.php.

Or you could include the version number to the name of your backup folder.


rsync -Aavx /var/www/html/nextcloud/ nextcloud-$(sudo -u www-data php /var/www/html/nextcloud/occ config:system:get version)-dirbkp_`date +"%Y%m%d"`/
1 Like

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