How do I run a backup for a single account in DirectAdmin?

Chris Burton
2019-09-30 13:03

Set the USER variable to the account name to backup.

USER="example"
echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=$USER&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue

 

Average rating: 0 (0 Votes)

You cannot comment on this entry