I've been trying out TimescaleDB and I can't understand how backups work with the following system?
timeseries hypertable -> aggregated by a MATERIALIZED VIEW continuous aggregate
Now if I have a data retention policy on the timeseries table that drops anything older than, say, a week. If I make a backup with pg_dump (as recommended by [3]), since it doesn't backup materialized views[1], which is what continuous aggregates are. Then I lose all data from the timeseries hypertable older than a week and the corresponding continuous aggregate data.
Is this the intended behaviour?
References:
[1] pg_dump utility