Add docs for rattail backup command

This commit is contained in:
Lance Edgar 2021-10-31 21:18:04 -05:00
parent 47fb1e451a
commit 25d1c1b739
10 changed files with 667 additions and 7 deletions

View file

@ -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