mirror of https://github.com/digint/btrbk
btrbk: allow '+' character for subvolume names
parent
6aa0a84127
commit
d860d9e5dd
2
btrbk
2
btrbk
|
@ -91,7 +91,7 @@ my $loglevel = 1;
|
|||
|
||||
my $ip_addr_match = qr/(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/;
|
||||
my $host_name_match = qr/(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])/;
|
||||
my $file_match = qr/[0-9a-zA-Z_@\-\.\/]+/; # note: ubuntu uses '@' in the subvolume layout: <https://help.ubuntu.com/community/btrfs>
|
||||
my $file_match = qr/[0-9a-zA-Z_@\+\-\.\/]+/; # note: ubuntu uses '@' in the subvolume layout: <https://help.ubuntu.com/community/btrfs>
|
||||
my $ssh_prefix_match = qr/ssh:\/\/($ip_addr_match|$host_name_match)/;
|
||||
my $snapshot_postfix_match = qr/\.[0-9]{8}(_[0-9]+)?/;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ ssh-url instead of a local directory. The syntax for \fI<url>\fR is:
|
|||
ssh://host.xz/path/to/volume
|
||||
.PP
|
||||
Note that btrfs is very picky on file names (mainly for security
|
||||
reasons), only the characters [0-9] [a-z] [A-Z] and "._-@" are
|
||||
reasons), only the characters [0-9] [a-z] [A-Z] and "._+-@" are
|
||||
allowed.
|
||||
.PP
|
||||
The configuration options are:
|
||||
|
|
Loading…
Reference in New Issue