Backup Website doesn't appear to be working

Greetings!

I'm trying to run a back up before doing some upgrades. Everything seemed to be pretty straight forward. I started the backup process last night knowing it may take some time. I looked at the backup screen today and it was still just sitting there just as I had left it last night.

I'm following the steps exactly as they are outlined here - https://docs.cyberpanel.net/doku.php?id=backup-restore

I select the site, select the destination (only option is Home) and the page just sits there with the progress indicator moving (next to the "BACKUP WEBSITE" text) but nothing ever happens. I checked the path /home/websitedomain.com for a /backup directory and there is nothing. Nor is there a backup directory in the /home directory

It's as if nothing is being done, and I haven't been able to find any docs telling me how to check the progress of the backup.

Does the backup directory need to be created first? If not, wouldn't there at least be a directory folder showing up at some point.

Please advise ... Scott

Comments

  • I'm going to make a guess that the backup is failing, where would I check to verify?

    I have another server with Cyberpanel installed with brand new websites that only have a default Wordpress installation and their backups are working great.

    ... Scott
  • edited August 5
    I believe your global python might be having some issues. Go to: /usr/local/lscp/logs

    and remove all files starting local_backup*

    Then run:
    python /usr/local/CyberCP/plogical/backupScheduleLocal.py
    It will generate a new backup file in: /usr/local/lscp/logs

    Print the output of this log file, It could be a minor bug to run this file via virtualenv, but paste the logs to be sure.
  • There isn't a local_backup file in the logs directory, and after running the python command there wasn't anything generated.

    I'm not sure if this could be related, but I have been working for the past five hours on trying to SSH into this server, but I keep getting a public key permission denied. For some reason, this is the only server I can not SSH into at the moment. (I currently run three separate servers, and can SSH into the other two) It's a Digital Ocean droplet, and I can access the server via DO's console, which is ultimately how I was able to run the python command.
  • edited August 6
    ok, so the issue I had with the SSH was one of my dumbest mistakes to date ... I was trying to log into the wrong server, for FIVE hours ... (slaps forehead REALLY HARD)

    Here's what the log file generated from the Python command ...

    #################################################
    Backup log for: 01-16-11-Mon-Aug-2018
    #################################################


    [01-16-11-Mon-Aug-2018] Starting local backup for: centos
    [01-16-11-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-13-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-13-Mon-Aug-2018]An error occurred, Error message: None
    [01-16-13-Mon-Aug-2018] Starting local backup for: myusername
    [01-16-13-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-16-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-16-Mon-Aug-2018]An error occurred, Error message: None
    [01-16-16-Mon-Aug-2018] Starting local backup for: cyberpanel
    [01-16-16-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-18-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-18-Mon-Aug-2018]An error occurred, Error message: None
    [01-16-18-Mon-Aug-2018] Starting local backup for: vmail
    [01-16-18-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-20-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-20-Mon-Aug-2018]An error occurred, Error message: None
    [01-16-20-Mon-Aug-2018] Starting local backup for: clientwebsite.com
    [01-16-20-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-22-Mon-Aug-2018] Waiting for backup to complete..
    [01-16-22-Mon-Aug-2018]An error occurred, Error message: None


    [01-16-22-Mon-Aug-2018] #############################################
    [01-16-22-Mon-Aug-2018] Local Backup Completed
    [01-16-22-Mon-Aug-2018] #############################################
  • Ok, so while generating backup he ran into an issue, you must be having something in CyberPanel main log file that could help us?
  • edited August 6
    where might I find the correct log file, I looked a few and couldn't tell what was going on so I assumed there was a log file I was missing.

    I have checked the error and access logs from with in CyberPanel, cleared them and refreshed them to see new detail and there's nothing showing up.

    Thanks ... Scott
  • I cleared the logs, ran the Python command again and refreshed the error log file in CyberPanel, here's what I got.

    2018-08-06 22:49:26.399602 [DEBUG] beginBIO, this: 0x2375720
    2018-08-06 22:49:26.399651 [DEBUG] beginBIO - Ok
    2018-08-06 22:49:26.399660 [DEBUG] accept
    2018-08-06 22:49:26.399663 [DEBUG] Accept want to read more data, so read and save
    2018-08-06 22:49:26.399667 [DEBUG] readBIO state: 0x3000
    2018-08-06 22:49:26.399671 [DEBUG] readBIO buffered: 0
    2018-08-06 22:49:26.399681 [DEBUG] readBIO received 240 bytes
    2018-08-06 22:49:26.401909 [DEBUG] SSL_accept rc: -1
    2018-08-06 22:49:26.401924 [DEBUG] accept wants read more data
    2018-08-06 22:49:26.401929 [DEBUG] remove recv BIO layer.
    2018-08-06 22:49:26.867398 [DEBUG] accept
    2018-08-06 22:49:26.867685 [DEBUG] SSL_accept rc: 1
    2018-08-06 22:49:26.867692 [DEBUG] SSL_accept worked - move to connected status
  • These are OpenLiteSpeed logs, CyberPanel logs are at /serverstatus/cyberCPMainLogFile
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!