hello
I'm migrating a lot of accounts from cPanel, so I can related some bugs:
1) when copying SQL, line 585:
print NEW do { local $/; <OLD> };
this may be a good way, but it apparently (at least on FreeBSD) requires the whole .sql file to be read on memory, then on the new file
so if I get a .sql file with 800 MBs, it usually gives memory error allocating
I know this is a dirty solution, but I did that (and I'm not ashamed

):
`cp ${ROOT_PATH}import/$incoming_user/mysql/$db ${ROOT_PATH}export/$incoming_user/backup/$db`;
2) it seems E-mail forwarders are not being imported if the account has a domain pointer (or maybe an addon domain)... I didn't have time to check this further
3) a "catchall" option on config would be nice
4) it seems it doesn't copy "root" files/dirs
so if user has things on /home/username/ (not on public_html/), they don't get restored