backup_dir="$1/conf/xmpp"

cp -a $backup_dir/etc/. /etc/metronome
cp -a $backup_dir/var/. /var/lib/metronome

# Restart to apply new conf and certs
service metronome restart