Re: Is there a way to get a different return-code when incremental backup didn't actually find a difference?
"J. Roeleveld via Dar-support" <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <2243261.ElGaqSPkdT@iris> |
On Sunday, October 10, 2021 12:15:50 PM CEST Denis Corbin wrote: > On 10/10/2021 09:28, J. Roeleveld via Dar-support wrote: > > Hi All, > > Hi, > > > I am creating incremental backups automatically and prefer not to look at > > the process too much as I've got other things to do :) > > > > In order to avoid keeping "unnecesssary" incremental backups, is there a > > way to get DAR to report if there was actually a change since the > > reference backup? > > Today there is no such exit code, feel free to add a feature request at > https://sourceforge.net/p/dar/feature-requests/ > > For a live filesystem such condition should be very unfrequent, and > second, the storage gain not saving a differential backup that has no > file saved in it is very little: its usually a matter of a few tens or > hundreds of kilobytes depending of the number of files in the backup scope. Denis, Thank you for the quick answer. I have several filesystems where occasionally, new files will be added. Most of the time, they are quite static and nothing actually changes. I agree the filesize doesn't matter much, but the additional files to go through when restoring will be quite a lot and I'd prefer to already remove these "empty" backups before uploading them to cloud-storage (where they will incur costs for storage and retrieval) -- Joost