can not generate a snapshot name include date
Bug #1556839 reported by
lvdongbing
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Invalid
|
Undecided
|
lvdongbing |
Bug Description
When using cron trigger to make instance backups, more than one backups created.
It's better to enable to name them like $name-$date, but it maybe not supported now.
We can add an inner function 'date' so the yaml file like following:
input:
backup_name: <% $.server.name %><% date() %>
Changed in mistral: | |
assignee: | nobody → lvdongbing (dbcocle) |
To post a comment you must log in.
There is a YAQL now() function that you can use. This is an example from one of my workflows...
<% now().format( "%Y-%m- %d_%H:% M:%S") %>