State of repository after loss of connection while doing a backup #8251
Replies: 1 comment 2 replies
-
Try: borg creates valid, but incomplete checkpoint archives every checkpoint interval (1800s) to commit the progress while doing a longer backup. So if the connection breaks down or the backup can't complete due to other reasons, you still won't lose all progress. Just start the backup again and it will very quickly process the data up to the checkpoint (because all the chunks are already in the repo). All remaining data after that will then be processed at normal speed. Usually one doesn't delete unsuccessful (or incomplete .checkpoint) archives until after one has made a successful one. Even then manually deleting is not necessary because prune will get rid of .checkpoint archives also IF there is a more recent complete archive with the same basename. Don't forget to run |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I tried to create a backup with borg via SSH to a remote server. While creating the backup the internet connection went down and the backup was not able to finish successfully
and
Now I am wondering about the state of the backup: After the failed finish the directory of the repo took about 11G of disk space.
borg list
did/does not show any backups (empty output) (Note: this was the first backup to this repo). Since the backup did not finish successfully I assumed thatborg compact
would delete all files and the repo size would go down to some bytes (for the key and metadata).However, after
borg compact
the directory still takes about 9G of disk space.borg info
shows the same status:borg delete
shows that the repo contains one archive.So now I am wondering what the status of my repository is. Obviously the backup was unsuccessful, but why does the repo still take up 9G of space? I wanted to delete the unsuccessful backup to not have to
init
a new repo.Beta Was this translation helpful? Give feedback.
All reactions