- Server operating system version
- Almalinux 9.7
- Plesk version and microupdate number
- 18.0.77
Hi all,
We have a problem with a Plesk / Backup on external (S3).
We have a single 500GB server in this situation:
Two domains:
/var/www/vhosts/domain.com/cloud.mydomain.com/
and
/var/www/vhosts/domain.com/data.mydomain.com, which store data and are mounted on a 5TB disk (2TB of data currently).
We perform a full backup every night to remote storage (Amazon S3 Backup extension).
Settings:
- Multi-volume storage (5GB)
- Exclusion of:
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp/*
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps/*
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp/pmm*
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps/backup_info*
The backup works, but we get this error:
Warning: Subscription "domain.com"
Could not back up all data from the directory '/var/www/vhosts/domain.com':
data.mydomain.com/dump_dumps/backup_info_2604252211.xml: Cannot open: Permission denied
data.mydomain.com/dump_dumps/backup_info_2604252211_2604272211.xml: Cannot open: Permission denied
data.mydomain.com/dump_dumps/backup_info_2604252211_2604282211.xml: Cannot open: Permission denied
...
We have this for TMP Backup directory:
# grep DUMP_TMP_D /etc/psa/psa.conf
DUMP_TMP_D /var/www/vhosts/domain.com/data.mydomain.com/dump_tmp
I understand that the backup process tries to back up the temporary backup during the operation or at least to read the directory (I tried to set read permissions on the folder but it is automatically recreated each time so the permissions are reset).
However, I have no other option to ensure sufficient disk space; I must place this directory in /var/www/vhosts/domain.com/data.mydomain.com. If I leave it in a directory on the server (which has 500GB of disk space), I imagine the temporary storage will exceed the available space when backing up the current 2TB of data.
Is there really no way to exclude /var/www/vhosts/domain.com/data.mydomain.com/dump_tmp from the backup?
It is mentioned in the "Exclusion" field of the backup settings, but it doesn't seem to be applied...
We have a problem with a Plesk / Backup on external (S3).
We have a single 500GB server in this situation:
Two domains:
/var/www/vhosts/domain.com/cloud.mydomain.com/
and
/var/www/vhosts/domain.com/data.mydomain.com, which store data and are mounted on a 5TB disk (2TB of data currently).
We perform a full backup every night to remote storage (Amazon S3 Backup extension).
Settings:
- Multi-volume storage (5GB)
- Exclusion of:
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp/*
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps/*
/var/www/vhosts/domain.com/data.mydomain.com/dump_tmp/pmm*
/var/www/vhosts/domain.com/data.mydomain.com/dump_dumps/backup_info*
The backup works, but we get this error:
Warning: Subscription "domain.com"
Could not back up all data from the directory '/var/www/vhosts/domain.com':
data.mydomain.com/dump_dumps/backup_info_2604252211.xml: Cannot open: Permission denied
data.mydomain.com/dump_dumps/backup_info_2604252211_2604272211.xml: Cannot open: Permission denied
data.mydomain.com/dump_dumps/backup_info_2604252211_2604282211.xml: Cannot open: Permission denied
...
We have this for TMP Backup directory:
# grep DUMP_TMP_D /etc/psa/psa.conf
DUMP_TMP_D /var/www/vhosts/domain.com/data.mydomain.com/dump_tmp
I understand that the backup process tries to back up the temporary backup during the operation or at least to read the directory (I tried to set read permissions on the folder but it is automatically recreated each time so the permissions are reset).
However, I have no other option to ensure sufficient disk space; I must place this directory in /var/www/vhosts/domain.com/data.mydomain.com. If I leave it in a directory on the server (which has 500GB of disk space), I imagine the temporary storage will exceed the available space when backing up the current 2TB of data.
Is there really no way to exclude /var/www/vhosts/domain.com/data.mydomain.com/dump_tmp from the backup?
It is mentioned in the "Exclusion" field of the backup settings, but it doesn't seem to be applied...