[cPanel] Kill all accounts then restore

Hello,

One of my servers will be sending backups through FTP to a second box.

I would like to write a script at this second box to automaticaly kill daily all the existing accounts on this second server then unpackaging the backups sent from the first box through the FTP.

Is this possible ? How can I do this ?

Thank you.

 

 

 

 

Top