Introduction
This article shows how to move backup creation and staging to a new location on the server.
Procedure
-
Locate a directory on the server that contains enough space for your backups and staging directory.
Example (new disk mount on /new_backup):
root@server [~] # df -h
/dev/mapper/centos00-root 50G 33G 18G 66% /
/dev/mapper/centos00-home 408G 197G 211G 49% /home
/dev/sdb1 497G 315G 182G 64% /new_backup <-- hereYou may need to contact your Hosting Provider or System Administrator to acquire and mount more disk space on the server.
- Access your server using WHM as the root user.
- Navigate to "Home / Backup / Backup Configuration."
- Modify the "Default Backup Directory" and "Backup Staging Directory" to the new path.
- Select "Save Configuration" to commit the changes.
This will only affect newly generated backups. You will need to manually move backups from the old to the new directory if this is desired. Using the examples above, the 'mv' command would look like this:
mv -v /backup/* /new_backup/
Comments
0 comments
Article is closed for comments.