• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Warning: Unable to back up files

smilan

New Pleskian
Server operating system version
CentOS Linux 7.9.2009
Plesk version and microupdate number
Plesk Obsidian v18.0.57
For some time backup on the server is not working or all domains. Usually there is errors like this:
Unable to back up files from /var/www/vhosts/domen.com owned by system user. Error: Failed to create archive: backup_user-data_XXXXXXXXX.tzst 25
Unable to back up files from /var/www/vhosts/domen.com owned by Apache. Error: Failed to create archive: backup_apache-files_XXXXXXXXX.tzst 25
Unable to back up mail messages. Error: Failed to create archive: backup_domainmail_XXXXXXXXXX.tzst 25

# grep -ri dump /etc/psa/psa.conf is giving
DUMP_D /var/lib/psa/dumps
# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
DUMP_TMP_D /var/lib/psa/dumps

/var/lib/psa/dumps]> ls -la is giving
[root@host ~]# /var/lib/psa/dumps]> ls -la
-bash: /var/lib/psa/dumps]: No such file or directory ???

Am I doing something wrong?
I appreciate any help.
 
# grep -ri dump /etc/psa/psa.conf is giving
DUMP_D /var/lib/psa/dumps
# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
DUMP_TMP_D /var/lib/psa/dumps

/var/lib/psa/dumps]> ls -la is giving
[root@host ~]# /var/lib/psa/dumps]> ls -la
-bash: /var/lib/psa/dumps]: No such file or directory ???

# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
Where is DUMP_TMP_D? --> It is the same like DUMP_D.
It is o.k. to have DUMP_TMP_D in the same path? --> No.

Besides, you'll need to have the path /var/lib/psa/dumps, but according to your output, that is missing. Can you create it? The path needs to be owned by psadm, group psadm, permissions 0750. You can locate your local backups into any other path as long as you edit DUMP_D to that path, too. DUMP_TMP_D would normally be /tmp.
 
Where is DUMP_TMP_D? --> It is the same like DUMP_D.
It is o.k. to have DUMP_TMP_D in the same path? --> No.

Besides, you'll need to have the path /var/lib/psa/dumps, but according to your output, that is missing. Can you create it? The path needs to be owned by psadm, group psadm, permissions 0750. You can locate your local backups into any other path as long as you edit DUMP_D to that path, too. DUMP_TMP_D would normally be /tmp.
I dont understand.
I have folder /var/lib/psa/dumps, owner and group is psaadm (two times a) and permission is 750.
I created /var/lib/psa/tmp folder and I changed psa.conf file, and I still get same error. What am I doing wrong?
 
According to your above shown output it was "/var/lib/psa/dumps" twice. I recommend to use /tmp (not /var/lib/psa/tmp) for temporary files.
 
It works. I changed location of temporary files to /tmp as you suggested, and back-up is now working normally. Owner of /tmp is root.
Thank you, but I still don't understand what happened and why it didn't work with /var/lib/psa/tmp, maybe owner problem?
Anyhow it is sorted now!
Once more thank you for your help.
 
Back
Top