José María Antón
New Pleskian
Hi,
my scheduled backup always show errors:
Not all the data was backed up into /var/lib/psa/dumps/clients/user-client/domains/user-client-domain.com successfully. Total space: 116792082432; Available space: 23934119936; Mounted on: /. For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to: /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_sel_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_sel_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--5/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--5/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--8/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--8/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--9/mage---549_CRON_LAST_HISTORY_CLEANUP_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--9/mage---internal-metadatas---549_CRON_LAST_HISTORY_CLEANUP_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---549_DB_PDO_MYSQL_DDL_mg_sitemap_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---549_CRON_LAST_SCHEDULE_GENERATE_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---internal-metadatas---549_CRON_LAST_SCHEDULE_GENERATE_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_sitemap_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---549_DB_PDO_MYSQL_DDL_mg_catalogrule_group_website_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalogrule_group_website_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_final_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_final_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--d/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--d/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_downlod_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_downlod_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--f/mage---549_DB_PDO_MYSQL_DDL_mg_cron_schedule_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--f/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_cron_schedule_1 So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "user-client" or "apache"
I checked permissions and they are:
root@xxxxxxx:/var/www/vhosts/user-client-domain.com/httpdocs/var/cache# ls -l total 172
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--0
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--1
drwxrwxrwx 2 user-client psacln 4096 ene 23 02:30 mage--2
drwxrwxrwx 2 user-client psacln 12288 ene 23 09:09 mage--3
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--4
drwxrwxrwx 2 user-client psacln 4096 ene 23 06:27 mage--5
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:26 mage--6
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--7
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--8
drwxrwxrwx 2 user-client psacln 4096 ene 23 02:30 mage--9
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--a
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--b
drwxrwxrwx 2 user-client psacln 69632 ene 23 09:18 mage--c
drwxrwxrwx 2 user-client psacln 16384 ene 23 09:09 mage--d
drwxrwxrwx 2 user-client psacln 20480 ene 23 09:09 mage--e
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--f
root@xxxxxxx:/var/www/vhosts/user-client-domain.com# ls -l
total 28
drwxr-x--- 5 user-client psacln 4096 may 6 2016 anon_ftp
lrwxrwxrwx 1 user-client psacln 31 may 6 2016 conf -> ../system/user-client-domain.com/conf
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 error_docs
drwxr-x--- 19 user-client psaserv 4096 ene 11 18:31 httpdocs
drwx------ 2 user-client psacln 4096 ene 23 06:45 logs
drwx------ 2 user-client psacln 4096 may 6 2016 private
lrwxrwxrwx 1 user-client psacln 37 may 6 2016 statistics -> ../system/user-client-domain.com/statistics
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 subdomains
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 web_users
Can you help to avoid this error? I checked this link but didnt resolve it: Scheduled backup warning: system user has no read access to a file
Thanks. Kind regards.
my scheduled backup always show errors:
Not all the data was backed up into /var/lib/psa/dumps/clients/user-client/domains/user-client-domain.com successfully. Total space: 116792082432; Available space: 23934119936; Mounted on: /. For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to: /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_sel_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_sel_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--3/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--5/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--5/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--8/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--8/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--9/mage---549_CRON_LAST_HISTORY_CLEANUP_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--9/mage---internal-metadatas---549_CRON_LAST_HISTORY_CLEANUP_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---549_DB_PDO_MYSQL_DDL_mg_sitemap_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---549_CRON_LAST_SCHEDULE_GENERATE_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---internal-metadatas---549_CRON_LAST_SCHEDULE_GENERATE_AT /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--a/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_sitemap_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---549_DB_PDO_MYSQL_DDL_mg_catalogrule_group_website_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalogrule_group_website_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_final_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--b/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_final_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--d/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--d/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_bundle_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_downlod_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_cfg_opt_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_downlod_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--e/mage---549_DB_PDO_MYSQL_DDL_mg_catalog_product_index_price_opt_agr_idx_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--f/mage---549_DB_PDO_MYSQL_DDL_mg_cron_schedule_1 /var/www/vhosts/user-client-domain.com/httpdocs/var/cache/mage--f/mage---internal-metadatas---549_DB_PDO_MYSQL_DDL_mg_cron_schedule_1 So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "user-client" or "apache"
I checked permissions and they are:
root@xxxxxxx:/var/www/vhosts/user-client-domain.com/httpdocs/var/cache# ls -l total 172
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--0
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--1
drwxrwxrwx 2 user-client psacln 4096 ene 23 02:30 mage--2
drwxrwxrwx 2 user-client psacln 12288 ene 23 09:09 mage--3
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--4
drwxrwxrwx 2 user-client psacln 4096 ene 23 06:27 mage--5
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:26 mage--6
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--7
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--8
drwxrwxrwx 2 user-client psacln 4096 ene 23 02:30 mage--9
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--a
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--b
drwxrwxrwx 2 user-client psacln 69632 ene 23 09:18 mage--c
drwxrwxrwx 2 user-client psacln 16384 ene 23 09:09 mage--d
drwxrwxrwx 2 user-client psacln 20480 ene 23 09:09 mage--e
drwxrwxrwx 2 user-client psacln 4096 ene 23 09:09 mage--f
root@xxxxxxx:/var/www/vhosts/user-client-domain.com# ls -l
total 28
drwxr-x--- 5 user-client psacln 4096 may 6 2016 anon_ftp
lrwxrwxrwx 1 user-client psacln 31 may 6 2016 conf -> ../system/user-client-domain.com/conf
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 error_docs
drwxr-x--- 19 user-client psaserv 4096 ene 11 18:31 httpdocs
drwx------ 2 user-client psacln 4096 ene 23 06:45 logs
drwx------ 2 user-client psacln 4096 may 6 2016 private
lrwxrwxrwx 1 user-client psacln 37 may 6 2016 statistics -> ../system/user-client-domain.com/statistics
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 subdomains
drwxr-xr-x 2 user-client psacln 4096 may 6 2016 web_users
Can you help to avoid this error? I checked this link but didnt resolve it: Scheduled backup warning: system user has no read access to a file
Thanks. Kind regards.