Substitutions
Substitutions are placeholders which can be used in the backup definition configuration.
Substitute | Captures | Populated variable | Part of interpolated_timestamp |
---|---|---|---|
%Y | 4-digit Year | $year | Year |
%y | 2-digit Year | $year_short | Year |
%M | 2-digit Month | $month | Month |
%D | 2-digit Day | $day | Day |
%h | 2-digit Hour | $hour | Hour |
%m | 2-digit Minute | $minute | Minute |
%s | 2-digit Second | $second | Second |
%i | Decimal number without leading zeros | none | none |
%I | Sequence of decimal digits | none | none |
%x | Hexadecimal number without leading zeros | none | none |
%w | Alphanumeric characters and underscore | none | none |
%X | Sequence of hexadecimal digits | none | none |
%v | Anything a pattern variable would capture | none | none |
%A | Any sequence of characters | none | none |
%% | Percent symbol | none | none |
%# | Hash/Pound symbol | none | none |