Need help recovering all accounts

Dytech

Verified User
Joined
Jul 10, 2008
Messages
8
Hey Everyone!

I got a big problem.

My DA server totally crashed and was fully unresponsive. The guys at the datacentre (remote hands) told me there was no rescue possible and they installed a second harddisk. On the new harddisk a new DA server is been installed en the old harddisk has been mounted to /oldhdd.

Unfortunally DA never completed previous admin backups due to some errors in the backup script.

So here it is: I got a new DA server with an old disk mounted.

Now i'd like to recreate all accounts. My biggest concern are all the mail accounts. Is there some way of retrieving those?

Thanks a lot,

Any help is greatly appreciated!
 
Last edited:
I've found most of my email accounts. Just by looking inside the user's imap folder.

Though there a mail account that don't use that.

Where does DirectAdmin store all the email accounts? DA seems to be able to get a list of all adresses. Where can i find those?
 
Login through ssh

Code:
chroot /oldhdd # This makes your working environment /oldhdd
/etc/rc.d/init.d/mysqld start # So that databases will be backed up
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 &

Backups from the old drive will be saved in /home/admin/admin_backups of /oldhdd Of course if you are still chroot'ed then the path will simple be /home/admin/admin_backups
 
Back
Top