Skip to content

Backup not incremental. Permission problems? How to debug? #557

@simgunz

Description

@simgunz

HI,
I've setup an SSH profile to backup over a Synology NAS. The configuration worked fine three times, creating incremental backups (I've verified the inode information), while now the backup is not incremental any more for some reason (BUT tries to copy everything instead of creating hard links)

My questions are:

  1. how backintime determines if a file needs to be hardlinked or backed up? Based on date modified, permission changed, what else?
  2. How can I debug this behavior? How can I compare the two files and see what has changed? or by seeing what BIT thinks has changed?

Extra info:

  • The file I use as test case has never been modified.

  • I've try to run diff between this file in a previous backup and the same file in new_snapshot but diff doesn't return anything, so I guess they are equal.

  • The permission between these two files differs tough. The file in the backup folder has attributes 777 (set by BIT?) the other file in new_snapshot 755.

  • The fileinfo file in the previous backup folder contains only the two following lines

    16877 root root /media
    16877 root root /media/dataHD

where dataHD is the backup target directory.
Should it contain the file permissions for all the files in the backup directory tree?

  • I'm NOT using full rsync mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions