stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

Partial backup job runs only for first user #195

Closed stefanpejcic closed 1 month ago

stefanpejcic commented 1 month ago

OpenPanel version(s) affected

0.3.0

What OS are you using?

Ubuntu

Description

when partial backup job is executed:

opencli backup-run 3  --files --entrypoint --apache-conf --mysql-data --mysql-conf --php-versions --crontab --user-data --core-users --stats-users --apache-ssl-conf --domain-access-reports --ssh --timezone 

the function: run_backup_for_user_data iterates only over the 1st user and then exits:

How to reproduce

rewrite run_backup_for_user_data

Possible Solution

No response

Additional Context

No response