CyberPanel Community

Log file for execution of incremental backups? (errors, warnings, verbose ect)

po
poetry #1

Hello,
Where can we find out why incremental backups are not executing? It just keeps running indefinitely without any error and I want to find out why it’s not working.
Please advise. I tried to remove all the folders and files for incremental backups and tried to run it again but it’s still not working.
Why even offer features that are so unreliable. I am forced to migrate to another web hosting platform if we can’t offer reliable backup solution.

11 replies
po
poetry #3

I have done touch /usr/local/CyberCP/debug and it’s not generating anything in the /home/cyberpanel/error-logs.txt file is empty. Have tried to do touch /home/cyberpanel/error-logs.txt and restarted server nothing even tried to execute the upgrade as noted here 02 - Upgrading CyberPanel nothing.
How buggy is this wow… Any advice…

jo
josephgodwinke #4

Do you any errors on https://<IP Address>:8090/serverstatus/cyberCPMainLogFile

If you do try and run an incremental backup and post the last 50 lines of this file here.

po
poetry #6

It looks like it finally started generating something in the file. look below:

[10.14.2022_18-07-49] 'userID'
[10.14.2022_18-13-51] 'tempPath' [backupStatus]
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZsudo restic
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZ-u demop7113 ls -la /home/demo.example.com/demo.example.com
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZ-u demop7113 restic init --repo /home/demo.example.com/incbackup --password-file /home/demo.example.com/demo.example.com
[10.14.2022_18-13-55] Fatal: create repository at /home/demo.example.com/incbackup failed: config file already exists
[10.14.2022_18-13-55] Creating meta for demo.example.com. [IncBackupsControl.py]
[10.14.2022_18-13-55] Expecting value: line 1 column 1 (char 0). [setupConnection:75]
[10.14.2022_18-13-55] Creating meta for demo.example.com.
[10.14.2022_18-13-55] 'NoneType' object is not iterable. [158:prepMeta]
[10.14.2022_18-13-55] Domains matching query does not exist.. [179:prepMeta]
[10.14.2022_18-13-55] Path to meta file /tmp/2175
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZsudo chown demop7113:demop7113 /tmp/2175
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZ-u demop7113 mv /tmp/2175 /home/demo.example.com/meta.xml
[10.14.2022_18-13-55] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZ-u demop7113 restic -r /home/demo.example.com/incbackup backup /home/demo.example.com --password-file /home/demo.example.com/demo.example.com --exclude /home/demo.example.com/incbackup --exclude /home/demo.example.com/backup
[10.14.2022_18-14-17] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZsudo chown cyberpanel:cyberpanel /usr/local/CyberCP/tmp
[10.14.2022_18-14-17] iu4nh3pBV2pF+agPKLhcuzMfCm6L3NcZsudo chmod 711 /usr/local/CyberCP/tmp
[10.14.2022_18-14-19] [Errno 13] Permission denied: '/usr/local/CyberCP/tmp/demo_demo.sql'[createDatabaseBackup]
jo
josephgodwinke #7

Ignoring the python errors - iterable . There is the error:

Domains matching query does not exist

does the domain demo.example.com exist?

po
poetry #8

Yes it does. What do you mean it does not exist? Where is it looking if it exists?

jo
josephgodwinke #9

There is no other error after this?

po
poetry #10

Nope it will just keep running indefinitely. I let it run for like hours yesterday no timeout nothing…

jo
josephgodwinke #11

Reboot your server and tail the /home/cyberpanel/error-logs.txt in SSH as you try the incemental backup

po
poetry #12

It’s the same as before. I think I am done I am moving to another solution it makes no sense to continue using cyberpanel. Way too many features that just don’t work. Thanks for the help.

[10.14.2022_20-41-11] 'tempPath' [backupStatus]
[10.14.2022_20-41-16] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6tsudo restic
[10.14.2022_20-41-17] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 ls -la /home/demo.example.com/demo.example.com
[10.14.2022_20-41-17] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 echo "4NvVxbYJbMll2D" > /home/demo.example.com/demo.example.com
[10.14.2022_20-41-17] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 chmod 600 /home/demo.example.com/demo.example.com
[10.14.2022_20-41-17] [Errno 111] Connection refused
[10.14.2022_20-41-17] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 restic init --repo /home/demo.example.com/incbackup --password-file /home/demo.example.com/demo.example.com
[10.14.2022_20-41-20] created restic repository 5c09bf0e49 at /home/demo.example.com/incbackup

Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.

[10.14.2022_20-41-20] Creating meta for demo.example.com. [IncBackupsControl.py]
[10.14.2022_20-41-22] Expecting value: line 1 column 1 (char 0). [setupConnection:75]
[10.14.2022_20-41-22] Creating meta for demo.example.com.
[10.14.2022_20-41-28] 'NoneType' object is not iterable. [158:prepMeta]
[10.14.2022_20-41-28] Domains matching query does not exist.. [179:prepMeta]
[10.14.2022_20-41-28] Path to meta file /tmp/1033
[10.14.2022_20-41-30] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6tsudo chown demop7113:demop7113 /tmp/1033
[10.14.2022_20-41-30] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 mv /tmp/1033 /home/demo.example.com/meta.xml
[10.14.2022_20-41-32] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6t-u demop7113 restic -r /home/demo.example.com/incbackup backup /home/demo.example.com --password-file /home/demo.example.com/demo.example.com --exclude /home/demo.example.com/incbackup --exclude /home/demo.example.com/backup
[10.14.2022_20-41-45] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6tsudo chown cyberpanel:cyberpanel /usr/local/CyberCP/tmp
[10.14.2022_20-41-45] LLvoyDs6LXSp+LBEBFA2ZZusLvC+ip6tsudo chmod 711 /usr/local/CyberCP/tmp
[10.14.2022_20-41-47] [Errno 13] Permission denied: '/usr/local/CyberCP/tmp/demo_demo.sql'[createDatabaseBackup]

Sign in to reply