You create a .bat file with the needed robocopy sync command.
To connect/disconnect a share, you can use a prior "net use" command to
connect a share.

You can authenticate against a local OmniOS user ex root or AD user if
OmniOS is AD member
ex admin@domain, see for example
https://www.lifewire.com/net-use-command-2618096

You can start the batch file either manually on demand or as a planned task.

Gea

Thanks for the replies.

For robocopy, how do you handle authentication to SMB?  Via domain (?) or saved 
credentials in files?  And do you have this scripted by Windows equivalent of 
cron (Task Scheduler)?  Or only running the backup manually?

Hugh.

On Fri, Jan 10, 2025, at 7:30 AM, g...@napp-it.org wrote:
I use robocopy to sync Windows data folders with an SMB shared folder.
Unlike rsync, robocopy can preserve ntfs ACL and is included in Windows.

For disaster backup (Windows systemdisk) I use Aomei to create bootable
images on SMB.
Disaster restore can be done with the help of an Aomei USB bootstick to
restore image from SMB.

Gea





--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T8318a7706e7218ac-Mee05376a2a491af7770620e7
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to