backupNow.htm
1 year ago
callSupport.htm
1 year ago
deleteBackup.htm
1 year ago
downloadBackup.htm
1 year ago
downloadBackupLog.htm
1 year ago
editBackupNotes.htm
1 year ago
exportBackup.htm
1 year ago
extractBackup.htm
1 year ago
fileManager.htm
10 months ago
importBackup.htm
1 year ago
lockBackup.htm
1 year ago
manageBackupJob.htm
1 year ago
manageDestination.htm
1 year ago
manageSchedule.htm
1 year ago
quickStart.htm
1 year ago
restoreBackup.htm
1 year ago
showExtractedPath.htm
1 year ago
viewLog.htm
1 year ago
importBackup.htm
54 lines
| 1 | <div class="modal-header"> |
| 2 | <div class="modal-main-title"> |
| 3 | <h1 class="modal-title fs-5" id="importBackupLabel">{{ lang.t("Import & Restore") }}</h1> |
| 4 | </div> |
| 5 | <button type="button" class="btn-close" ng-click="cancel()" aria-label="Close"></button> |
| 6 | </div> |
| 7 | |
| 8 | <div class="modal-body"> |
| 9 | <p class="pd-3" ng-bind-html="lang.t('Upload your backup file in tar compressed format (.tar or .tar.gz). <br /> This manual restore procedure allows you to use a backup downloaded from an offsite location. Once uploaded, the backup will be prepared for restoration, and you can monitor the upload and restoration progress in the queue for real-time updates.')"></p> |
| 10 | |
| 11 | <div class="alert alert-warning"> |
| 12 | <p ng-bind-html="lang.t('Disclaimer: Restoring a backup from another environment can potentially cause issues or result in a fatal error if the environment differs significantly from the current one. Examples include but are not limited to:')"></p> |
| 13 | <ul class="fs-13" style="list-style: numbers;"> |
| 14 | <li ng-bind-html="lang.t('Mismatch in PHP versions between the environments.')"></li> |
| 15 | <li ng-bind-html="lang.t('Usage of server-side caching plugins like Redis or Memcached.')"></li> |
| 16 | <li ng-bind-html="lang.t('File system differences (e.g., restoring a backup from Windows to Linux).')"></li> |
| 17 | <li ng-bind-html="lang.t('Differences in web server software, such as Apache vs. Nginx configurations.')"></li> |
| 18 | <li ng-bind-html="lang.t('Incompatibility in database versions or configurations.')"></li> |
| 19 | </ul> |
| 20 | <p ng-bind-html="lang.t('Ensure that the environments are compatible before proceeding with the restoration.')"></p> |
| 21 | <div class="form-check mt-3"> |
| 22 | <input class="form-check-input" type="checkbox" id="envCompatibilityCheck" ng-model="envChecked" /> |
| 23 | <label class="form-check-label fw-bold fs-13" for="envCompatibilityCheck" ng-bind-html="lang.t('I understand the risks and confirm that the backup environment matches the current environment as closely as possible.')"></label> |
| 24 | </div> |
| 25 | </div> |
| 26 | |
| 27 | <div ng-show="file.name" class="file-info" ng-class="{ 'opacity-50': !envChecked }"> |
| 28 | <p><strong>{{ lang.t("File Name:") }}</strong> {{ file.name }}</p> |
| 29 | <p><strong>{{ lang.t("File Size:") }}</strong> {{ file.size }}</p> |
| 30 | <p><strong>{{ lang.t("File Type:") }}</strong> {{ file.type }}</p> |
| 31 | <div class="progress mb-3"> |
| 32 | <div class="progress-bar" role="progressbar" style="width: {{ progress }}%;" aria-valuenow="{{ progress }}" aria-valuemin="0" aria-valuemax="100"> |
| 33 | {{ progress }}% |
| 34 | </div> |
| 35 | </div> |
| 36 | <a ng-hide="uploading" href="#" class="text-decoration-none" ng-click="clearFile()"> |
| 37 | {{ lang.t("Change File") }} |
| 38 | </a> |
| 39 | </div> |
| 40 | |
| 41 | <div ng-hide="file.name" class="file-upload fs-13" ng-class="{ 'opacity-50': !envChecked }"> |
| 42 | <label for="file" class="form-label">{{ lang.t("Select Backup File") }}</label> |
| 43 | <input id="file" type="file" file-model="file" class="form-control pd-5" ng-disabled="!envChecked" /> |
| 44 | </div> |
| 45 | </div> |
| 46 | |
| 47 | <div class="modal-footer"> |
| 48 | <button class="btn btn-secondary cancel_btn" type="button" ng-click="cancel()"> |
| 49 | {{ lang.t("Cancel") }} |
| 50 | </button> |
| 51 | <button class="btn btn-primary apply_btn" type="button" ng-click="ok()" ng-disabled="!file.name || uploading || !envChecked"> |
| 52 | {{ lang.t("Upload") }} |
| 53 | </button> |
| 54 | </div> |