mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
* cifs for cloud backups on lan * password spelling fix * fix spelling and fix rpc method * fix other methods * remove old code and rename method * add support for cifs backup targets wip cifs api simplify idiom add doc comment wip wip should work™ * add password hash to server info * fix type * fix types for cifs * minor fixes for cifs feature * fix rpc structure * fix copy, address some TODOs * add subcommand * backup path and navigation * wizard edits * rebased success page * wiz conflicts resolved * current change actually * only unsub if done * no fileter if necessary * fix copy for cifs old password * setup complete (#913) * setup complete * minor fixes * setup.complete * complete bool * setup-wizard: complete boolean Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com> Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
66 lines
2.9 KiB
HTML
66 lines
2.9 KiB
HTML
<ion-content>
|
|
<ion-grid>
|
|
<ion-row>
|
|
<ion-col>
|
|
|
|
<div style="padding-bottom: 32px;" class="ion-text-center">
|
|
<img src="assets/png/logo.png" style="max-width: 240px;" />
|
|
</div>
|
|
|
|
<ion-card color="dark">
|
|
<ion-card-header class="ion-text-center">
|
|
<ion-card-title>Restore from Backup</ion-card-title>
|
|
<ion-card-subtitle>Select the shared folder or physical drive containing your Embassy backup</ion-card-subtitle>
|
|
</ion-card-header>
|
|
|
|
<ion-card-content class="ion-margin">
|
|
<ion-spinner *ngIf="loading" class="center-spinner" name="lines"></ion-spinner>
|
|
|
|
<!-- loaded -->
|
|
<ion-item-group *ngIf="!loading">
|
|
<!-- cifs -->
|
|
<h2 class="target-label">
|
|
Shared Network Folder
|
|
</h2>
|
|
<p class="ion-padding-bottom">
|
|
Using a shared folder is the recommended way to recover from backup, since it works with all Embassy hardware configurations.
|
|
To restore from a shared folder, please follow the <a href="https://docs.start9.com/user-manual/general/backups.html" target="blank" noreferrer>instructions</a>.
|
|
</p>
|
|
|
|
<!-- connect -->
|
|
<ion-item button lines="none" (click)="presentModalCifs()">
|
|
<ion-icon slot="start" name="folder-open-outline" size="large" color="light"></ion-icon>
|
|
<ion-label>Open Shared Folder</ion-label>
|
|
</ion-item>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
<!-- drives -->
|
|
<h2 class="target-label">
|
|
Physical Drives
|
|
</h2>
|
|
<p class="ion-padding-bottom">
|
|
Warning! Plugging in more than one physical drive to Embassy can lead to power failure and data corruption.
|
|
To restore from a physical drive, please follow the <a href="https://docs.start9.com/user-manual/general/backups.html" target="blank" noreferrer>instructions</a>.
|
|
</p>
|
|
|
|
<ng-container *ngFor="let target of driveTargets">
|
|
<ion-item button *ngIf="target.drive as drive" [disabled]="!driveClickable(drive)" (click)="select(drive)">
|
|
<ion-icon slot="start" name="save-outline" size="large" color="light"></ion-icon>
|
|
<ion-label>
|
|
<h1>{{ drive.label || drive.logicalname }}</h1>
|
|
<drive-status [hasValidBackup]="target.hasValidBackup"></drive-status>
|
|
<p>{{ drive.vendor || 'Unknown Vendor' }} - {{ drive.model || 'Unknown Model' }}</p>
|
|
<p>Capacity: {{ drive.capacity | convertBytes }}</p>
|
|
</ion-label>
|
|
</ion-item>
|
|
</ng-container>
|
|
</ion-item-group>
|
|
</ion-card-content>
|
|
</ion-card>
|
|
</ion-col>
|
|
</ion-row>
|
|
</ion-grid>
|
|
</ion-content>
|