You can clone with
# Apple has informed me that you should not use Time Machine for backing up a server.
# (Why it remains an option in System Preferences, despite not working correctly, is a mystery to me.)
# For further information, see Advanced_Server_Admin_v10.6.pdf, page 36.
# If you still want this script for some reason, see past revisions.