Re: Incremental backups
I could do incremental backups for, say, every day of the week, and at the
end of the week compact my DB and do a full backup. This way I could roll
back do any day during the last week.
If I could precisely roll back a DB (something like what Dirkjan said:
roll-back-n-seqs, or roll-back-t-seconds), I could skip the incremental
backup and simply replicate. That way I would only need to do a backup
On 25 November 2010 15:55, Robert Newson <robert.newson@...> wrote:
> "Maybe theoretically, I could make a roll back on any db, simply by
> off some bytes from the end?"
> Yup, you can do that. CouchDB will seek backward from the end of the
> file for the latest db header and then carry on as normal.
> The real question is why you would want to? This scheme also prevents
> you from ever compacting, as this will remove the previous revisions
> of your documents.
> On Thu, Nov 25, 2010 at 1:48 PM, afters <afters.mail@...> wrote:
> > This way I could recover from failure, but I couldn't roll back to a
> > previous point in time as I could with incremental backups.
> > Maybe theoretically, I could make a roll back on any db, simply by