-
Bug
-
Resolution: Done
-
Major
-
None
-
None
It's possible to take a snapshot with a custom name, e.g:
[standalone@embedded /] :take-snapshot(name="sp1") { "outcome" => "success", "result" => "/Users/chaowan/work/git/wildfly/wildfly/dist/target/wildfly-25.0.0.Beta1-SNAPSHOT/standalone/configuration/standalone_xml_history/sna pshot/sp1standalone.xml" }
It succeeded and a snapshot file sp1standalone.xml is generated, but it won't be included later in list-snapshots() result.
Because the listSnapshots operation depends on BackupSnapshotInfo which filter files in snapshotsDirectory and only take files match timestamp prefix.
I think it should pick files in snapshot directory with a more general filter.