Hi, I'm looking for a way to backup the most valu...
# fleet
t
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.
b
Is taking a database backup an option?
t
I've a database backup. However, it is hard to extract the policies in a restorable format easy to restore, e.g. to a different fleet instance.
d