diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-09 18:41:03 -0500 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-09 18:41:03 -0500 |
commit | 9f4f6f72dbf16664d023c45a9e144081d0283fa0 (patch) | |
tree | 7401b89463aeec4b1e9a6634075186b695fa9372 /roles/archive_client/README.md | |
parent | 82b0b6c5f1ea3af99444bb6d5d686790341d5f71 (diff) | |
download | selfhosted-9f4f6f72dbf16664d023c45a9e144081d0283fa0.tar.gz selfhosted-9f4f6f72dbf16664d023c45a9e144081d0283fa0.zip |
add archiver documentation
Diffstat (limited to 'roles/archive_client/README.md')
-rw-r--r-- | roles/archive_client/README.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/roles/archive_client/README.md b/roles/archive_client/README.md new file mode 100644 index 0000000..2234fb5 --- /dev/null +++ b/roles/archive_client/README.md @@ -0,0 +1,33 @@ +Archive Client +============== + +Description +----------- + +The _archiver_ is my method of performing periodic backups of application data. +The general idea is that applications can write data to a dedicated directory in +`/var/spool/archive`, and the [archive\_server](../archive_server) will rsync any +of these files to a central location each night. + +The `archive_client` role prepares a host to perform [archive jobs](../archive_job). +It adds the host to the `archive_clients` hostgroup and prepares the archive spool +directory. + + +Variables +--------- + +This role **accepts** the following variables: + +Variable | Default | Description +----------------------------------|------------|------------ +`archive_server_user` | s-archiver | Username of the archiver user +`archive_cleanup_on_calendar` | daily | Systemd [calendar interval](https://www.freedesktop.org/software/systemd/man/systemd.time.html#Calendar%20Events) for deleting old archive files +`archive_cleanup_older_than_days` | 7 | Max age of files to keep in the archive spool (days) + + +Usage +----- + +You should not need to call this role directory. It is a dependency of the +[archive\_job](../archive_job) role. |