Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,54 @@
<!--
Thank you for reporting an issue.

*IMPORTANT* - *before* creating a new issue please look around:
- Borgbackup documentation: http://borgbackup.readthedocs.io/en/stable/index.html
*IMPORTANT* – Before creating a new issue, please look around:
- BorgBackup documentation: https://borgbackup.readthedocs.io/en/stable/index.html
- FAQ: https://borgbackup.readthedocs.io/en/stable/faq.html
and
- open issues in GitHub tracker: https://github.com/borgbackup/borg/issues

- Open issues in the GitHub tracker: https://github.com/borgbackup/borg/issues

If you cannot find a similar problem, then create a new issue.

Please fill in as much of the template as possible.
-->

## Have you checked borgbackup docs, FAQ, and open GitHub issues?
## Have you checked the BorgBackup docs, FAQ, and open GitHub issues?

No

## Is this a BUG / ISSUE report or a QUESTION?
## Is this a bug/issue report or a question?

Invalid
Bug/Issue/Question

## System information. For client/server mode post info for both machines.
## System information. For client/server mode, post info for both machines.

#### Your borg version (borg -V).
#### Your Borg version (borg -V).

#### Operating system (distribution) and version.

#### Hardware / network configuration, and filesystems used.
#### Hardware/network configuration and filesystems used.

#### How much data is handled by borg?
#### How much data is handled by Borg?

#### Full borg commandline that lead to the problem (leave away excludes and passwords)
#### Full Borg command line that led to the problem (leave out excludes and passwords).


## Describe the problem you're observing.

#### Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

#### Include any warning/errors/backtraces from the system logs
#### Include any warnings/errors/backtraces from the system logs

<!--

If this complaint relates to borg performance, please include CRUD benchmark
If this complaint relates to Borg performance, please include CRUD benchmark
results and any steps you took to troubleshoot.
How to run benchmark: http://borgbackup.readthedocs.io/en/stable/usage/benchmark.html
How to run the benchmark: https://borgbackup.readthedocs.io/en/stable/usage/benchmark.html

*IMPORTANT* - Please mark logs and text output from terminal commands
or else GitHub will not display them correctly.
*IMPORTANT* – Please mark logs and terminal command output, otherwise GitHub will not display them correctly.
An example is provided below.

Example:
```
this is an example how log text should be marked (wrap it with ```)
this is an example of how log text should be marked (wrap it with ```)
```
-->
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Thank you for contributing code to Borg, your help is appreciated!
Thank you for contributing code to Borg; your help is appreciated!

Please, before you submit a pull request, make sure it complies with the
guidelines given in our documentation:
Before you submit a pull request, please make sure it complies with the
guidelines in our documentation:

https://borgbackup.readthedocs.io/en/latest/development.html#contributions

**Please remove all above text before submitting your pull request.**
**Please remove the text above before submitting your pull request.**
2 changes: 1 addition & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
# See also what we use locally in requirements.d/codestyle.txt — this should be the same version here.

name: Lint

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
# Just fetching one commit is not enough for setuptools-scm, so we fetch all.
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
include:
- os: macos-14
python-version: '3.11'
toxenv: py311-none # note: no fuse testing, due to #6099, see also #6196.
toxenv: py311-none # Note: no FUSE testing due to #6099; see also #6196.

env:
# Configure pkg-config to use OpenSSL from Homebrew
Expand All @@ -219,7 +219,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
# Just fetching one commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -243,21 +243,21 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.d/development.txt
- name: Install borgbackup
- name: Install BorgBackup
env:
# we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again.
# We already have this in the global environment, but something overrides it.
# So set it here again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/[email protected]/lib/pkgconfig:$PKG_CONFIG_PATH"
run: |
pip install -ve .
- name: run tox env
- name: Run pytest via tox
env:
# we already have that in the global env, but something is broken and overwrites that.
# so, set it here, again.
# We already have this in the global environment, but something overrides it.
# So set it here again.
PKG_CONFIG_PATH: "/opt/homebrew/opt/[email protected]/lib/pkgconfig:$PKG_CONFIG_PATH"
XDISTN: "6"
run: |
# do not use fakeroot, but run as root. avoids the dreaded EISDIR sporadic failures. see #2482.
# Do not use fakeroot; run as root. Avoids the dreaded sporadic EISDIR failures; see #2482.
#sudo -E bash -c "tox -e py"
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
Expand All @@ -271,7 +271,7 @@ jobs:

windows:

if: false # can be used to temporary disable build
if: false # can be used to temporarily disable the build
runs-on: windows-latest
timeout-minutes: 120
needs: linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
# Just fetching one commit is not enough for setuptools-scm, so we fetch all.
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
E-mail addresses listed here are not intended for support, please see
the `support section`_ instead.
Email addresses listed here are not intended for support.
Please see the `support section`_ instead.

.. _support section: https://borgbackup.readthedocs.io/en/stable/support.html

Expand Down
4 changes: 2 additions & 2 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ brew 'xxhash'
brew '[email protected]'

# osxfuse (aka macFUSE) is only required for "borg mount",
# but won't work on github actions' workers.
# it requires installing a kernel extension, so some users
# but won't work on GitHub Actions' workers.
# It requires installing a kernel extension, so some users
# may want it and some won't.

#cask 'osxfuse'
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stuff we need to include into the sdist is handled automatically by
# The files we need to include in the sdist are handled automatically by
# setuptools_scm - it includes all git-committed files.
# but we want to exclude some committed files/dirs not needed in the sdist:
# But we want to exclude some committed files/directories not needed in the sdist:
exclude .editorconfig .gitattributes .gitignore .mailmap Vagrantfile
prune .github
include src/borg/platform/darwin.c src/borg/platform/freebsd.c src/borg/platform/linux.c src/borg/platform/posix.c
Expand Down
50 changes: 25 additions & 25 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is borg2!

Please note that this is the README for borg2 / master branch.

For the stable version's docs, please see there:
For the stable version's docs, please see here:

https://borgbackup.readthedocs.io/en/stable/

Expand All @@ -14,7 +14,7 @@ next-beta upgrade code, so you will have to delete and re-create repos).
Thus, **DO NOT USE BORG2 FOR YOUR PRODUCTION BACKUPS!** Please help with
testing it, but set it up *additionally* to your production backups.

