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!
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,146
Location
GMT +7.00
Hello,

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