Issue when creating regular user backup

Krisauseu

Verified User
Joined
Apr 14, 2024
Messages
22
Location
Euskirchen
Hi,

If I try to run a scheduled user Backup, I get a long list of errors:
Unable to create path '/home/admin/backups/backup/lowendhost.de/email': mkdir(/home/admin/backups/backup/lowendhost.de) error: Permission denied

drw------- admin admin /home/admin/backups/backup

/home/admin/backups/backup/lowendhost.de/email: 'admin:admin' drwx------, viewed as admin:root
/home/admin/backups/backup/lowendhost.de: 'admin:admin' drwx------, viewed as admin:root
/home/admin/backups/backup: 'admin:admin' drw-------, viewed as admin:root
/home/admin/backups: 'admin:admin' d-wx--x--x, viewed as admin:root
/home/admin: 'admin:admin' drwx--x--x, viewed as admin:root
/home: 'root:root' drwx--x--x, viewed as admin:root
/: 'root:root' drwxr-xr-x, viewed as admin:root


Error copying ./data/users/admin/user.history to /home/admin/backups/backup/user.history : Unable to open /home/admin/backups/backup/user.historyKKXDKO for writing

Error copying ./data/users/admin/crontab.conf to /home/admin/backups/backup/crontab.conf : Unable to open /home/admin/backups/backup/crontab.confEAleZc for writing

Error copying ./data/users/admin/bandwidth.tally to /home/admin/backups/backup/bandwidth.tally : Unable to open /home/admin/backups/backup/bandwidth.tallyxKSi6F for writing

Error copying ./data/users/admin/ticket.conf to /home/admin/backups/backup/ticket.conf : Unable to open /home/admin/backups/backup/ticket.conf1t9x5N for writing

Error copying /home/admin/.shadow to /home/admin/backups/backup/.shadow : Unable to open /home/admin/backups/backup/.shadowy3aQST for writing

Error copying ./data/users/admin/login_keys to /home/admin/backups/backup/login_keys : mkdir(/home/admin/backups/backup/login_keys) error: Permission denied
Unable to create the directory /home/admin/backups/backup/login_keys

Error copying ./data/users/admin/history to /home/admin/backups/backup/history : mkdir(/home/admin/backups/backup/history) error: Permission denied
Unable to create the directory /home/admin/backups/backup/history

Error copying ./data/users/admin/domains/lowendhost.de.conf to /home/admin/backups/backup/lowendhost.de/domain.conf : Unable to open /home/admin/backups/backup/lowendhost.de/domain.confGQUNvP for writing

Error reading /home/admin/backups/backup/lowendhost.de/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/admin/backups/backup/lowendhost.de/domain.conf for reading.
Permission denied

Error copying ./data/users/admin/domains/lowendhost.de.usage to /home/admin/backups/backup/lowendhost.de/domain.usage : Unable to open /home/admin/backups/backup/lowendhost.de/domain.usageK3okpH for writing

Error copying ./data/users/admin/domains/lowendhost.de.cacert to /home/admin/backups/backup/lowendhost.de/domain.cacert : Unable to open /home/admin/backups/backup/lowendhost.de/domain.cacert3frN7S for writing

Error copying ./data/users/admin/domains/lowendhost.de.cert to /home/admin/backups/backup/lowendhost.de/domain.cert : Unable to open /home/admin/backups/backup/lowendhost.de/domain.certuCiDPv for writing

Error copying ./data/users/admin/domains/lowendhost.de.key to /home/admin/backups/backup/lowendhost.de/domain.key : Unable to open /home/admin/backups/backup/lowendhost.de/domain.key9to8jq for writing

Error copying ./data/users/admin/domains/lowendhost.de.php.ini to /home/admin/backups/backup/lowendhost.de/domain.php.ini : Unable to open /home/admin/backups/backup/lowendhost.de/domain.php.iniE8RqwX for writing

Error copying ./data/users/admin/domains/lowendhost.de.ip_list to /home/admin/backups/backup/lowendhost.de/domain.ip_list : Unable to open /home/admin/backups/backup/lowendhost.de/domain.ip_listVkyNt3 for writing

Error copying ./data/users/admin/domains/lowendhost.de.cert.creation_time to /home/admin/backups/backup/lowendhost.de/domain.cert.creation_time : Unable to open /home/admin/backups/backup/lowendhost.de/domain.cert.creation_timeEcpYcv for writing

Error copying ./data/users/admin/domains/lowendhost.de.subdomains.docroot.override to /home/admin/backups/backup/lowendhost.de/domain.subdomains.docroot.override : Unable to open /home/admin/backups/backup/lowendhost.de/domain.subdomains.docroot.overridewmdsaJ for writing

Error copying ./data/users/admin/ip.list to /home/admin/backups/backup/ip.list : Unable to open /home/admin/backups/backup/ip.listQQ8f0z for writing

Error copying ./data/users/admin/u_welcome.txt to /home/admin/backups/backup/u_welcome.txt : Unable to open /home/admin/backups/backup/u_welcome.txtBFA6qE for writing

