Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Automating recovery from backup (Using kmsrecover in a script to automate backup recovery)

Messages: 46
Karma: 0
Send a private message to this user
Hey all,

Curious to know if there's an easy way to automate the recovery of a backup. We're migrating to a more powerful server and would like to automate as much of it as possible (to avoid having to spend an entire day at work on a weekend).

What we'd like to do is this:
- Run a full backup on the existing server
- Copy the backup to the new server
- Run kmsrecover on the new system

All total we're probably talking at least 6 hours for this to take place.

Luckily, the first couple steps can easily be automated. Our mail gateway will store all incoming mail while this takes place so nothing is lost.

The recovery portion will take 2-3 hours and is where I'm getting hung up. I'm hoping there is a way to bypass the warning and input that's required when running kmsrecover. Something like a -y option that many programs have. There isn't much documentation for kmsrecover itself however, and searching hasn't yielded much in the way of results.

Both mail servers are running Linux.


Messages: 213
Karma: 16
Send a private message to this user
We would also like to see the best, most time effecient way of automating a recovery on a linux server?

Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud

Messages: 145
Karma: 1
Send a private message to this user
You don't need the backup/recovery tools.

Just install KMS on the new server and copy configuration files and data to it.
Previous Topic: Automatic Deletion of Folder's Contents
Next Topic: URL for new mail screen in webmail?
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 12:32:00 CET 2017

Total time taken to generate the page: 0.00382 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.