Sfoglia il codice sorgente

Merge branch 'master' into borg2

Thomas Waldmann 2 anni fa
parent
commit
ad7c7159b2

+ 1 - 1
docs/deployment/central-backup-server.rst

@@ -95,7 +95,7 @@ The client needs to initialize the `pictures` repository like this:
 
 
  borg init backup@backup01.srv.local:pictures
  borg init backup@backup01.srv.local:pictures
 
 
-Or with the full path (should actually never be used, as only for demonstrational purposes).
+Or with the full path (should actually never be used, as only for demonstration purposes).
 The server should automatically change the current working directory to the `<client fqdn>` folder.
 The server should automatically change the current working directory to the `<client fqdn>` folder.
 
 
 ::
 ::

+ 13 - 0
docs/installation.rst

@@ -355,6 +355,19 @@ activating your virtual environment::
 
 
     pip install -U borgbackup  # or ... borgbackup[llfuse/pyfuse3]
     pip install -U borgbackup  # or ... borgbackup[llfuse/pyfuse3]
 
 
+When doing manual pip installation, man pages are not automatically
+installed.  You can run these commands to install the man pages
+locally::
+
+    # get borg from github
+    git clone https://github.com/borgbackup/borg.git borg
+
+    # Install the files with proper permissions
+    install -D -m 0644 borg/docs/man/borg*.1* $HOME/.local/share/man/man1/borg.1
+
+    # Update the man page cache
+    mandb
+
 .. _git-installation:
 .. _git-installation:
 
 
 Using git
 Using git

+ 9 - 6
docs/internals/frontends.rst

@@ -50,17 +50,20 @@ archive_progress
     The following keys exist, each represents the current progress.
     The following keys exist, each represents the current progress.
 
 
     original_size
     original_size
-        Original size of data processed so far (before compression and deduplication)
+        Original size of data processed so far (before compression and deduplication, may be empty/absent)
     compressed_size
     compressed_size
-        Compressed size
+        Compressed size (may be empty/absent)
     deduplicated_size
     deduplicated_size
-        Deduplicated size
+        Deduplicated size (may be empty/absent)
     nfiles
     nfiles
-        Number of (regular) files processed so far
+        Number of (regular) files processed so far (may be empty/absent)
     path
     path
-        Current path
+        Current path (may be empty/absent)
     time
     time
         Unix timestamp (float)
         Unix timestamp (float)
+    finished
+        boolean indicating whether the operation has finished, only the last object for an *operation*
+        can have this property set to *true*.
 
 
 progress_message
 progress_message
     A message-based progress information with no concrete progress information, just a message
     A message-based progress information with no concrete progress information, just a message
@@ -450,7 +453,7 @@ Archive Differencing
 ++++++++++++++++++++
 ++++++++++++++++++++
 
 
 Each archive difference item (file contents, user/group/mode) output by :ref:`borg_diff` is represented by an *ItemDiff* object.
 Each archive difference item (file contents, user/group/mode) output by :ref:`borg_diff` is represented by an *ItemDiff* object.
-The propertiese of an *ItemDiff* object are:
+The properties of an *ItemDiff* object are:
 
 
 path:
 path:
     The filename/path of the *Item* (file, directory, symlink).
     The filename/path of the *Item* (file, directory, symlink).

+ 1 - 1
scripts/sdist-sign

@@ -17,4 +17,4 @@ python setup.py sdist
 
 
 D=dist/borgbackup-$R.tar.gz
 D=dist/borgbackup-$R.tar.gz
 
 
-$GPG --detach-sign --local-user "Thomas Waldmann" --armor --output $D.asc $D
+$GPG --detach-sign --local-user "Thomas Waldmann" --armor --output "$D.asc" "$D"

+ 2 - 2
scripts/sign-binaries

@@ -14,7 +14,7 @@ else
 fi
 fi
 
 
 for file in dist/borg-*; do
 for file in dist/borg-*; do
-    $GPG --local-user "Thomas Waldmann" --armor --detach-sign --output $file.asc $file
+    $GPG --local-user "Thomas Waldmann" --armor --detach-sign --output "$file.asc" "$file"
 done
 done
 
 
-touch -t $D dist/*
+touch -t "$D" dist/*

+ 1 - 1
scripts/upload-pypi

@@ -15,4 +15,4 @@ fi
 
 
 D=dist/borgbackup-$R.tar.gz
 D=dist/borgbackup-$R.tar.gz
 
 
-twine upload $D.asc $D
+twine upload "$D.asc" "$D"

+ 1 - 1
src/borg/archiver/help.py

@@ -177,7 +177,7 @@ class HelpMixIn:
         The first matching pattern is used, so if an include pattern matches
         The first matching pattern is used, so if an include pattern matches
         before an exclude pattern, the file is backed up. Note that a no-recurse
         before an exclude pattern, the file is backed up. Note that a no-recurse
         exclude stops examination of subdirectories so that potential includes
         exclude stops examination of subdirectories so that potential includes
-        will not match - use normal exludes for such use cases.
+        will not match - use normal excludes for such use cases.
 
 
         **Tip: You can easily test your patterns with --dry-run and  --list**::
         **Tip: You can easily test your patterns with --dry-run and  --list**::