

From comments there are two things to be addressed. The command has to be run as root so you need to use sudo. rver start Start MySQL server rver stop Stop MySQL server rver restart Restart MySQL server Related Posts:ERROR: connect ECONNREFUSED 0.0.0.0:4444Terminal in Mac. asr restore -source /Volumes/Public/macmini.dmg -target /Volumes/Mac\ OS -erase The command takes a parameter -h, -r or -s to shut down, restart or sleep the Mac. I've tried running the below command from Mac mini B. I'm trying to restore Mac mini A with snapshot.dmg,located on NAS, with the help of Mac mini B. I wonder if Topher could make one and share it here. 2.-Force Finder quit with a Script placed in the Desktop AND in the Dock for easier access (one of them may be blocked). So, I've Mac mini A, Mac mini B and a NAS all connected to the same network. More methods to reboot or shutdown the Mac after failed reboot or shutdown from the Finder or when the USB ports get blocked: 1.-Force Finder quit with Option Command esc. My effort: I've tried using terminal commands such as hdiutil and asr to restore the image but I guess I'm missing something. I'm aware of the process through GUI, I would like to restore the snapshot.dmg on a Mac mini completely through a script/terminal.

But now I would like to use the snapshot.dmg and restore it on one of the Mac mini through a script/command line. I've a script which I run through Jenkins and this script creates a snapshot (.dmg) of a Mac mini of my choice and saves the snapshot.dmg to a Network Attached Storage (NAS).

I work in a Mac environment with several Mac minis in the same network.
