Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete documentation on append-only remote repos #5519

Merged
merged 4 commits into from
Dec 6, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
13 changes: 7 additions & 6 deletions docs/deployment/hosting-repositories.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,17 @@ can be filled to the specified quota.
If storage quotas are used, ensure that all deployed Borg releases
support storage quotas.

**Append-only repositorues**
Refer to :ref:`internals_storage_quota` for more details on storage quotas.

**Append-only repositories**

Running ``borg init`` via a ``borg serve --append-only`` server will not create
a repository that is configured to be append-only by its repository config.
Running ``borg init`` via a ``borg serve --append-only`` server will **not**
create a repository that is configured to be append-only by its repository
config.

But, ``--append-only`` arguments in authorized_keys will override the
But, ``--append-only`` arguments in ``authorized_keys`` will override the
repository config, therefore append-only mode can be enabled on a key by key
basis.

Refer to :ref:`internals_storage_quota` for more details on storage quotas.

Refer to the `sshd(8) <http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8>`_
man page for more details on SSH options.
6 changes: 3 additions & 3 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ This is not a problem anymore.

For more details, see :ref:`checkpoints_parts`.

Do we have to run borg config "backup" append_only 0 and borg config "backup" append_only 1 on the sever to switch append only mode
How can I switch append-only mode on and off?
-----------------------------------------------------------------------------------------------------------------------------------

You could do that, but using different ssh keys and different entries in
authorized_keys is much easier and also maybe has less potential of thing going
wrong somehow.
``authorized_keys`` is much easier and also maybe has less potential of thing
going wrong somehow.


My machine goes to sleep causing `Broken pipe`
Expand Down