Can I delete previous backups, without affecting following backups, Since TimeShift (RSync) make increamental backups.

i’m picasso.

  • neidu2@feddit.nl
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    6 months ago

    A+ for superior graphics work.

    Yes. Intuition told me no due to the nature of rsync, but I tested it, with no ill effects.

    Either the individual backup are independent of each other (during restore, the diff is only based on this backup vs originals), or diffs are merged into dependants upon deleting a dependency.

    • Shadow@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      I don’t know this tool, but it’s probably using hard links on the filesystem. Deleting any individual instance of the file won’t delete it until they are all deleted

      • gpstarmanOP
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        So, lets say i have 5 backups.

        If I delete 3rd backup leaving others, others should be fine?

        But what If I deleted the very first one?

    • gpstarmanOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      6 months ago

      Either the individual backup are independent of each other (during restore, the diff is only based on this backup vs originals), or diffs are merged into dependants.

      Are you saying that manual backups are individual and instead of creating links from original backup, it backs up everything since its manual?

      New to Linux man, I don’t even know how Rsync works yet, I just know that it creates Increamental Backups. So can you be noob friendly in words please? cause I don’t understand this 👇

      (during restore, the diff is only based on this backup vs originals), or diffs are merged into dependants.

      during restore

      You mean During Backup?

      • neidu2@feddit.nl
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        What I mean is that I think each backup is (probably) independent of each other.

        A diff is shorthand for difference, as well as an old tool that hilights the differences between files. It was commonly used in patching once upon a time. I’m not sure if rsync implements diff directly, but what can be said for sure is that rsync at least implements s8milar behavior.