Hi,
I'm looking for a way to backup the most valuable parts of a fleet instance, such as queries, labels and policies. I've found that I can backup queries and labels with fleetctl get ... --yaml. To restore, I would use fleetctl apply -f FILE.
However, for policies this approach does not work: fleetctl get has no option "policies" and the list of policies I can gather via the API is a JSON document which can not be restored with fleetctl.
So, do I miss something? Is there anyone out there, who has solved this? Thanks.