Backup account prior to termination?

x10Corey

New member
Joined
Feb 7, 2020
Messages
1
I'm trying to find a way to package up an account when a termination is ran. I attempted to use the 'user_destroy_pre.sh' hook to insert a backup command into the queue as outlined here (https://help.directadmin.com/item.php?id=198), however the backup immediately fails because of a lock being in place which I assume is from the termination.

Is there a way I can issue a backup prior to termination?

Thanks!
 
Hello,

Manually run a backup and then terminate. If you want to automate it, then you could probably use API for this.
 
Back
Top