I have read dozens of the threads related to this, and the docs, but I just can't seem to get my head around it. So please forgive if I am just making this too complicated (or I'm just too stupid, missed something really obvious...).
I would like to configure daily backups by ftp and not leave a copy in the default backup directory after complete.
In WHM on the backup config screens (both legacy and newer), there is a field for the default backup directory -
"Default Backup Directory: In this field, you must provide an absolute path to the local backup directory." The field has "/backup" in it by default.
The legacy config screen additionally has warnings about setting this to the home directory. I assume it's not such a good idea for the newer method. And I understand the need to have sufficient space in the target directory. But I just cannot understand where to set the default /backup directory.
May someone please tell me where to set this? And do I need to create the directory, or will the system do it if I specify a path and the dir isn't there?
Here is the report of disk usage on the server -
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 1.9G 416M 1.4G 23% /
/dev/sda7 431G 60G 349G 15% /home
/dev/sda5 1.9G 498M 1.4G 28% /tmp
/dev/sda3 7.6G 5.9G 1.4G 82% /usr
/dev/sda2 7.6G 2.1G 5.2G 29% /var
tmpfs 2.0G 0 2.0G 0% /dev/shm
(I can SSH in and see that there is an empty directory /backup at root level)
I will SINCERELY appreciate some "Backup Config For Dummies" style guidance on this.
With many thanks.
I would like to configure daily backups by ftp and not leave a copy in the default backup directory after complete.
In WHM on the backup config screens (both legacy and newer), there is a field for the default backup directory -
"Default Backup Directory: In this field, you must provide an absolute path to the local backup directory." The field has "/backup" in it by default.
The legacy config screen additionally has warnings about setting this to the home directory. I assume it's not such a good idea for the newer method. And I understand the need to have sufficient space in the target directory. But I just cannot understand where to set the default /backup directory.
May someone please tell me where to set this? And do I need to create the directory, or will the system do it if I specify a path and the dir isn't there?
Here is the report of disk usage on the server -
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 1.9G 416M 1.4G 23% /
/dev/sda7 431G 60G 349G 15% /home
/dev/sda5 1.9G 498M 1.4G 28% /tmp
/dev/sda3 7.6G 5.9G 1.4G 82% /usr
/dev/sda2 7.6G 2.1G 5.2G 29% /var
tmpfs 2.0G 0 2.0G 0% /dev/shm
(I can SSH in and see that there is an empty directory /backup at root level)
I will SINCERELY appreciate some "Backup Config For Dummies" style guidance on this.
With many thanks.
Last edited: