Control Web Panel

WebPanel => Backup => Topic started by: diogo-plta on August 21, 2026, 08:50:36 PM

Title: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: diogo-plta on August 21, 2026, 08:50:36 PM
Even after selecting the directory containing the backup files, the system does not list any accounts to restore. I tried changing the directory (by copying the files), but it still doesn't list them. What could be happening? I have used this feature to restore accounts successfully in the past, but it isn't working now.

I didn't find any errors in the log. Is there a specific log I should check?

CWPpro version: 1.8
AlmaLinux 8

I wish there were a CLI command for restoration.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: josemnunez on August 21, 2026, 10:20:03 PM
Hi,

Please update to the latest version that was released today
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: alexander999 on August 22, 2026, 11:41:01 AM
Hi,
Can someone explain how a developer can release an update without writing about the changes and fixes?
Recovery doesn't work. Version 1.9
Distro Name: AlmaLinux release 9.8 (Olive Jaguar)
(https://i.postimg.cc/njrxqQRT/Screenshot-2026-08-22-143229.png) (https://postimg.cc/njrxqQRT)
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: diogo-plta on August 22, 2026, 09:41:45 PM
Quote from: josemnunez on August 21, 2026, 10:20:03 PM
Hi,

Please update to the latest version that was released today

I did the update but still not working.

CWPpro version: 1.9

Distro Name: AlmaLinux release 8.10 (Cerulean Leopard)
Kernel Version: 4.18.0-553.154.1.el8_10.x86_64
Platform: x86_64 Dedicated
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on August 24, 2026, 01:14:10 AM
 I have the same problem I think, It backups up okay to local and an S3 garage bucket, but when I go to the restore button, there is nothing listed under user accounts. Below that it says in the yellow box, "Please first select the backup you want to restore."

Well I can't select any backups because nothing is listed there - the top field is totally blank, no accounts to select. I'm pretty livid about this. Long ago this worked; I don't know how long it has been broken, but it is broken in AlmaLinux 8 and 9 on CWP version 1.9. I have CWP updates set to two weeks, do I need to step that up to immediately to get a bugfix or something? I am so used to having to fix things that are broken in CWP that I fear taking breaking updates from this operation...

This truly is not acceptable. To be able to make backups but not restore them makes it 100% worthless.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: diogo-plta on September 01, 2026, 01:00:54 PM
We urgently need a solution for restoring backups.

I'm already on version 1.10, but there's no fix; the issue persists.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: André Bastos on September 01, 2026, 08:37:17 PM
I am facing the same issue on over 30 servers running CWPpro version 1.10.

We need to migrate urgently due to recent vulnerabilities, but CWP is hindering the process.

print: https://i.imgur.com/fHoniFE.png

Please help
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: diogo-plta on September 02, 2026, 01:48:44 PM
My server experienced a security vulnerability too.

I now suspect the breach is related to CWP, and that the backup system — specifically the restore function — was deliberately compromised to prevent the recovery of compromised sites.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: André Bastos on September 02, 2026, 06:32:38 PM
Quote from: diogo-plta on September 02, 2026, 01:48:44 PM
My server experienced a security vulnerability too.

I now suspect the breach is related to CWP, and that the backup system — specifically the restore function — was deliberately compromised to prevent the recovery of compromised sites.

Servers were exploited using v1/backup.


Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on September 10, 2026, 06:42:18 PM
I have done quite a bit more troubleshooting on this and can confirm that the S3 restore problem occurs before CWP ever attempts to connect to the S3 server.

My setup is AlmaLinux 9.8 using the New Backup (beta) system. Local restore is working now, but S3 restore still does not populate the Frequency, Backup, or User Accounts fields.

The S3 storage is a Garage S3-compatible server. Backups to it are working normally.

I verified the following:

* The backup archives are present in the S3 bucket in the expected structure, for example:
  `full/daily/Sunday/accounts/user.tar.gz`
* Using the same endpoint, bucket, region, access key and secret key stored in CWP's backup configuration, `aws s3 ls` successfully lists the bucket, directories and account backup files.
* CWP itself successfully uploads backups to this same S3 bucket.
* The CWP AJAX request for `searchbackupaccount` returns HTTP 200, but the response is only 5 bytes when S3 is selected. The equivalent Local request returns 82 bytes and the restore selections populate normally.
* There are no corresponding errors recorded in the CWP backup `errors` or `restore` SQLite tables.
* I ran tcpdump while selecting the S3 restore source. CWP made no connection at all to the configured S3 server.
* I then traced the CWP PHP-FPM process. During the S3 restore request CWP reads `/usr/local/cwp/.conf/backup_config.sqlite` and checks that the AWS CLI is installed with `which aws`.
* CWP finds `/usr/bin/aws`, but it never executes an `aws` command after that check.
* Since no AWS command is executed and no network connection is made to the S3 server, the restore code appears to stop locally before it ever attempts to enumerate the S3 bucket.

I also compared the working Local backup configuration with the S3 configuration and tested the few potentially relevant differences. Changing `S3_PATH` from an empty value to the database default of `0` made no difference. I also tested `DEFAULUSERBACKUP=0` instead of `1`, with no difference. Both values were restored to their original settings after testing.

At this point I don't believe this is an S3 credentials, permissions, endpoint, network, or AWS CLI problem. All of those work when tested directly, and CWP is successfully writing backups to the same bucket.

It appears that the New Backup (beta) S3 restore discovery code is returning before it ever attempts to access S3.

Hopefully this additional information will help locate the problem.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on September 27, 2026, 10:02:26 PM
CWP 1.15 and this still hasn't been addressed. When can we expect for the S3 restore to be fixed? Ever???
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on October 10, 2026, 08:47:30 PM
Version CWP1.18 and still the ioncube files are the source of S3 backups not populating the restore window. Can someone take a look at this please? I have no problems saving to S3 storage, but the restore mechanism does not populate the "Frequency" "Backup" or "User Account" fields from the restore module. I'm on the AlmaLinux 9 train for CWP.
(https://i.postimg.cc/Nf41hQK2/brave-4jb-H8b-Lpv-P.png)
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: adrianofnatal on October 11, 2026, 04:09:28 PM
S3 Backup never worked.

It fails to upload in scheduled backup.
Sometimes a manual backup works. In a second try, does not work anymore.

I didnm' use it anymore.
I generate a local backup (which works well unless you not using PostgreSQL because does not backup databases) and got a script to upload backups to somewhere.

Backup is a VERY IMPORTANT, if not the MOST IMPORTANT thing in a server.
After version 0.9.xx this new backup never worked.



Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on October 17, 2026, 07:31:09 AM
Great work! (Sarcasm...) As of version 1.19 through version 1.20 not only did you not fix the restore issue for S3 backups, you broke the S3 backup mechanism, now CWP can't even backup to S3 storage. You've done something in the ioncube files that screws up the secret key making it a 6 byte string when the real entered secret string is 26 bytes. WHY??? Not only can you not FIX New Backup (beta) you have broken it even further! Look at whatever changes you made to your super secret ioncube files between v1.18 and 1.19 and reverse them as you have a serious regression issue going on.

It's one thing to not fix the restore functionality, but an entirely different thing to mess around and break the only thing that worked - S3 backups. This is ridiculous.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: vox on October 19, 2026, 02:08:49 AM
You can't even do manual backups.  ::) Broke everything.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: vox on October 31, 2026, 05:13:05 AM
Fingers crossed! v1.28 seems to have fixed the NEW backup I'm able to run a manual backup. I'll wait and see if the schedule backups run....
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DeanCTS on November 08, 2026, 09:40:19 AM
Please note that you need to import files from your S3 to /newbackup in order to restore.
(https://s3.praetorian.cloud/ShareX/2026/11/msedge_F8IXVySAaR.png)

As you can see, the restoration works and detects account/date involved once copied to the local /newbackup dir.

The S3 storage is just your safekeeping option for archiving backups or serving as secondary repository.
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on November 10, 2026, 10:20:29 PM
This is progress, CWP fixed the regression problem with S3 backups saving in New Backup(beta), and additionally now the selector on restore does populate the fields, it just doesn't show any of the available backups. This is in the ioncube implementation and nothing I can work around myself. PLEASE FIX the S3 restoration implementation entirely.
AphNVMKlrc.png
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: Administrator on November 10, 2026, 10:41:38 PM
open a ticket and our support team will check it
Title: Re: NEW Backup (beta) / Restore Account -> Does not list accounts to restore
Post by: DA_MAN on November 13, 2026, 02:42:06 AM
Sorry, the forum logged me out, this was supposed to go here... See -> Newbackup(beta) S3 Backup AND RESTORE! (https://forum.centos-webpanel.com/backup/s3-backup-and-restore!/)