RavenDB Periodic Backups: How can I "clear the ledger" and force a full backup every so often? -


when enable ravendb's 'period backups' bundle, ravendb following:

  1. backs entire database.
  2. at every interval (or 'n' minutes), ravendb makes incremental backup (or delta backup) of changes occurred since last interval.

i'm comfortable configuration 1 caveat.

every week, i'd "clear ledger" , force ravendb backup entire database , resume making incremental backups new starting point.

how can in automated fashion?

from raven.backup utility documentation:

  • incremental - optional. when specified, backup process incremental when done folder previous backup lies. if dest empty folder, or not exist, full backup created. incremental backups work, configuration option raven/esent/circularlog has set false.

so solution problem is:

  • every week, delete dest directory.
  • this force ravendb create full backup.

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -