How to backup continuous queries in influxdb 1.7.7?

I use
influxd backup -portable -database mydb /var/lib/influxdb/backup_mydb

and restore with
influxd restore -portable -database mydb /var/lib/influxdb/backup_mydb

I found that RETENTION POLICIES are restored, but continuous queries is not restored, how to restore continuous queries?

1 Like