Backups arent pruned #692
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#692
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hey
i am making the backup using borgbase.
so i use borg create command to create backup every 4 hour.
Backups older than 12 hours are pruned .
so when they are pruned their data should be deleted from the repo.
but the data is still thier and it is consuming the space.
i am using hetzner storage box as it support borg
below are the following evidences
thier is only 3 backups in the firemcbackupreo . The repo info is given below
But when i check the repo size then it shows 1024 gb
Pls help i have only 1 tb and the backups are max 60gb to 70gb pls help
this is how i prune the backups
A few questions that will help me understand what's going on:
prune
, what is the full borgmatic command you're running?consistency
section of your borgmatic configuration?borgmatic --version
)borg --vesrion
)Thanks!
I see you added a screenshot of your
prune
command. Have you tried runningborgmatic compact
as well? Depending on your version of Borg, no space is actually freed up until you runcompact
.Thanks for providing those details. I think the problem is almost certainly that you need to run
borg compact
! That's the thing that will actually free up space after aprune
.Also note that this issue tracker is for borgmatic support, not for Borg itself. For that, check out: https://github.com/borgbackup/borg/issues/
(Just FYI, borgmatic works fine using Hetzner as a Borg server. borgmatic does not need to be installed on the remote server side to work.)
so i can use borgmatic in hetzner storage box right?
so i can use borgmatic in hetzner storage box right?
You can use borgmatic on a non-Hetzner server or workstation to backup to a Hetzner storage box.
will it fix the storage box increased size issue
The only thing that will fix the size issue is running
compact
, either explicitly with Borg or borgmatic or implicitly with borgmatic. (By default, when no action is specified, borgmatic runscreate
,prune
,compact
, andcheck
.)so if i run borg compact the backups in borg will not suffer data loss right?
Correct. It's only reclaiming space that was already freed up by
prune
. More here: https://borgbackup.readthedocs.io/en/stable/usage/compact.html