Error copying ./data/users/admin/reseller.history to /home/admin/backups/backup/reseller.history : Unable to open /home/admin/backups/backup/reseller.historyrYLt4d for writing

Error copying ./data/users/admin/packages.list to /home/admin/backups/backup/packages.list : Unable to open /home/admin/backups/backup/packages.listnmSwSS for writing

Error copying ./data/admin/a_welcome.txt to /home/admin/backups/backup/a_welcome.txt : Unable to open /home/admin/backups/backup/a_welcome.txtYVnHBY for writing

Error copying ./data/admin/backup.conf to /home/admin/backups/backup/backup.conf : Unable to open /home/admin/backups/backup/backup.confHSqRM0 for writing

Error copying ./data/admin/backup_crons.list to /home/admin/backups/backup/backup_crons.list : Unable to open /home/admin/backups/backup/backup_crons.listjrpgVn for writing

Error copying ./data/admin/cluster.conf to /home/admin/backups/backup/cluster.conf : Unable to open /home/admin/backups/backup/cluster.conf79VUM8 for writing

Error copying ./data/admin/r_welcome.txt to /home/admin/backups/backup/r_welcome.txt : Unable to open /home/admin/backups/backup/r_welcome.txti5mWGl for writing

Error copying ./data/admin/packages.list to /home/admin/backups/backup/reseller_packages.list : Unable to open /home/admin/backups/backup/reseller_packages.listTxdqgr for writing

Error writing /home/admin/backups/backup/apache_owned_files.list: Unable to open file for writing
Permission denied

Error Compressing the backup file /home/admin/backups/backup/home.tar.zst : tar (child): /home/admin/backups/backup/home.tar.zst: Cannot open: Permission denied
tar (child): Error is not recoverable: exiting now
/bin/tar: /home/admin/backups/backup/home.tar.zst: Wrote only 2048 of 10240 bytes
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now

drw------- admin admin /home/admin/backups/backup


CLOSE

I gave this to Helpdesk, but again, I often get answers from them, I don't understand and be just as smart as before..
The answer is:
Hello,

The problem is that you try using SPACE in the name of the folder where you want to store the backups.
SPACES are not allowed there.
Please use the folder without them.

Thank you.

What does that mean? I don't try using spaces everywhere. All I do, is go to admin dashboard - user Backup - click on create and that's all! There is no possibility for entering anything..

Regards Kristian
 
All I do, is go to admin dashboard - user Backup - click on create and that's all! There is no possibility for entering anything..
That option is for other users, maybe admin can not use that.

Try login in as admin, then on top you have the choice "admin" and "user", click on user and then use the create backup function. So if all is well that is only "create backup" not "create user backup". Is it working that way?
 
An error occurred during the backup
26.5.2024, 14:51
Unable to create path '/home/admin/backups/backup/lowendhost.de/email': mkdir(/home/admin/backups/backup/lowendhost.de) error: Permission denied

drw------- admin admin /home/admin/backups/backup

/home/admin/backups/backup/lowendhost.de/email: 'admin:admin' drwx------, viewed as admin:root
/home/admin/backups/backup/lowendhost.de: 'admin:admin' drwx------, viewed as admin:root
/home/admin/backups/backup: 'admin:admin' drw-------, viewed as admin:root
/home/admin/backups: 'admin:admin' drwx------, viewed as admin:root
/home/admin: 'admin:admin' drwx--x--x, viewed as admin:root
/home: 'root:root' drwx--x--x, viewed as admin:root
/: 'root:root' drwxr-xr-x, viewed as admin:root


Error copying ./data/users/admin/user.history to /home/admin/backups/backup/user.history : Unable to open /home/admin/backups/backup/user.historyE8ecbm for writing

Error copying ./data/users/admin/crontab.conf to /home/admin/backups/backup/crontab.conf : Unable to open /home/admin/backups/backup/crontab.confaPRdER for writing

Error copying ./data/users/admin/bandwidth.tally to /home/admin/backups/backup/bandwidth.tally : Unable to open /home/admin/backups/backup/bandwidth.tallyWHhjCh for writing

Error copying ./data/users/admin/ticket.conf to /home/admin/backups/backup/ticket.conf : Unable to open /home/admin/backups/backup/ticket.confMgjU1x for writing

Error copying /home/admin/.shadow to /home/admin/backups/backup/.shadow : Unable to open /home/admin/backups/backup/.shadowJCuV2s for writing

Error copying ./data/users/admin/login_keys to /home/admin/backups/backup/login_keys : mkdir(/home/admin/backups/backup/login_keys) error: Permission denied
Unable to create the directory /home/admin/backups/backup/login_keys

Error copying ./data/users/admin/history to /home/admin/backups/backup/history : mkdir(/home/admin/backups/backup/history) error: Permission denied
Unable to create the directory /home/admin/backups/backup/history

