https://t.me/RX1948
Server : LiteSpeed
System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : dewac4139 ( 1077)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/local/CyberCP/backup/templates/backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/CyberCP/backup/templates/backup/restore.html
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "Restore Website - CyberPanel" %}{% endblock %}
{% block content %}

{% load static %}

{% get_current_language as LANGUAGE_CODE %}
<!-- Current language: {{ LANGUAGE_CODE }} -->


<div class="container">
<div id="page-title">
   <h2>{% trans "Restore Website" %} - <a  target="_blank" href="http://go.cyberpanel.net/backup" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "Backup Docs" %}</span></a></h2>
    <p>{% trans "This page can be used to restore your websites, Backup should be generated from CyberPanel Backup generation tool, it will detect all Backups under <strong>/home/backup</strong>." %}</p>
</div>

<div ng-controller="restoreWebsiteControl" class="panel">
    <div class="panel-body">
        <h3 class="title-hero">
            {% trans "Restore Website" %} <img ng-hide="restoreLoading" src="{% static 'images/loading.gif' %}">
        </h3>
        <div  class="example-box-wrapper">


            <form  action="/" class="form-horizontal bordered-row">


                 <div class="form-group">
                    <label class="col-sm-3 control-label">{% trans "Select Backup" %}</label>
                    <div class="col-sm-6">
                        <select ng-change="fetchDetails()" ng-model="backupFile" class="form-control">
                            {% for items in backups %}
                                <option>{{ items }}</option>
                            {% endfor %}
                        </select>
                    </div>
                </div>



            <div ng-hide="restoreButton" class="form-group">
                    <label class="col-sm-3 control-label"></label>
                    <div class="col-sm-4">
                         <button type="button" ng-click="restoreBackup()" id="restoreBackup" class="btn btn-primary btn-lg btn-block">{% trans "Restore" %}</button>

                    </div>
            </div>



            <!---- if restore is running ----->

            <div ng-hide="runningRestore" class="form-group">

                    <div  class="col-sm-12">

                        <table class="table">
                            <thead>
                            <tr>
                                <th>{% trans "Condition" %}</th>
                                <th>{% trans "File Name" %}</th>
                                <th>{% trans "Status" %} <img ng-hide="restoreFinished" src="{% static 'images/loading.gif' %}"></th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>{$ running $}</td>
                                <td>{$ fileName $}</td>
                                <td style="color: red"><strong>{$ status $}</strong></td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>


            <!---- if restore is running------>



                <div class="form-group">
                    <label class="col-sm-3 control-label"></label>
                    <div class="col-sm-4">
                            <div ng-hide="backupError" class="alert alert-danger">
                                        <p>{% trans "Error message:" %} {$ errorMessage $}</p>
                            </div>

                            <div ng-hide="siteExists" class="alert alert-danger">
                                        <p>{% trans "Site related to this Backup already exists." %}</p>
                            </div>


                            <div ng-hide="couldNotConnect" class="alert alert-danger">
                                        <p>{% trans "Could not connect to server. Please refresh this page." %}</p>
                            </div>
                    </div>



                </div>


            </form>



        </div>
    </div>
</div>


</div>


{% endblock %}

https://t.me/RX1948 - 2025