Skip to main content

Moving sites between /home2 and /home

Comments

5 comments

  • cPanelMichael
    Hello :) You can move accounts between your home partitions via: "WHM Home " Account Functions " Rearrange an Account" After an account is moved back to the /home partition, you can manually remove any symbolic links in the /home2 directory. Thank you.
    0
  • JustSomeGuy
    Thank you Michael for the update. Yes I have tried that with one site and it seems to work great. Do you know if there is something that can be run on the command line to rearrange all accounts on /home2 to /home ??? As I have around 200 sites on /home2 I need to move over
    0
  • cPanelMichael
    [quote="JustSomeGuy, post: 1496241">Thank you Michael for the update. Yes I have tried that with one site and it seems to work great. Do you know if there is something that can be run on the command line to rearrange all accounts on /home2 to /home ??? As I have around 200 sites on /home2 I need to move over
    There are no automated tools or API functions available to rearrange multiple accounts at the same time. I recommend opening a feature request for this via: Submit A Feature Request Thank you.
    0
  • JustSomeGuy
    Can you change it via the command line? If so, a simple script could be run to go through and move them. I just need the command line command to change a user
    0
  • cPanelMichael
    [quote="JustSomeGuy, post: 1497292">Can you change it via the command line? If so, a simple script could be run to go through and move them. I just need the command line command to change a user
    No, there are no command line tools or utilities that are equivalent to this feature in WHM. One alternative is to modify the default home directory for new accounts in "WHM Home " Server Configuration " Basic cPanel & WHM Setup". Then, backup, terminate, and restore the account. Thank you.
    0

Please sign in to leave a comment.