Am 27.08.25 um 10:18 schrieb Andreas Grabner:
> Hi,
Hi Andreas,
> i plan to switch the whole backupsystem in my company to bareos and do
> some tests. I backed up a windows Server 2016 machine where the disk
> uses dedup. There are 7TB user data on the disk but the first Full
> backup is just arround 1TB in size (without deduplication or compression
> on bareos side).
I'm glad to hear that you consider Bareos.
However, the behaviour you're seeing is pretty weird. When dedup is
enabled you should actually see more data in Bareos than there is on disk.
> Using the tool treesize on Windows shows for a sample file a size of
> 170GB but allocated 0 Bytes. Files where allocated shows 170GB get
> restored correct.
That is really weird. Which file system are you using?
I could only imagine that for some reason Bareos determined the file is
empty (i.e. looking at what is reported as "allocated") and thus doesn't
even bother backing up the file contents.
This sounds like something we should investigate right now!
Are you able to provide any insight on how to reproduce a file system
with such content (i.e. files reporting 0 allocated bytes) so we can
find out what is going wrong here?
> Is there an setting in bareos(-fd) i have missed.
I wouldn't know about anything to set here.
One thing you could try is to confgure a fileset that only contains a
single one of these files that are missing data. If with that fileset
Bareos still doesn't pick up the data, you could run the job with
tracing in the fd enabled on at least level 450 like this:
setdebug client=<your-fd> trace=1 level=450
run job=<your-test-job> level=full
wait
setdebug client=<your-fd> trace=0 level=0
And then provide the generated tracefile (preferable here on-list, but
you can also send it to me directly). Maybe this already shows why
Bareos did not pick up that data.
Thank you for the effort!
Best Regards,
Andreas
--
Andreas Rogge
andrea...@bareos.com
Bareos GmbH & Co. KG Phone:
+49 221-630693-86
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz