command line remote backup

sergeant

Verified User
Joined
May 3, 2010
Messages
7
I want this:
Code:
echo "action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=testuser&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue

to go to:
ip: 123.45.67.89
user: backup
pass: pass
port:21

I probably need understanding of the "where" parameter

AND

I assume "value=multiple" means all data from this user, is that true?
What is the correct value for only backing up the database?
 
for people that want to know this:

create a regular backup

quickly open /usr/local/directadmin/data/task.queue on your server and see the created command, the make a cron like shown above
 
on second thought, where do I put the cron command?

It doesn't seem to be working in the regular DA cron page.

Nor in the file /etc/cron.d/directadmin_cron

anybody any thoughts on this one?
 
Back
Top