rattail-manual/docs/backup/overview.rst
2021-10-31 21:18:04 -05:00

19 lines
628 B
ReStructuredText

Overview
========
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