Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: Make a backup only if necessary Date: Tue, 04 Jun 2024 20:22:23 +0200 Organization: Erland Sommarskog Lines: 26 Message-ID: References: <20240527125929.d701039c2aec3196dc3d4731@g{oogle}mail.com> <20240528124112.80ab65ec4a358da57093539b@g{oogle}mail.com> <20240529005233.d0405d2f6f826fd0e8ae0624@gmail.moc> <20240531135309.a107b0e4fc99f9659bed7d8c@g{oogle}mail.com> <20240602144320.325085f5f455d2f954cced20@gmail.moc> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 04 Jun 2024 20:22:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3de9919d102e785172c079f34d5da139"; logging-data="576694"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RZYisWl7okq2pWovts8me" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:54xVUAgI7k3uPKR7pbfbQ2wo+mo= Xref: csiph.com comp.databases.ms-sqlserver:2256 Anton Shepelev (anton.txt@gmail.moc) writes: >> you are also relying on that there are some rows left >> around in the log after a write operation. This is >> something that could change over time. > > Do you mean that in the future write operations may begin to > clear the log? > Since the log is truncated on checkpoint, the log could look empty. Then again, if you track LSN:s you should be safe. > I believe my situation is not unique, when there are many > infrequently used databases and no requirement of a > 15-minute backup granularity, so that keeping the simple > recovery model and doing a backup /only/ when data has > changed safes a log of resources. Log of resources, hehe. :-) Then again, following the normal routines saves quite a bit of human resources.