From 8da09a9c73743ed02908254012bea47647d1232a Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Thu, 31 May 2012 04:27:58 +0100 Subject: [PATCH] Improved server "backup" command. Now ensures worlds are copied to disk, and outputs the time the backup took. --- msm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msm b/msm index fad80ec..03f4e63 100755 --- a/msm +++ b/msm @@ -1666,12 +1666,15 @@ main() { server_save_all $id fi + server_worlds_to_disk $id server_backup $id if server_is_running $id; then server_save_on $id server_eval $id "say ${server_complete_backup_finished[$id]}" fi + + echo "Backup took $SECONDS seconds". ;; jar) if [ -z "$3" ]; then