Page 1 of 1

domain name with numbers | Can't add to backup exclusions

Posted: Mon Jan 18, 2016 8:47 am
by mehargags
With reference to an old thread viewtopic.php?t=9168

Today I encountered the same problem...

I have a domain (name changed) abracadabra2000.com and wanted to add this to exclusion list

Code: Select all

abracadabra2000.com:public_html/app/tmp/
[/b]
Hitting save throws error at me, if I delete "2000" from my domain name, it works.

Looks like a bug fix is needed in the script validating the "text" supplied and allow numbers that may be a part of domain name.

Added to buglist https://bugs.vestacp.com/responses/doma ... exclusions

For the time being I edited directly /usr/local/vesta/data/users/$user/backup-excludes.conf added the numbers to my domain name manually and saved the file. It shows correctly in my web interface page too.

Lets have this fixed ASAP... Thanks alot

Re: domain name with numbers | Can't add to backup exclusions

Posted: Fri Mar 18, 2016 10:37 am
by mehargags
WAs this was fixed ?? I Can't even track the Buglist. Did we loose the previous buglist DB ?

Re: domain name with numbers | Can't add to backup exclusions

Posted: Fri Mar 18, 2016 7:21 pm
by skamasle
Hi

I make a lite fix for this issue:

Just run this:

Code: Select all

cp /usr/local/vesta/bin/v-update-user-backup-exclusions /usr/local/vesta/bin/v-update-user-backup-exclusions-BACKUP_ORIGINAL
replace -v '!$#&;()\' '!#&$;()\' -- /usr/local/vesta/bin/v-update-user-backup-exclusions

Re: domain name with numbers | Can't add to backup exclusions

Posted: Fri Mar 18, 2016 7:28 pm
by skamasle
I reported bug again here included the fix to problem: https://bugs.vestacp.com/issues/182

edit***
I see is reported many times sorry for duplicate

https://bugs.vestacp.com/issues/180
https://bugs.vestacp.com/issues/13

Next time I search first :D