Error copying ./data/users/admin/domains/lowendhost.de.conf to /home/admin/backups/backup/lowendhost.de/domain.conf : Unable to open /home/admin/backups/backup/lowendhost.de/domain.confbXTG7a for writing

Error reading /home/admin/backups/backup/lowendhost.de/domain.conf to insert local_domain & private_html_is_link: Unable to open /home/admin/backups/backup/lowendhost.de/domain.conf for reading.
Permission denied

Error copying ./data/users/admin/domains/lowendhost.de.usage to /home/admin/backups/backup/lowendhost.de/domain.usage : Unable to open /home/admin/backups/backup/lowendhost.de/domain.usageeccSmt for writing

Error copying ./data/users/admin/domains/lowendhost.de.cacert to /home/admin/backups/backup/lowendhost.de/domain.cacert : Unable to open /home/admin/backups/backup/lowendhost.de/domain.cacertTj6yY0 for writing

Error copying ./data/users/admin/domains/lowendhost.de.cert to /home/admin/backups/backup/lowendhost.de/domain.cert : Unable to open /home/admin/backups/backup/lowendhost.de/domain.certSZ2bLq for writing

Error copying ./data/users/admin/domains/lowendhost.de.key to /home/admin/backups/backup/lowendhost.de/domain.key : Unable to open /home/admin/backups/backup/lowendhost.de/domain.key1FkEd2 for writing

Error copying ./data/users/admin/domains/lowendhost.de.php.ini to /home/admin/backups/backup/lowendhost.de/domain.php.ini : Unable to open /home/admin/backups/backup/lowendhost.de/domain.php.ini0xjOkJ for writing

Error copying ./data/users/admin/domains/lowendhost.de.ip_list to /home/admin/backups/backup/lowendhost.de/domain.ip_list : Unable to open /home/admin/backups/backup/lowendhost.de/domain.ip_listseH6yC for writing

Error copying ./data/users/admin/domains/lowendhost.de.cert.creation_time to /home/admin/backups/backup/lowendhost.de/domain.cert.creation_time : Unable to open /home/admin/backups/backup/lowendhost.de/domain.cert.creation_timet8oAod for writing

Error copying ./data/users/admin/domains/lowendhost.de.subdomains.docroot.override to /home/admin/backups/backup/lowendhost.de/domain.subdomains.docroot.override : Unable to open /home/admin/backups/backup/lowendhost.de/domain.subdomains.docroot.override4frXPZ for writing

Error copying ./data/users/admin/ip.list to /home/admin/backups/backup/ip.list : Unable to open /home/admin/backups/backup/ip.listGaZeR7 for writing

Error copying ./data/users/admin/u_welcome.txt to /home/admin/backups/backup/u_welcome.txt : Unable to open /home/admin/backups/backup/u_welcome.txtLZ2E6h for writing

Error copying ./data/users/admin/reseller.history to /home/admin/backups/backup/reseller.history : Unable to open /home/admin/backups/backup/reseller.history9g0Xpz for writing

Error copying ./data/users/admin/packages.list to /home/admin/backups/backup/packages.list : Unable to open /home/admin/backups/backup/packages.listMYbx75 for writing

Error copying ./data/admin/a_welcome.txt to /home/admin/backups/backup/a_welcome.txt : Unable to open /home/admin/backups/backup/a_welcome.txtPY6b6F for writing

Error copying ./data/admin/backup.conf to /home/admin/backups/backup/backup.conf : Unable to open /home/admin/backups/backup/backup.confkJcU9f for writing

Error copying ./data/admin/backup_crons.list to /home/admin/backups/backup/backup_crons.list : Unable to open /home/admin/backups/backup/backup_crons.listLxb8Le for writing

Error copying ./data/admin/cluster.conf to /home/admin/backups/backup/cluster.conf : Unable to open /home/admin/backups/backup/cluster.confD4xkuF for writing

Error copying ./data/admin/r_welcome.txt to /home/admin/backups/backup/r_welcome.txt : Unable to open /home/admin/backups/backup/r_welcome.txtrMW2Ui for writing

Error copying ./data/admin/packages.list to /home/admin/backups/backup/reseller_packages.list : Unable to open /home/admin/backups/backup/reseller_packages.listfgrtXj for writing

Error writing /home/admin/backups/backup/apache_owned_files.list: Unable to open file for writing
Permission denied

Error Compressing the backup file /home/admin/backups/backup/home.tar.zst : tar (child): /home/admin/backups/backup/home.tar.zst: Cannot open: Permission denied
tar (child): Error is not recoverable: exiting now
/bin/tar: /home/admin/backups/backup/home.tar.zst: Wrote only 4096 of 10240 bytes
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now

drw------- admin admin /home/admin/backups/backup
 
You don't need to post the complete error log again, it's enough to just state that you get the same error doing it the way I suggested.

I suggest to answer the ticket for support with the last sentence you used here:
I don't try using spaces everywhere. All I do, is go to admin dashboard - user Backup - click on create and that's all! There is no possibility for entering anything..
 
Back
Top