Full backup after moving files to new partition?

Yesterday, I moved all files to a new partition with different file system. I also renamed major directories. The 2TB of data, however, are at least 99% identical.

Changes:

  • Previously:

    • Mount point: /my_big_ssd

    • File system: EXT4

    • Backup command line (called from a systemd service):

      restic --password-file %h/.config/restic_password -o rclone.program='ssh storagebox-sub1 forced-command' --verbose --exclude /my_big_ssd/lost+found -r rclone: backup --exclude=/my_big_ssd/lost+found /my_big_ssd/
      
  • Now:

    • Mount point: /bigstore

    • File system: NILFS2 on top of LUKS on top of RAID1

    • Updated backup command line:

      restic --password-file %h/.config/restic_password -o rclone.program='ssh storagebox-sub1 forced-command' --verbose -r rclone: backup /bigstore/
      

When I run the updated backup, then I get a message “no parent snapshot found, will read all files”:

$ restic --password-file ~/.config/restic_password -o rclone.program='ssh storagebox-sub1 forced-command' --verbose -r rclone: backup /bigstore/

open repository
rclone: 2024/09/05 11:24:40 NOTICE: Config file "/home/.config/rclone/rclone.conf" not found - using defaults
repository 7a083edc opened (version 2, compression level auto)
found 3 old cache directories in /home/felix/.cache/restic, run `restic cache --cleanup` to remove them
no parent snapshot found, will read all files
load index files
[0:01] 100.00%  537 / 537 index files loaded
start scan on [/bigstore/]
start backup on [/bigstore/]
scan finished in 2.523s: 293642 files, 1.960 TiB
[…]

Does that mean restic is doing a full backup? Can this be avoided?

Only full scan which takes some time. No data already in repo will be copied again.

Thanks! I will try that and compare repo size before and after.

I assume restic says no parent snapshot found because the partition and file system changed, and with them all inodes.

Update:

  • Before:

    • Total Blob Count: 2337229

    • Total Uncompressed Size: 2.408 TiB

  • After:

    • Total Blob Count: 2366273

    • Total Uncompressed Size: 2.415 TiB

All good!