File: usage.rst

package info (click to toggle)
borgbackup2 2.0.0b19.post2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,340 kB
  • sloc: python: 31,228; pascal: 3,510; sh: 216; makefile: 156; tcl: 94; ansic: 21
file content (72 lines) | stat: -rw-r--r-- 1,726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.. include:: global.rst.inc
.. highlight:: none
.. _detailed_usage:

Usage
=====

.. raw:: html
   Redirecting...

   <script type="text/javascript">
   // Fixes old links which were just anchors
   var hash = window.location.hash.substring(1);

   // usage.html is empty, no content. Purely serves to implement a "correct" toctree
   // due to rST/Sphinx limitations. Refer to https://github.com/sphinx-doc/sphinx/pull/3622

   // Redirect to general docs
   if(hash == "") {
       var replaced = window.location.pathname.replace("usage.html", "usage/general.html");
       if (replaced != window.location.pathname) {
           window.location.pathname = replaced;
       }
   }
   // Fixup anchored links from when usage.html contained all the commands
   else if(hash.startsWith("borg-key") || hash == "borg-change-passphrase") {
      window.location.hash = "";
      window.location.pathname = window.location.pathname.replace("usage.html", "usage/key.html");
   }
   else if(hash.startsWith("borg-")) {
      window.location.hash = "";
      window.location.pathname = window.location.pathname.replace("usage.html", "usage/") + hash.substr(5) + ".html";
   }
   </script>

.. toctree::
   usage/general

   usage/repo-create
   usage/repo-space
   usage/repo-list
   usage/repo-info
   usage/repo-compress
   usage/repo-delete
   usage/serve
   usage/version
   usage/compact
   usage/lock
   usage/key

   usage/create
   usage/extract
   usage/check
   usage/list
   usage/tag
   usage/rename
   usage/diff
   usage/delete
   usage/prune
   usage/undelete
   usage/info
   usage/analyze
   usage/mount
   usage/recreate
   usage/tar

   usage/transfer
   usage/benchmark

   usage/help
   usage/debug
   usage/notes