• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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