Skip to content

Commit

Permalink
Changed display order of new pre/post Container settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Aug 16, 2024
1 parent 6d212b8 commit a839dfc
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/pages/content/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,51 +756,51 @@ class="fa fa-info"></i> Those must return exit code 0 for success detection</sma
</blockquote>

<dl>
<dt>Post-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postBackupScript" name="postBackupScript"
value="<?= $abSettings->postBackupScript ?>"
<dt>Pre-container-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="preContainerBackupScript" name="preContainerBackupScript"
value="<?= $abSettings->preContainerBackupScript ?>"
data-pickroot="/mnt/"/></dd>
</dl>

<blockquote class='inline_help'>
<p>Runs the selected script AFTER the backup is done (before containers would start). Sent arguments: <code>post-backup</code>,
<code>destination path</code></p>
<p>Runs the selected script for each container immediately BEFORE creating the tarfile. Sent arguments: <code>pre-container</code>,
<code>container name</code></p>
</blockquote>

<dl>
<dt>Post-run script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postRunScript" name="postRunScript"
value="<?= $abSettings->postRunScript ?>"
<dt>Post-container-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postContainerBackupScript" name="postContainerBackupScript"
value="<?= $abSettings->postContainerBackupScript ?>"
data-pickroot="/mnt/"/></dd>
</dl>

<blockquote class='inline_help'>
<p>Runs the selected script AFTER everything is done. Sent arguments: <code>post-run</code>, <code>destination
path</code>, <code>true|false</code> (true on backup success, false otherwise)</p>
<p>Runs the selected script for each container immediately AFTER creating the tarfile. Sent arguments: <code>post-container</code>,
<code>container name</code></p>
</blockquote>

<dl>
<dt>Pre-container-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="preContainerBackupScript" name="preContainerBackupScript"
value="<?= $abSettings->preContainerBackupScript ?>"
<dt>Post-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postBackupScript" name="postBackupScript"
value="<?= $abSettings->postBackupScript ?>"
data-pickroot="/mnt/"/></dd>
</dl>

<blockquote class='inline_help'>
<p>Runs the selected script for each container immediately BEFORE creating the tarfile. Sent arguments: <code>pre-container</code>,
<code>container name</code></p>
<p>Runs the selected script AFTER the backup is done (before containers would start). Sent arguments: <code>post-backup</code>,
<code>destination path</code></p>
</blockquote>

<dl>
<dt>Post-container-backup script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postContainerBackupScript" name="postContainerBackupScript"
value="<?= $abSettings->postContainerBackupScript ?>"
<dt>Post-run script</dt>
<dd><input style="width: 500px;" type='text' class='ftAttach' id="postRunScript" name="postRunScript"
value="<?= $abSettings->postRunScript ?>"
data-pickroot="/mnt/"/></dd>
</dl>

<blockquote class='inline_help'>
<p>Runs the selected script for each container immediately AFTER creating the tarfile. Sent arguments: <code>post-container</code>,
<code>container name</code></p>
<p>Runs the selected script AFTER everything is done. Sent arguments: <code>post-run</code>, <code>destination
path</code>, <code>true|false</code> (true on backup success, false otherwise)</p>
</blockquote>

<div class="title"><span class="left"><i class="fa fa-plus-square title"></i>Some extra options</span></div>
Expand Down

0 comments on commit a839dfc

Please sign in to comment.