'How to correctly set a path to default config for clickhouse backup?

I'm setting up clickhouse-backup utility locally. I go through the installation steps and now I'm stuck on the step with changing settings for '.config.yml' file.

I ran sudo ./clickhouse-backup create from the folder where I decompressed the utility and could found created backup in /var/lib/clickhouse/backup

When I execute:

sudo ./clickhouse-backup default-config

,I see the default settings. Now I want to change a config file by adding credentials for ftp, s3 and so on. What is the correct way of adding credentials to config file? I am not sure which file is being used. Why I cannot find it in "/etc/clickhouse-backup/config.yml" location?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source