Just a heads up, you'll need to back up the database as well in order to completely mirror Nextcloud.
If you're not worried about the back copy being usable via nextcloud and just want a copy of your files (e.g. to upload them to another Nextcloud instance) rsync will work just fine.
How do I know this? I'm also a Nextcloud admin. 🙂👋