TODO: the screencasts need a remake using borg2, see there:
TODO: the screencasts need a remake using borg2, see here:

https://github.com/borgbackup/borg/issues/6303

Expand All @@ -35,7 +35,7 @@ See the `installation manual`_ or, if you have already
downloaded Borg, ``docs/installation.rst`` to get started with Borg.
There is also an `offline documentation`_ available, in multiple formats.

.. _installation manual: https://borgbackup.readthedocs.org/en/stable/installation.html
.. _installation manual: https://borgbackup.readthedocs.io/en/master/installation.html
.. _offline documentation: https://readthedocs.org/projects/borgbackup/downloads

Main features
Expand Down Expand Up @@ -78,7 +78,7 @@ Main features
authenticity.

**Obfuscation**
Optionally, borg can actively obfuscate e.g. the size of files / chunks to
Optionally, Borg can actively obfuscate, e.g., the size of files/chunks to
make fingerprinting attacks more difficult.

**Compression**
Expand All @@ -91,13 +91,13 @@ Main features
* lzma (low speed, high compression)

**Off-site backups**
Borg can store data on any remote host accessible over SSH. If Borg is
installed on the remote host, big performance gains can be achieved
compared to using a network filesystem (sshfs, nfs, ...).
Borg can store data on any remote host accessible over SSH. If Borg is
installed on the remote host, significant performance gains can be achieved
compared to using a network file system (sshfs, NFS, ...).

**Backups mountable as filesystems**
Backup archives are mountable as userspace filesystems for easy interactive
backup examination and restores (e.g. by using a regular file manager).
**Backups mountable as file systems**
Backup archives are mountable as user-space file systems for easy interactive
backup examination and restores (e.g., by using a regular file manager).

**Easy installation on multiple platforms**
We offer single-file binaries that do not require installing anything -
Expand All @@ -108,7 +108,7 @@ Main features
* FreeBSD
* OpenBSD and NetBSD (no xattrs/ACLs support or binaries yet)
* Cygwin (experimental, no binaries yet)
* Linux Subsystem of Windows 10 (experimental)
* Windows Subsystem for Linux (WSL) on Windows 10/11 (experimental)

**Free and Open Source Software**
* security and functionality can be audited independently
Expand All @@ -130,7 +130,7 @@ Create a new backup archive::

$ borg create Monday1 ~/Documents

Now doing another backup, just to show off the great deduplication::
Now do another backup, just to show off the great deduplication::

$ borg create -v --stats Monday2 ~/Documents
Repository: /path/to/repo
Expand All @@ -144,31 +144,31 @@ Now doing another backup, just to show off the great deduplication::
Deduplicated size: 520 B


