• 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 UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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