-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btrbk prune doesn't work if two targets are configure #561
Comments
|
Can you have a look into this? Are two targets not supported? It looks like it prunes only the subolumes in the second target specified. My USB disk always gets full. This is very annoying... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btrbk prune doesn't work as intended if two targets are configured and the preserve settings are changed after adding the second target.
I configured an additional volume (data) and I forgot to add preserve settings:
I backup all my snapshots on a local USB disk.
I had this config for over a year and many many snapshots were stored on the target without getting deleted. I guess because the default config is
target_preserve_min all
.Some days ago I added a remote target because I want to switch to remote backup, but I want to see first if the backup via WAN is reliable:
Today I got an issue with the btrfs filesystem on my USB disk. I couldn't receive subvolumes anymore because the filesystem is full. I found out that I had hundreds of subvolumes.
Then I added the preserve options to my config:
However, the subvolumes don't get deleted:
I could fix the issue by removing the remote target temporarily, but It should automatically prune the subvolumes of the first target without removing the second target.
The text was updated successfully, but these errors were encountered: