Skip to main content

How to Move Backup Directory & Files

Comments

3 comments

  • cPanelMichael
    Hello :) You can configure the backup storage location via: "WHM Home " Backup " Backup Configuration" Existing files/directories are movable through SSH with the "mv" command. Note that storing backups on a home directory is not advised, and can lead to quota discrepancies. Thank you.
    0
  • jethrodesign
    Hi, thanks for the reply. So by having the backups just set to '/backups', have we been using a home directory (the root '/') all along? I guess if this is not recommended, we'd have to see if the host would re-partition the new drive to allow for a dedicated backups partition and guess at how large it could potentially grow to. If we can't get the secondary drive re-paritioned and just have to move the backups to it for the sake of space, would we just set the directory in Backup Configuration to '/home2/backups'? And then move the files there? Restore would still work with what's already been backed up? Thanks!
    0
  • cPanelMichael
    [quote="jethrodesign, post: 1714772">If we can't get the secondary drive re-paritioned and just have to move the backups to it for the sake of space, would we just set the directory in Backup Configuration to '/home2/backups'? And then move the files there? Restore would still work with what's already been backed up?
    Yes, that is correct. Ensure the directory structure remains in place (e.g. move the directories/files within /backup to /home2/backup) so the path does not end up as "/home2/backup/backup". Thank you.
    0

Please sign in to leave a comment.