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:
- backs entire database.
- 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
Post a Comment