Additive backup and restore? - Mailing list pgsql-general

From Age Apache
Subject Additive backup and restore?
Date
Msg-id CAD80oWbOgVG=EVYukKifnBbhuE8oZ6tL3iAiHUynzJ18n_+f2w@mail.gmail.com
Whole thread Raw
Responses Re: Additive backup and restore?  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Re: Additive backup and restore?  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
I am designing a database for a web application. In the near future I will require past data for Audit, Security and Analysis purpose. But storing all that data will increase the database size. What are some well known approaches to archiving data for later use without increasing the database size?

One approach I am thinking of is compressed additive backup and restore i.e. copy the rows of the tables that will be required later and store them in a compressed form, and then delete those rows from the table. And when the data is required then restore them from the backup files in an additive way.

Is there an easy way to achieve this, say via pg_dump?

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: "PANIC: could not open critical system index 2662" - twice
Next
From: Andreas Kretschmer
Date:
Subject: Re: Additive backup and restore?