1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00
borg/docs/usage.rst

63 lines
1.5 KiB
ReStructuredText
Raw Normal View History

2013-07-31 18:51:01 +00:00
.. include:: global.rst.inc
.. highlight:: none
2013-07-31 18:51:01 +00:00
.. _detailed_usage:
2013-08-04 19:23:12 +00:00
Usage
=====
2013-07-31 18:51:01 +00:00
2017-06-06 22:06:36 +00:00
.. 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;
}
2017-06-06 22:06:36 +00:00
}
// 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/init
usage/create
usage/extract
usage/check
usage/rename
usage/list
usage/diff
usage/delete
usage/prune
2018-07-12 20:00:19 +00:00
usage/compact
2017-06-06 22:06:36 +00:00
usage/info
usage/mount
usage/key
usage/upgrade
usage/recreate
usage/tar
usage/serve
usage/config
2017-06-06 22:06:36 +00:00
usage/lock
usage/benchmark
2017-06-06 22:06:36 +00:00
usage/help
usage/debug
usage/notes