Helping, Donations and Bounties, becoming a Patron
Helping, donations and bounties, becoming a Patron
--------------------------------------------------

Your help is always welcome!

Spread the word, give feedback, help with documentation, testing or development.

You can also give monetary support to the project, see there for details:
You can also give monetary support to the project, see here for details:

https://www.borgbackup.org/support/fund.html

Links
-----

* `Main Web Site <https://borgbackup.readthedocs.org/>`_
* `Main website <https://borgbackup.readthedocs.io/>`_
* `Releases <https://github.com/borgbackup/borg/releases>`_,
`PyPI packages <https://pypi.python.org/pypi/borgbackup>`_ and
`ChangeLog <https://github.com/borgbackup/borg/blob/master/docs/changes.rst>`_
* `Offline Documentation <https://readthedocs.org/projects/borgbackup/downloads>`_
`Changelog <https://github.com/borgbackup/borg/blob/master/docs/changes.rst>`_
* `Offline documentation <https://readthedocs.org/projects/borgbackup/downloads>`_
* `GitHub <https://github.com/borgbackup/borg>`_ and
`Issue Tracker <https://github.com/borgbackup/borg/issues>`_.
* `Web-Chat (IRC) <https://web.libera.chat/#borgbackup>`_ and
`Mailing List <https://mail.python.org/mailman/listinfo/borgbackup>`_
* `License <https://borgbackup.readthedocs.org/en/stable/authors.html#license>`_
* `Security contact <https://borgbackup.readthedocs.io/en/latest/support.html#security-contact>`_
`Issue tracker <https://github.com/borgbackup/borg/issues>`_.
* `Web chat (IRC) <https://web.libera.chat/#borgbackup>`_ and
`Mailing list <https://mail.python.org/mailman/listinfo/borgbackup>`_
* `License <https://borgbackup.readthedocs.io/en/master/authors.html#license>`_
* `Security contact <https://borgbackup.readthedocs.io/en/master/support.html#security-contact>`_

Compatibility notes
-------------------
Expand All @@ -178,7 +178,7 @@ CHANGES (like when going from 0.x.y to 1.0.0 or from 1.x.y to 2.0.0).

NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.

THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
THIS IS SOFTWARE IN DEVELOPMENT, DECIDE FOR YOURSELF WHETHER IT FITS YOUR NEEDS.

Security issues should be reported to the `Security contact`_ (or
see ``docs/support.rst`` in the source distribution).
Expand All @@ -187,9 +187,9 @@ see ``docs/support.rst`` in the source distribution).

|doc| |build| |coverage| |bestpractices|

.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=stable
.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=master
:alt: Documentation
:target: https://borgbackup.readthedocs.org/en/stable/
:target: https://borgbackup.readthedocs.io/en/master/

.. |build| image:: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=master
:alt: Build Status (master)
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported Versions

These borg releases are currently supported with security updates.
These Borg releases are currently supported with security updates.

| Version | Supported |
|---------|--------------------|
Expand All @@ -14,6 +14,6 @@ These borg releases are currently supported with security updates.

## Reporting a Vulnerability

See there:
See here:

https://borgbackup.readthedocs.io/en/latest/support.html#security-contact
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Automated creation of testing environments / binaries on misc. platforms
# Automated creation of testing environments/binaries on miscellaneous platforms

$cpus = Integer(ENV.fetch('VMCPUS', '8')) # create VMs with that many cpus
$xdistn = Integer(ENV.fetch('XDISTN', '8')) # dispatch tests to that many pytest workers
Expand Down
6 changes: 3 additions & 3 deletions docs/3rd_party/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Here we store 3rd party documentation, licenses, etc.
Here we store third-party documentation, licenses, etc.

Please note that all files inside the "borg" package directory (except the
stuff excluded in setup.py) will be INSTALLED, so don't keep docs or licenses
Please note that all files inside the "borg" package directory (except those
excluded in setup.py) will be installed, so do not keep docs or licenses
there.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ help:
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " htmlhelp to make HTML files and an HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
Expand Down
2 changes: 1 addition & 1 deletion docs/_templates/globaltoc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="sidebar-block">
<div class="sidebar-toc">
{# Restrict the sidebar toc depth to two levels while generating command usage pages.
{# Restrict the sidebar ToC depth to two levels while generating command usage pages.
This avoids superfluous entries for each "Description" and "Examples" heading. #}
{% if pagename.startswith("usage/") and pagename not in (
"usage/general", "usage/help", "usage/debug", "usage/notes",
Expand Down
Loading
Loading