Hi folkes,
A couple of days ago we had a problem with the disc of one of our DA servers, it wouldn't boot, so we had to install the OS in a new disc and place the old one as a secondary disc (to retrieve the information).
We made a fresh install of DA in the new disc and restored all the backups we had. Most of them were from a couple of hours before the crash, but we had some problems with the reseller accounts that were not so up to date. As the old disc is still there on the same box, I can easily access the files to restore them, but it's complicated to restore the accounts.
Here are my questions...
1) One thing I successfully did to get the latests MySQL backup was to run the MySQL server on the old disc on a different port and run mysqldump for all databases (separately). My question is... would it be possible for me to run Directadmin on a different port (since 2222 is being used by the new DA in the new disc), so that I could access as admin to create all the backups I need?
I tried... did a chroot, changed the port number on directadmin.conf, but when I try to start the service I get an error saying "Unable to read the license file". I want to know if this is something I can fix and get it to work or if my efforts are useless.
2) If option 1 cannot be accomplished... is there any way (script) to create a full backup of a user from command line without having the directadmin service running? I've seen there's a way with dataskq, but I think that won't work if I can't get the old DA to work...
Thanks in advance.
Regards
A couple of days ago we had a problem with the disc of one of our DA servers, it wouldn't boot, so we had to install the OS in a new disc and place the old one as a secondary disc (to retrieve the information).
We made a fresh install of DA in the new disc and restored all the backups we had. Most of them were from a couple of hours before the crash, but we had some problems with the reseller accounts that were not so up to date. As the old disc is still there on the same box, I can easily access the files to restore them, but it's complicated to restore the accounts.
Here are my questions...
1) One thing I successfully did to get the latests MySQL backup was to run the MySQL server on the old disc on a different port and run mysqldump for all databases (separately). My question is... would it be possible for me to run Directadmin on a different port (since 2222 is being used by the new DA in the new disc), so that I could access as admin to create all the backups I need?
I tried... did a chroot, changed the port number on directadmin.conf, but when I try to start the service I get an error saying "Unable to read the license file". I want to know if this is something I can fix and get it to work or if my efforts are useless.
2) If option 1 cannot be accomplished... is there any way (script) to create a full backup of a user from command line without having the directadmin service running? I've seen there's a way with dataskq, but I think that won't work if I can't get the old DA to work...
Thanks in advance.
Regards