Allow underscore in backup name

Allow underscore in backup name, to allow backup with the name of multi-instance apps.

If there are no reason to avoid this character.
This commit is contained in:
Maniack Crudelis 2017-03-15 23:51:12 +01:00 committed by GitHub
parent 0c01dd4dca
commit 47dffca744

View file

@ -678,7 +678,7 @@ backup:
help: Name of the backup archive
extra:
pattern: &pattern_backup_archive_name
- !!str ^[\w\-\.]{1,30}(?<!\.)$
- !!str ^[\w\-\._]{1,30}(?<!\.)$
- "pattern_backup_archive_name"
-d:
full: --description