How to put Nextcloud in maintenance mode and crate a Nextcloud backup?

I’ve just installed umbrel server and installed nextcloud and photoprism. I’ve used nextcloud maintenance mode with a occ command but in umbrel server I don’t know how to run commands inside docker images. I want a guide about backing up my data on nextcloud which is installed on umbrel server.