Welcome to mirror list, hosted at ThFree Co, Russian Federation.

localdatabase.html « templates « ngax « webroot « Server « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65f827bfff11284e28b9a97ef122004605085705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div ng-controller="LocalDatabaseController" class="localdb" >
    <h1>Local database for <b>{{Backup.Backup.Name || '...loading...'}}</b></h1>

    <div>
        Each backup has a local database associated with it, which stores information about the remote backup on the local machine.
        This makes it faster to perform many operations, and reduces the amount of data that needs to be downloaded for each operation.
    </div>

    <h2>Maintenance</h2>
    <div>
        If the backup and the remote storage is out of sync, Duplicati will require that you perform a repair operation to synchronize the database.
        If the repair is unsuccesful, you can delete the local database and re-generate.
    </div>
    <div>&nbsp;</div>

    <ul class="tabs">
        <li class="active" ng-class="{disabled: Backup == null || Backup.Backup == null}"><a href ng-click="doRepair()">Repair</a></li>
        <li class="active" ng-class="{disabled: NoLocalDB}"><a href ng-click="!NoLocalDB &amp;&amp; doDelete()">Delete</a></li>
        <li class="active" ng-class="{disabled: NoLocalDB}"><a href ng-click="!NoLocalDB &amp;&amp; doDeleteAndRepair()">Recreate (delete and repair)</a></li>
    </ul>

    <h2>Location</h2>
    <form class="styled">
        <div class="input text">
            <label for="dbpath">Local database path:</label>
            <input type="text" id="dbpath" ng-model="DBPath" />
        </div>

        <ul class="tabs">
            <li class="active" ng-class="{disabled: Backup.Backup.DBPath == DBPath}"><a href ng-click="DBPath = Backup.Backup.DBPath">Reset</a></li>
            <li class="active" ng-class="{disabled: Backup.Backup.DBPath == DBPath}"><a href ng-click="Backup.Backup.DBPath != DBPath &amp;&amp; doSave()">Save</a></li>
            <li class="active" ng-class="{disabled: Backup.Backup.DBPath == DBPath}"><a href ng-click="Backup.Backup.DBPath != DBPath &amp;&amp; doSaveAndRepair()">Save and repair</a></li>
            <li class="active" ng-class="{disabled: Backup.Backup.DBPath == DBPath || NoLocalDB}"><a href ng-click="Backup.Backup.DBPath != DBPath &amp;&amp; !NoLocalDB &amp;&amp; doMove()">Move existing database</a></li>
        </ul>

    </form>


</div>