Sometimes all I want from a share is one archive, without mounting it and without setting up a sync tool. smbclient has a tar mode for exactly that.
smbclient //server/share -U user -Tc backup.tar "*"
The -T option takes tar flags. c creates an archive on the local machine and must be followed by the name of a tar file, a tape device or - for standard output. The manual’s own example for a whole share ends in *, and I’d quote it so your local shell does not expand it first. Leave out the * and give a folder name to archive only what is below that folder.
Add n for a dry run. It does everything except writing the file, so you see what would be archived:
smbclient //server/share -U user -Tcn backup.tar "*"
The other flags help too. v prints the files that are processed, g only backs up files that have the archive bit set, and X excludes files and directories.
Caveats from the manual. If you write to standard output with -Tc -, set -d0, or log messages end up inside your tar file. x restores an archive back to the share, from the top level unless you give -D, and it cannot be combined with c. Restored directories do not get their dates back properly. Whatever you back up this way, restore one file from the archive before you trust it.
Further reading: smbclient man page, tar options
Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it