Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

backup flag does not produce a toml file #106

Open
okrus opened this issue Aug 26, 2020 · 0 comments
Open

backup flag does not produce a toml file #106

okrus opened this issue Aug 26, 2020 · 0 comments

Comments

@okrus
Copy link

okrus commented Aug 26, 2020

Issue Name

backup flag does not produce a toml file

Overview

  1. OS name and version.

mac OS catalina 10.15.6 (19G2021)

  1. go version output

go version go1.13.7 darwin/amd64

  1. waflyctl --version in recent releases or brew info waflyctl output.

dev

  1. Description of the problem. What is happening that shouldn't?

when using waflyctl --backup flag the output file is not in toml format so if you need to use this file to restore your waf to a previous state, before you need to parse the file so it has the right format

  1. Description of the expected behaviour.

it would be super helpful to produce a backup file that could be consumed without any parsing or tweaking

  1. Exact steps to reproduce the error.

you can run the following command to generate a backup file of your waf
waflyctl --apikey $token --serviceid $s_id --backup --backup-path=/path/waf_config.bak

Additional Information:

See your reference a sample of a TOML config file here:
https://github.com/fastly/waflyctl/blob/master/config_examples/waflyctl.toml.example

@okrus okrus changed the title backup flag does not produce a tmol file backup flag does not produce a toml file Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant