Skip to content

Debian (Bare metal) writing to secondary Windows machine (WSL2) - No issues, but not removing old backups if out of space #276

Description

@Lonnroth

Setup is as follows:
Windows Machine (Day to day device)
The Windows machine has WSL2 which acts as an administrative tool for me to quickly access my Dockerserver (and other servers) using 'Terminal' tool.

Debian Machine (Dockerserver with 10x12tb Exos disks)
The Debian machine is where my critical data lives, I run 5 different rsync scripts back to back, to try backup my critical folders to the WSL machine. The scripts work and all my data is correctly backed up.

However!
As title says, when the space on the WSL2 machine fills up, it does not remove old backups.
Is this a limitation of the script/rsync?
From the information I have gathered and found out, it's most likely due to the hardlinks not showing the proper space.
i.e. WSL2 sees the hardlink as two individual full size files.

Again, I am humbly asking for assistance or a clarification.
Today I am just manually removing old backups whenever I am at the Windows machine.
Is there a solution to this?

*During the holidays I will deploy an off-site Linux backup server, which will run Ubuntu server. I am going to test if the same issue appears, but seeing that both are proper Linux machines, I doubt that there will be any issues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions