-
My clickhouse db is set to my local timezone, but the backups are being saved to catalog with UTC. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Do you mean you have |
Beta Was this translation helpful? Give feedback.
-
No. I have clickhouse timezone set to Los_Angeles, my servers set to Los_Angeles. When clickhouse-backup creates the backup, the directory name, the timestamp on the directory name is UTC time. The directory name looks like this: 2022-07-13T14-35-00, which is UTC time, not Los_Angeles. |
Beta Was this translation helpful? Give feedback.
-
it's expected behavior check |
Beta Was this translation helpful? Give feedback.
it's expected behavior
you can use something like
clickhouse-backup create $(date +%Y-%m-%dT%H:%M:%S)
if you want to custom name formatcheck
clickhouse-backup help create
for detauls