Tell Me It Isn't True...No Control of Account Transfer Destination.

dataword

Registered
Mar 23, 2006
1
0
151
I need to move 600 accounts to a new server tonight. It's important these accounts maintain their location path in /home because of some scripting not easily altered.

The server we are moving to has multiple drives partitioned as /home /home2 and a backup drive.

During a test move, all accounts are automatically sent to /home2, supposedly because there is more space available on that drive. Tell me it's not true that I can't choose which drive to send my accounts to because of changes in Cpanel 11. This is what I've been told but I can't believe the developers would do this.

Is it true? Can I get verification of this?

Sure I can rearrange accounts after the move but that's not practical at all considering the quantity and I don't know of any mass move command.

I'm hoping I received some bad information about this but if it's true, does anyone have a work-around to allow accounts to be installed on the drive of choice?

Thanks,

Steve
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
I need to move 600 accounts to a new server tonight. It's important these accounts maintain their location path in /home because of some scripting not easily altered.

The server we are moving to has multiple drives partitioned as /home /home2 and a backup drive.

During a test move, all accounts are automatically sent to /home2, supposedly because there is more space available on that drive. Tell me it's not true that I can't choose which drive to send my accounts to because of changes in Cpanel 11. This is what I've been told but I can't believe the developers would do this.

Is it true? Can I get verification of this?

Sure I can rearrange accounts after the move but that's not practical at all considering the quantity and I don't know of any mass move command.

I'm hoping I received some bad information about this but if it's true, does anyone have a work-around to allow accounts to be installed on the drive of choice?

Thanks,

Steve
have you looked in WHM "tweaks" ? or the general setup page in WHM?
 

owine

Active Member
Jan 10, 2007
44
0
231
What do you have configured for your "Default Home Directory" and your "Home Directory Prefix" in Basic WHM/cPanel Setup?
 

mtindor

Well-Known Member
Sep 14, 2004
1,363
65
178
inside a catfish
cPanel Access Level
Root Administrator
Assuming you want to continue having new accounts added to /home2 but you just want this specific account that you are transferring over to use /home, do this temporarily:

1. Log into WHM, click on Basic Cpanel/WHM Setup
2. Write down what you have for Default Home Directory and Home Directory Prefix
- make sure you document this so that you can restore these values later
3. Change Default Home Directory to: /home
4. Remove anything you have in Home Directory Prefix
5. Save Settings
6. Transfer the account that you are wishing to transfer over which requires /home as its base

7. Go back into WHM, Basic Cpanel/WHM Setup
8. Restore the previously written down values for Default Home Directory and Home Directory Prefix and save those settings.


Just so you understand how this works. If you have Default Home Directory listed but Home Directory Prefix is blank, then it will ONLY attempt to install in the directory specified in Default Home Directory.

However, if you have a value in Default Home Directory (such as '/home') and then you also have a value in Home Directory Prefix (such as 'home'), Cpanel will install accounts into /home only if /home has more freespace than /someother/path/with/the/word/home/in/it. If /some/other/path/with/the/word/home/in/it (based upon the Home Directory Prefix) has more free space than /home, then the account will be installed there.

So the instructions I have given you disables any other 'home' directory possibilities, thus forcing cpanel to only use /home for install.

Mike