#!/bin/bash # info: restore user # options: user backup # # The function for resotring user from backup. #----------------------------------------------------------# # Variable&Function # #----------------------------------------------------------# # Argument defenition user=$1 backup=$2 # Includes source $VESTA/conf/vesta.conf source $VESTA/func/main.sh source $VESTA/func/domain.sh source $VESTA/func/db.sh #----------------------------------------------------------# # Verifications # #----------------------------------------------------------# #----------------------------------------------------------# # Action # #----------------------------------------------------------# #----------------------------------------------------------# # Vesta # #----------------------------------------------------------# # Logging log_event "$OK" "$EVENT" exit