1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00
borg/docs/usage
Daniel Reichelt e1f6a34820 provide wrapper for borg mount, fixes #743
- add archiver.main_mount()

- provide borgfs behaviour when the monolithic binary is called via a
  symlink called borgfs

- docs: update usage of mount subcommand, provide examples for borgfs and
  add symlink creation to standalone binary installation

- run build_usage

- add entry point in setup.py

- patch helpers.py:get_keys_dir() to allow mounting fstab entries with
  "user" option set

  Without this, setuid() called at some point by mount changes the HOME
  environment variable to '/root' and os.expanduser('~') would return
  '/root' as well, thus the mount would fail with
 	 PermissionError: [Errno 13] Permission denied: '/root/.config'
  After setuid(), the HOME variable stays intact, so we still can
  explicitly query USER's home.

  Also, os.path.expanduser() behaves differently for '~' and '~someuser'
  as parameters: when called with an explicit username, the possibly set
  environment variable HOME is no longer respected. So we have to check if
  it is set and only expand the user's home directory if HOME is unset.

- add myself to AUTHORS
2016-03-17 01:40:17 +01:00
..
break-lock.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
change-passphrase.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
check.rst.inc run build_usage 2016-02-07 14:50:39 +01:00
create.rst.inc run build_usage 2016-02-07 14:50:39 +01:00
debug-delete-obj.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
debug-dump-archive-items.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
debug-get-obj.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
debug-put-obj.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
delete.rst.inc ran setup.py build_usage 2016-01-23 20:54:20 +01:00
extract.rst.inc run build_usage 2016-02-07 14:50:39 +01:00
help.rst.inc ran setup.py build_usage 2016-01-23 20:54:20 +01:00
info.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
init.rst.inc run build_usage 2016-02-07 14:50:39 +01:00
list.rst.inc ran build_api and build_usage 2016-02-27 20:55:14 +01:00
migrate-to-repokey.rst.inc ran setup.py build_usage 2016-01-23 20:54:20 +01:00
mount.rst.inc provide wrapper for borg mount, fixes #743 2016-03-17 01:40:17 +01:00
prune.rst.inc ran build_api and build_usage 2016-02-27 20:55:14 +01:00
rename.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
serve.rst.inc ran build_usage 2015-12-08 10:21:20 +01:00
upgrade.rst.inc borg upgrade: add to docs that only LOCAL repos are supported 2016-02-07 21:08:20 +01:00