Submitted by StoneFreeIT on Mon, 08/20/2012 - 06:29
Hello,
I would like to request importing DirectAdmin backups into Virtualmin. I think I will be done migrating before this feature will be completed, but i will be able to provide User/Reseller/Admin backups. Also, once my users are on my new server i can give you access to the DA box and you can poke around DA for as long it is up (Its a VPS, i was going to cancel it in about three weeks, but if really needed i can keep it for another month). In short, i have a DirectAdmin box, i can provide DA backups and once the migration is finished you can have (root if preferred) access as it will no longer be in production.
Cheers
Guido
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 08/20/2012 - 13:52 Comment #1
This should be possible to implement, but it would be useful to have some example DirectAdmin backups to test migration on. Would you be able to supply some?
Submitted by StoneFreeIT on Mon, 08/20/2012 - 16:55 Comment #2
Absolutely,
Its a tar.gz archive. Where should i send it?
Cheers
Guido
Submitted by JamieCameron on Tue, 08/21/2012 - 15:57 Comment #3
Email it to me at jcameron@webmin.com
Also, let me know which domains, mailboxes, databases and mail aliases the backup is supposed to contain. That will make reverse-engineering its format easier..
Submitted by rpereyra on Mon, 09/23/2013 - 15:07 Comment #4
Hello
About the feature request I can provide you some backup directadmin file:
http://contenidosonline.s3.amazonaws.com/user.admin.atmgchuc.tar.gz
This is a standard Wordpress site:
domain: atmgchu.com.ar user: atmgchuc database: atmgchuc_atm1 One mail account: info@atmgchu.com.ar
Hope helps
roberto
Submitted by JamieCameron on Mon, 09/23/2013 - 16:35 Comment #5
Thanks - I'll make use of that file as a test of the migration code.
Submitted by rpereyra on Mon, 09/23/2013 - 17:28 Comment #6
Great, If you need more info, please tell me.
roberto
Submitted by rpereyra on Mon, 09/23/2013 - 17:29 Comment #7
Also if you need a test directadmin account.
roberto
Submitted by NiVanc on Tue, 10/29/2013 - 06:03 Comment #8
I would love to have this feature implemented as well. If needed, I can provide directadmin backups as well. Thanks in advance for the effort!
Submitted by JamieCameron on Tue, 10/29/2013 - 13:08 Comment #9
Yes, a sample directadmin backup would be useful - please put it somewhere where we can download it, and post the URL on this ticket.
Submitted by NiVanc on Tue, 10/29/2013 - 15:17 Comment #10
The following link contains a directadmin backup for 1 user. The backup contains a wordpress installation and 2 e-amailaccounts.
http://ocin.be/answ.tar.gz
Please let me know if you need more backups. I would be more than happy to help.
Submitted by JamieCameron on Tue, 10/29/2013 - 18:14 Comment #11
Thanks! Downloading it now ..
Submitted by NiVanc on Wed, 10/30/2013 - 08:40 Comment #12
You're welcome. If you need more backups, just give me a shout.
Is it ok for me to ask here if you have any idea when this feature will be implemented?
Submitted by JamieCameron on Wed, 10/30/2013 - 12:17 Comment #13
I'm still working on it, so release may not be for a couple of weeks.
Submitted by JamieCameron on Fri, 11/08/2013 - 18:09 Comment #14
Hey guys - could I also get a directadmin backup that has a few email aliases of different types? I'd like to make sure they get migrated properly.
Submitted by rpereyra on Fri, 11/08/2013 - 19:15 Comment #15
Hello
Hope this backup helps:
readme.txt with the backup info:
https://da2virtualmin.s3.amazonaws.com/readme.txt
backup file (upload to S3 because I can't upload tar.gz files to this site):
https://da2virtualmin.s3.amazonaws.com/da2vm.tar.gz
roberto
Submitted by NiVanc on Sat, 11/09/2013 - 04:01 Comment #16
I see that there's already a backup file uploaded with email aliases. If you need anything else, just let me know.
Submitted by JamieCameron on Sat, 11/09/2013 - 12:01 Comment #17
Thanks for the file - that should give me what I need for now.
Submitted by JamieCameron on Sat, 11/09/2013 - 14:14 Comment #18
roberto - for that backup you provided, what disk quota was assigned to the domain and to the info user?
Submitted by rpereyra on Sat, 11/09/2013 - 15:13 Comment #19
Hi Jamie
I've assigned:
disk quota: 2Gb Transfer quota: 20Gb /month
I've attached the domain config in control panel (in spanish).
roberto
Submitted by rpereyra on Sat, 11/09/2013 - 15:21 Comment #20
This is a perl script for migrate cpanel accounts to directadmin:
https://s3.amazonaws.com/contenidosonline/directadmin/da.cpanel.import.9...
works very well.
It shoud help you to undestand the directadmin file format.
roberto
Submitted by JamieCameron on Sun, 11/10/2013 - 17:21 Comment #21
Ok, I think I have the migration support for DirectAdmin mostly done. Anyone who wants to try this out, please let me know which Virtualmin version (GPL or Pro) you are running, and on which Linux distribution / operating system.
Submitted by rpereyra on Sun, 11/10/2013 - 17:51 Comment #22
Hi
I can build a test server with any Virtualmin GPL in any SO, anyway I mostly use CentOS.
I may test the tool in centos if you like.
(sorry my english)
roberto
Submitted by JamieCameron on Mon, 11/11/2013 - 01:03 Comment #23
Ok, I have just emailed you an updated RPM package that contains DirectAdmin support.
Submitted by rpereyra on Mon, 11/11/2013 - 09:04 Comment #24
Hi
Tested !
First test:
works well:
Do not works:
I continue testing and will notice if I find another problem.
Thanks
roberto
Submitted by rpereyra on Mon, 11/11/2013 - 09:32 Comment #25
If you want I can create an account on my directadmin server so you may create email accounts, ftp and aliases, and then create yourself backups to check it out.
If you want you should send me a way to send data privately.
roberto
Submitted by JamieCameron on Mon, 11/11/2013 - 18:04 Comment #26
Sure, that would be useful. You can email me at jcameron@virtualmin.com with login details.
Submitted by NiVanc on Tue, 11/12/2013 - 00:32 Comment #27
I would be able to test this feature. I'm running Virtualmin 4.0.3 GPL on Ubuntu 12.0.4 LTS.
Submitted by rpereyra on Tue, 11/12/2013 - 04:53 Comment #28
Sent Jamie ! Check your inbox.
roberto
Submitted by NiVanc on Wed, 11/13/2013 - 06:17 Comment #29
Could I receive the updated RPM package that contains DirectAdmin support as well? That way I could run some tests myself.
Submitted by JamieCameron on Wed, 11/13/2013 - 15:48 Comment #30
NiVanc - are you running Virtualmin GPL or Pro? The RPMs are different.
Submitted by NiVanc on Wed, 11/13/2013 - 15:58 Comment #31
@Jamie GPL
Submitted by JamieCameron on Wed, 11/13/2013 - 16:16 Comment #32
Ok, I've just emailed you an updated Virtualmin GPL RPM package.
Submitted by NiVanc on Sat, 11/23/2013 - 06:35 Comment #33
Jamie I'm running Ubuntu 12.04 x64 so it appears that I need the Debian package. Could you send me the Debian package? I will post my feedback and experiences here then.
Submitted by JamieCameron on Sat, 11/23/2013 - 13:20 Comment #34
NiVanc - sure, I can send you a package. Are you running Virtualmin GPL or Pro?
Submitted by NiVanc on Sat, 11/23/2013 - 13:22 Comment #35
Virtualmin GPL
Submitted by JamieCameron on Sat, 11/23/2013 - 17:41 Comment #36
Ok, I have emailed you an updated Virtualmin debian package.