Skip to content
Discussion options

You must be logged in to vote

you have following options

HDFS disk as backup storage + BACKUP sql command

/etc/clickhouse-server/config.d/hdfs_backup_disk.xml

<clickhouse>
    <!-- optional params for authorization -->
    <backups_hdfs>
        <hadoop_kerberos_keytab>/tmp/keytab/clickhouse.keytab</hadoop_kerberos_keytab>
        <hadoop_kerberos_principal>clickuser@TEST.CLICKHOUSE.TECH</hadoop_kerberos_principal>
        <hadoop_security_authentication>kerberos</hadoop_security_authentication>
    </backups_hdfs>

  <storage_policy>
    <storage_configuration>
      <disks>
        <hdfs>
          <type>hdfs</type>
          <endpoint>hdfs://hdfs1:9000/clickhouse/</endpoint>
          <skip_access_check>true</skip_…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Slach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants