I have a Windows server that I want to backup all the Shares through a script automatically to my MacBook Pro running OSX 10.6.8. There is no common folder all the shares are in, they are just mounted as \\SERVER\Share_Name. I want to be able to have a script that cycles through all the shares on a server (even if the folder names are unknown at the time the script is created), and create a backup on a local folder on my Mac. Or, if there's an easier way than a script, or drag-and-drop (that doesn't seem to always copy all the files)
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
|||
|
|
|
There's no root in Samba protocol. To list shares on your server you can use
and then use output with
Please, read man pages to check other options I haven't used here. The best utility to make backup I know is rsync(1). You can found it from MacPorts. It'll be interest if you know better. |
|||||
|