Man page - borg2-repo-space(1)
Packages contains this manual
- borg2-diff(1)
- borg2-break-lock(1)
- borg2-umount(1)
- borg2-mount(1)
- borg2-export-tar(1)
- borg2-key(1)
- borg2-common(1)
- borg2-prune(1)
- borg2-match-archives(1)
- borg2-placeholders(1)
- borg2-check(1)
- borg2-compact(1)
- borg2-delete(1)
- borg2-extract(1)
- borg2-benchmark-crud(1)
- borg2-key-export(1)
- borg2-analyze(1)
- borg2(1)
- borg2-list(1)
- borg2-import-tar(1)
- borg2-repo-delete(1)
- borg2-undelete(1)
- borg2-create(1)
- borg2-patterns(1)
- borgfs2(1)
- borg2-compression(1)
- borgbackup2(1)
- borg2-key-change-passphrase(1)
- borg2-recreate(1)
- borg2-version(1)
- borg2-repo-list(1)
- borg2-tag(1)
- borg2-rename(1)
- borg2-repo-create(1)
- borg2-serve(1)
- borg2-transfer(1)
- borg2-benchmark-cpu(1)
- borg2-benchmark(1)
- borg2-info(1)
- borg2-key-change-location(1)
- borg2-repo-compress(1)
- borg2-with-lock(1)
- borg2-key-import(1)
- borg2-repo-info(1)
- borg2-repo-space(1)
apt-get install borgbackup2
Manual
BORG-REPO-SPACE
NAMESYNOPSIS
DESCRIPTION
OPTIONS
options
SEE ALSO
AUTHOR
NAME
borg-repo-space - Manage reserved space in repository
SYNOPSIS
borg [common options] repo-space [options]
DESCRIPTION
This command manages reserved space in a repository.
Borg can not work in disk-full conditions (can not lock a repo and thus can not run prune/delete or compact operations to free disk space).
To avoid running into dead-end situations like that, you can put some objects into a repository that take up some disk space. If you ever run into a disk-full situation, you can free that space and then borg will be able to run normally, so you can free more disk space by using prune/delete/compact. After that, don't forget to reserve space again, in case you run into that situation again at a later time.
Examples:
# Create a new
repository:
$ borg repo-create ...
# Reserve approx. 1GB of space for emergencies:
$ borg repo-space --reserve 1G
# Check amount
of reserved space in the repository:
$ borg repo-space
# EMERGENCY!
Free all reserved space to get things back to normal:
$ borg repo-space --free
$ borg prune ...
$ borg delete ...
$ borg compact -v # only this actually frees space of
deleted archives
$ borg repo-space --reserve 1G # reserve space again for
next time
Reserved space is always rounded up to use full reservation blocks of 64MiB.
OPTIONS
See borg-common(1) for common options of Borg commands.
options
--reserve SPACE
Amount of space to reserve (e.g. 100M, 1G). Default: 0.
|
--free |
Free all reserved space. Don't forget to reserve space later again. |
SEE ALSO
borg-common(1)
AUTHOR
The Borg Collective