Skip to main content

Configure/Move the backup folder to Hard Disk 2

Comments

4 comments

  • 24x7server
    Hello :), For this you will have to mount your second HDD on /backup directory. 1) First login your server through SSH with the root user 2) Rename your current backup directory to backup-ORI
    cd / mv backup backup-ORI
    3) Create new backup directory
    mkdir backup
    4) Create a partition on your second disk and mount that on /backup directly which you have just created on your server. 5) Move your old backup from /backup-ORI to /backup
    cd /backup-ORI mv * /backup/
    Please try with above steps and let me know if you have any other question. Thanks,
    0
  • Seyed Meeran
    @24x7server I tried the steps above and i am getting error that the directory is not mounted. 1 ) HDD 25GB ( I install cpanel on this HDD and backup folder is located in this HDD) 2 ) Now i brought another HDD 80GB and mounted as /home2 3 ) Now i want to create a folder "backup" inside /home2 (HDD2) and store all backup into the new folder in /home2
    0
  • 24x7server
    Hello Seyed, If you want to store your backup on /home2 partition then create backup directory on /home2 ( mkdir /home2/backup ) and change your backup path through WHM >> Backup configuration
    0
  • cPanelMichael
    Hello :) Yes, you can simply create the directory and update the backup path via "WHM >> Backup Configuration". Note that storing accounts and backups on the same partition is not advised. Thank you.
    0

Please sign in to leave a comment.