Way to disable web backups for ALL users?

This may seem a bit weird, but I want to disable web backups for ALL users:

I don’t want to disable emails, dbs etc… only the web. Is there a fast /global way I can turn off web backups for all domains? We have 40+ users and I really don’t want to have to log into each one to create the exclusion =)



No you can’t unless you use a bash script

Thanks. Is there a way to do it via the API? (I’m thinking of looping through each domain and then setting the flag to “*” for web domains to ignore on each one)

v-update-user-backup-exclusions admin /tmp/backup_exclusions

Where /tmp/backup_exclusions is a file containing:


1 Like

Thanks. So trying this:

source /etc/hestiacp/hestia.conf
source $HESTIA/func/main.sh

for user in $($BIN/v-list-users plain | cut -f1 ); do
    echo "Doing user: $user"
    $BIN/v-update-user-backup-exclusions $user /tmp/backup_exclusions

but I get an error with v-update-user-backup-exclusions … am I doing something wrong?

v-update-user-backup-exclusions admin /installer/no-backup.txt
/usr/local/hestia/func/main.sh: line 1363: declare: `WEB:*=’: not a valid identifier

UPDATE - figured it our. Needs to be:


(the ’ are important)


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.