Backup via ssh

fxw

Verified User
Joined
Oct 4, 2005
Messages
8
does anyone know howto backup resellers via the commandline?

such like this action=backup or something like that?
 
Since reseller backups are run through the queue it should be possible by adding the command to the task queue file stored in /usr/local/directadmin/data

Here is what I would do. Disable dataskq from being run every minute (commend the cronjob out). Then I would try running a reseller backup through DirectAdmin. The all you have to do is open up the task queue file and you have the command you need to add to that file.

This is a good example of how to do that
Code:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

Don't forget to re-enable the cronjob!
 
Oke Thanks,

But what is the command to run a resellerbackup trough the commandline?


If i add an resellerbackup via directadmin i see in the file /usr/local/directadmin/data/admin/backup_crons.list this command added:

4=action=backup&dayofmonth=*&dayofweek=*&ftp_ip=82.82.82.82&ftp_password=*******&ftp_path=/home/backup/server7/&ftp_username=******&hour=5&minute=0&month=*&owner=admin&type=reseller&value=multiple&when=now&where=ftp&who=all

I want to run the resellerbackup via the commandline because i have many resellers and i want to backup the users that my resellers have created.

Is this possible without help from the directadmin controlpanel?
 
Back
Top