Windows Client saying all files modified at the same time update fixes but still wants to backup everything

13 views
Skip to first unread message

Brock Palen

unread,
Jan 31, 2025, 12:57:50 PM1/31/25
to bareos-users
Thjis is a new one, and only one windows client is doing this. The others are not.
Now I am not a Windows person, and I don’t have access to the client (it’s my sisters).

This morning I found the backups failed the window and found that it’s trying to re-backup everything, it’s not forcing a full, but all the files and folders when I do

estimate job=<jobname> listing

Have the exact same time (within 5 seconds)

2025-01-30 02:33:32

Windows explorer shows the expected dates in the above example file 12/7/2014 14:23

I was first worried she had an encryption ransomeware but everything remains accessible.


So to be sure it wasn’t some weird bug we updated teh client from 23 to the current community 24 and things appear when I do listing to show the correct dates, but it still wants to backup almost everything, so now it’s even more of a headscratcher. The dates are still newer than what is shown in explorer but I don’t know if they are showing the same metadata or not.

BTW is there anyway to get
list files jobid=<jobid>

To print similar to estimate … listing? So I can see what dates sizes, etc are in the catalog to see what it things is different?

Full exmaple file
23 client with all the same value
-rwxrwxrwx 1 0 0 145224 2025-01-30 02:33:32 C:/Users/rschr/Documents/Roof issues/P1060898.JPG

24 client and a reboot
-rwxrwxrwx 1 0 0 145224 2023-12-26 14:45:50 C:/Users/rschr/Documents/Roof issues/P1060898.JPG

Date shown in explorer 12/7/2014 14:23

Thanks

Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



Sebastian Sura

unread,
Feb 3, 2025, 1:42:01 AM2/3/25
to bareos...@googlegroups.com

Hi Brock,

where are you getting the date from ? The `Date` column in the file explorer does not necessarily use any timestamps from the file itself.   You can view the file timestamps either in the right-click menu or via

Get-ChildItem <<File or Folder>> -Force | Select-Object FullName, CreationTime, LastAccessTime, LastWriteTime, Mode, Length

in powershell.  You can use custom queries to get a better understanding of what exactly changed.  Simply enter query mode in bconsole via `sqlquery` and use e.g.

select p.path || f.name AS path, to_timestamp(l.st_atime), to_timestamp(l.st_mtime), to_timestamp(l.st_ctime) from file f join path p using (pathid), decode_lstat(f.lstat) l where jobid=1;

You can exit query mode by entering a single `.`.  If you are not using accurate, bareos should just compare max(ctime, mtime) against the since time of the incremental/differential job and backup the file if its greater.

On another note: Why did the backups fail ?

Kind Regards,
Sebastian Sura

Am 31.01.25 um 18:57 schrieb Brock Palen:
-- 
 Sebastian Sura                  sebasti...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-0
 https://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
Reply all
Reply to author
Forward
0 new messages