[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Backup and bdb-logfile removal
Aaron Richton writes:
> On Fri, 11 Apr 2008, Peter Mogensen wrote:
>> Are you saying that to be safe you have to keep the log.000000001
>> _for ever_ ?
>
> If you want to guarantee that db_recover -c will function, then this is
> pretty close to how it works out in practice. See
>
> http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/C/logfileremoval.html
I'm not sure how to reconcile that one with the advice in
Database and log file archival
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/archival.html
It says you only need archive the last logfile.
You need to stop slapd first though. Or sync to another slapd, then
stop and backup that slapd's database.
--
Hallvard