Skip to main content

Change /backup drive

Comments

9 comments

  • cPRex Jurassic Moderator

    Hey there!  Yes, that really is all there is to it.  However, your last note about it already having cPanel accounts will keep it from working.  cPanel doesn't allow you to do that as it can severely slow down the server due to issues with quota calculation.

    1
  • milo695

    I see, so what can I do to move /backup from primary drive to secondary?
    Is "Mount Backup Drive as Needed" an option in this case if I order 1 more drive?
    Thanks for this Rex

    0
  • cPRex Jurassic Moderator

    If you had another partition inside the other disk that would work fine, and then you could use the "mount backup drive as needed" option as well as that partition wouldn't need to be permanently active.

    1
  • milo695

    So the choice is:
    1. get one more drive and use it solely for /backup2 (or partition it into 2 and use 1 partition for backup).
    2. transfer cpanel accounts from secondary drive into primary, format/partition secondary drive into 2 and use one for backup and another for accounts.

    Did I get this right Rex?

    0
  • cPRex Jurassic Moderator

    Those would be good options, yes.  We just don't want a situation where the backup partition also has live cPanel accounts on it.

    1
  • milo695

    Got it chief, thank you for this.

    0
  • cPRex Jurassic Moderator

    Sure thing!

    0
  • milo695

    Hi Alex, but I already have an single account in /home2 directory on /dev/nvme0n1 drive, the entire drive is a single partition - I didn't create multiple partitions and cPRex said this:

    Hey there!  Yes, that really is all there is to it.  However, your last note about it already having cPanel accounts will keep it from working.  cPanel doesn't allow you to do that as it can severely slow down the server due to issues with quota calculation.

    Do you think it's safe to do what you suggested?
    Thanks man

    0
  • Hi,

     

    If /dev/nvme0n1 is not the root partition, then cPanel would disable quotas on this partition if you decide to store backups on it. This is done to avoid performance degradation. We have this clarified in our documentation on configuring backups:

     

    https://docs.cpanel.net/whm/backup/backup-configuration/#configure-the-backup-directory

    0

Please sign in to leave a comment.