BRTFS snapshots and Syncthing


I’m using Syncthing with Btrfs and all is right.

So, I have a question about the btrfs snapshots. I think that Syncthing identifies the changed files with their modification time. But, If I restore a snapshot (# mv /btrfs/snapshotname /btrfs/subvolumename) the modification time will not be modified by the brtfs file-system so Syncthing will not consider the change. Right ?

Right. Syncthing should only care for any files the snapshot still had, hadn’t had yet, or that were changed in the meantime.

Unless recovery of snapshots changes their mtime, as deduplication did on earlier kernels…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.