Add docs for rattail backup
command
This commit is contained in:
parent
47fb1e451a
commit
25d1c1b739
10 changed files with 667 additions and 7 deletions
|
@ -2,4 +2,17 @@
|
|||
Overview
|
||||
========
|
||||
|
||||
TODO
|
||||
The ``rattail backup`` command can do a few things, any or all of the
|
||||
following based on how you configure and/or invoke it:
|
||||
|
||||
* dump database(s) to file (supports PostgreSQL and MySQL/MariaDB)
|
||||
* run ``rsync`` for certain folders, copying to local or (via SSH) remote path
|
||||
* run ``borg create`` to make a Borg backup archive, on local or remote path
|
||||
|
||||
Recommended practice is to create a ``backup-everything`` script which
|
||||
hides the invocation details. The idea being, on "any" machine you
|
||||
should be able to just do this and everything should work:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
sudo -H backup-everything --verbose
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue