petfut

Well-Known Member
Feb 14, 2005
60
0
156
Is there anyway to switch backup off automatically for newly created accounts?
When creating an account, cPanel automatically adds account to backups, we'd like it to be off as default and add it to u sers afterwards if needed.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Add a line to /scripts/legacypostwwwacct that adds the user name to the end of /etc/cpbackup-userskip.conf


For example (untested):
Code:
#!/bin/bash

echo $ARGV[1] >> /etc/cpbackup-userskip.conf