Automatically disabled backups that exceed predetermined limits

cwalke32477

Well-Known Member
Mar 2, 2010
94
1
56
Atlanta, Georgia
cPanel Access Level
Root Administrator
I would like to know if there is a way I can set cpbackup to skip accounts that exceed a
size limit and/or inode limit.
Any suggestions?

edit-- I meant to put in automatically skip accounts, not the account selection tool
 

ModServ

Well-Known Member
Oct 17, 2006
337
5
168
Egypt
cPanel Access Level
Root Administrator
Steps will be an array holding all usernames, then check for its' spaces, after that doing an if condition that tells if the size greater then or equal a fixed size then

PHP:
touch /etc/cpbackup-userskip.conf
echo $USERNAME >> /etc/cpbackup-userskip.conf
Hope that helps you in some way.

Thanks!
 

yakatz9

Well-Known Member
Mar 16, 2010
73
9
58
cPanel Access Level
DataCenter Provider
doable, but not sure how

A host that I use does what you are looking for (if I understood correctly) but I do not have the details:

Your account size (50762.41MB) exceeds our 3GB limit for using this feature. Please use an alternate method, such as FTP, for backing up your website