Restoration of cpanel accounts via command line

Hello,

Yes there is but it is too long and not easy.

echo "action=restore&ip%5Fchoice=file&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=user%2Eadmin%2Etestuser%2Etar%2Egz&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue


Could you prepare a acript for this?

For example:
/usr/local/directadmin/scripts/restore $username


Thanks,
Melih
 
Is it possible to bypass da task que for backup creation or restoration?

When we add a task to task que, is it possible to specify the task should be run without any delay?
 
Is it possible to bypass da task que for backup creation or restoration?

When we add a task to task que, is it possible to specify the task should be run without any delay?

Just run:
Code:
/usr/local/directadmin/dataskq d

And you get it executed immediately :)
 
Back
Top