mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
parent
bc3bc1a79c
commit
605f281b37
1 changed files with 31 additions and 0 deletions
|
@ -20,6 +20,37 @@ There are different ways to install |project_name|:
|
|||
have the latest code or use revision control (each release is
|
||||
tagged).
|
||||
|
||||
.. _installation-requirements:
|
||||
|
||||
Pre-Installation Considerations
|
||||
-------------------------------
|
||||
|
||||
Repository File System
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
:ref:data-structures-and-file-formats
|
||||
- |project_name| stores data only 3 directory levels deep and uses short file and
|
||||
directory names.
|
||||
- |project_name| requires read and write permissions on the repository file system.
|
||||
- |project_name| stores backup metadata and data into so-called segment files. The
|
||||
target size of these files and also the count of these files per directory is set
|
||||
in the :ref:config-file.
|
||||
- |project_name| uses a generic and very portable mkdir-based `locking<https://en.wikipedia.org/wiki/File_locking#Lock_files`_ mechanism.
|
||||
POSIX locks, NFS locks, windows file locks, lockf(), flock() and hardlinks are
|
||||
**not** used.
|
||||
- Hardlinks are only required when performing an in-place upgrade of an Attic
|
||||
repository.
|
||||
- A journaling file system is strongly recommended. More information can be
|
||||
found in :ref:`file-systems`.
|
||||
- |project_name| requires the following file system operations:
|
||||
- create, open, read, write, seek, close, rename, delete
|
||||
- link - when upgrading an Attic repo in-place
|
||||
- listdir, stat
|
||||
- posix_fadvise - to not flood the operating system's cache
|
||||
- sync on files and directories to ensure data is written onto storage media
|
||||
|
||||
:ref:data-structures-and-file-formats contains additional information about how |project_name|
|
||||
manages data.
|
||||
|
||||
.. _distribution-package:
|
||||
|
||||
Distribution Package
|
||||
|
|
Loading…
Reference in a new issue