Dev docs / LAN edits

This commit is contained in:
kn0wmad
2022-02-01 16:13:40 -07:00
committed by Lucy Cifferello
parent 1147649c4d
commit 36b8d4b02d
16 changed files with 149 additions and 143 deletions

View File

@@ -1,14 +1,14 @@
.. _service_backups:
===============
Service Backups
===============
=======
Backups
=======
Everything within the root of the mounted volume directory will be stored in an EmbassyOS backup. This includes the config (config.yaml) and properties (stats.yaml) files, as well as any other persisted data within the volume directory.
Everything within the root of the mounted volume directory will be stored in an EmbassyOS backup. This includes the config (config.yaml) and properties (stats.yaml) files, as well as any other persisted data within the volume directory.
For restoration purposes, it might be beneficial to ignore certain files or folders. For instance, ignore the shared/public folder that is mounted for dependencies that expose this feature as it causes data inconsistencies on restore.
For restoration purposes, it might be beneficial to ignore certain files or folders. For instance, ignore the shared/public folder that is mounted for dependencies that expose this feature as it causes data inconsistencies on restore.
In this case, create a `.backupignore` file. This file contains a list of relative paths to the ignored files.
In this case, create a `.backupignore` file. This file contains a list of relative paths to the ignored files.
Example
@@ -16,7 +16,7 @@ Example
The `btcpayserver wrapper <https://github.com/Start9Labs/btcpayserver-wrapper/blob/master/configurator/src/templates/.backupignore.templates>`_ demonstrates a good use of a backupignore template.
Ultimately, ``/datadir/.backupignore`` gets populated with:
Ultimately, ``/datadir/.backupignore`` gets populated with:
.. code::
@@ -26,4 +26,4 @@ Ultimately, ``/datadir/.backupignore`` gets populated with:
.. role:: raw-html(raw)
:format: html
:raw-html:`<br />`
:raw-html:`<br />`