PDA

View Full Version : Creating a full system backup from SSH



Starteck2002
10-12-2009, 03:35 PM
Hi, we have an installation of DA that is (for want of better words) screwed. trying to log in as admin it just goes back to the login screen (no errors). Changing the password in SSH makes no difference.

The machine is being migrated to another server so we need to get the client accounts off - how can we create a backup of those accounts from SSH?

floyd
10-12-2009, 10:06 PM
echo "action=backup&local_path=/home/admin/admin_backups&owner=admin&type=admin&value=multiple&when=now&where=local&who=all" >> /usr/local/directadmin/data/task.queue

/usr/local/directadmin/dataskq &

Starteck2002
10-13-2009, 12:24 AM
that returned:

[1] 23004

Is that correct?

scsi
10-13-2009, 06:00 AM
You have to check the logs. That just tells you the pid which the process forked to the bg as.