If you check the "v-backup-users" file, you will find that it iterates over all users created by the admin in the MyVestaCP control panel. You can update the logic to iterate over the users you want to create backups for.
Here are the steps:
- Create a copy of the file "v-backup-users".
- In the file, search for the line "for user in $(grep '@' /etc/passwd |cut -f1 -d:); do" in the file.
Replace
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
with
x_users=('username')
for user in "${x_users[@]}"; do
Here, replace 'username' with your desired username.