Simply copy your configuration and data folder (or even your whole Nextcloud install and data folder) to your Nextcloud environment. You could use this command:
rsync -Aax nextcloud-dirbkp/ nextcloud/
Where do I move the backup to get Nextcloud running again?
Nextcloud version (eg, 29.0.5): 29.0.5
Operating system and version (eg, Ubuntu 24.04): 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.25
PHP version (eg, 8.3): 8.2
Just mentioning this to avoid confusion. Those backups from Updater, for example, do not actually include your data. The only thing backed up by the Updater is the application code and your main config/ folder.