Re: Disaster Recovery Failing Using KMSRecover [message #151480 is a reply to message #151324] |
Tue, 19 April 2022 23:58   |
Backspin
Messages: 130 Registered: June 2008 Location: Amsterdam, the Netherland...
|
|
|
|
Doing only sudo cd /usr/local/kerio/mailserver will execute the cd command as superuser/root, not as the current user. So your following ls command will just list the folder you were already in.
You should do sudo su to change to root user, and then cd /usr/local/kerio/mailserver followed by ls or pwd
But I think this is not the problem, but kmsrecover not having full disk access probably is. But giving it access through System Preferences is tricky because you can't browse to the /usr/local/kerio/mailserver folder as a normal nor admin user.
Edit: to give kmsrecover full disk access, you could try to enable to the root user (with /System/Library/CoreServices/Applications/Directory Utility.app) and log into your mac as the root user. Use System Preferences->Privacy to give kmsrecover full disk access. Now try to run kmsrecover (or 'cleaner': logout the root user, login as your normal admin user again, disable the root user, and run kmsrecover with sudo).
Edit 2: are you using your kmsrecover command correctly? You wrote that you run the command 'sudo /usr/local/kerio/mailserver/kmsrecover -d mycompany.com -u username /Users/admin/Desktop/Recover /Volumes/Mail\ Offsite\ Backup\ 1B/BACKUP/F20220115T040005Z.zip'
From what I understand from the instructions, if you want to specify an output folder (/Users/admin/Desktop/Recover) you need to use '-s /Users/admin/Desktop/Recover'. Without it, kmsrecover will use /Users/admin/Desktop/Recover as a source folder and look there for existing backups. That would explain the 'No full or copy backup has been found!' error.
Backspin IT - http://www.backspin.nl
[Updated on: Wed, 20 April 2022 00:25] Report message to a moderator
|
|
|