Skip to content

Commit

Permalink
Minor English language corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
filippocarletti committed Apr 12, 2018
1 parent 9c6360a commit db06260
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions developer-manual/en/nethserver-backup-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,26 @@ Logs:
Indexing
--------

In the *pre-backup-data* event the disk analyzer (Duc) make an indexing of filesystem, useful to create the graphical tree.
In the *pre-backup-data* event the disk analyzer (Duc) creates an index of the filesystem, needed to create the graphical tree.

The name of the actions is ``/etc/e-smith/events/actions/nethserver-restore-data-duc-index`` and it compose the JSON file to create
the navigable graphic tree.
The name of the action is ``/etc/e-smith/events/actions/nethserver-restore-data-duc-index`` and it creates the JSON file to display
the browsable graphic tree.

Customization
-------------

Add custom include/exclude inside following files:
Add custom include/exclude inside the following files:

* /etc/backup-data.d/custom.include
* /etc/backup-data.d/custom.exclude

Retention policy
~~~~~~~~~~~~~~~~

All backups can be deleted after a certain amount of time. Cleanup process takes place in post-backup-data event.
All backups can be deleted after a certain amount of time. The cleanup process takes place in post-backup-data event.
See ``CleanupOlderThan`` property.

A log of cleanup action is saved in ``/var/log/last-cleanup.log``.
A log of the cleanup action is saved in ``/var/log/last-cleanup.log``.

Duplicity
~~~~~~~~~
Expand Down Expand Up @@ -106,11 +106,11 @@ The main command is ``/sbin/e-smith/restore-data`` which starts the restore proc
* *restore-data-<program>* action: search for a backup in the configuration database and restore it
* *post-restore-data* event: used to inform programs about new available data (eg. mysql restart)

Restore grahic interface
------------------------
Restore graphic interface
-------------------------

After the selection of the paths to restore, the main command called is ``/usr/libexec/nethserver/nethserver-restore-data-help`` that
reads the list of paths to restore and creates a executable command to restore the directories. If the second option of restore was selected (Restored file without overwrite the existing files), after the restore in a temp directory, the script moves the restored directories in the correct paths.
After the selection of the paths to restore, the main command called is ``/usr/libexec/nethserver/nethserver-restore-data-helper`` that
reads the list of paths to restore and creates an executable command to restore the directories. If the *Restore files in new directory* has been selected, after the restore in a temporary directory, the script moves the restored directories in the correct path.

Logs:

Expand Down

0 comments on commit db06260

Please sign in to comment.