Files
OMS/app/desktop/view/system/backup/backup.html
2025-12-28 23:13:25 +08:00

34 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<meta charset="utf-8">
<div class="tableform">
<p class="notice"><{t}>说明:您可以在此处备份商店的整站数据库结构和数据,一旦商店数据意外损坏,您可以通过数据库恢复功能恢复所备份的数据。<{/t}><br />
<span class="loud"><{t}>备份分卷大小1024 K<{/t}></span><br><span class="loud"><{t}>备份过程中请勿进行其他页面操作。<{/t}></span><br/>
<span class="loud"><{t}>上次备份时间:<{/t}><{if !$time}><{t}>从未备份<{/t}><{else}><{$time}><{/if}></span>
</p>
<div id="BackupProgess" align='center'></div>
<div id="backupbtn" class="table-action">
<{button type='button' label=$___desktop='开始备份'|t:'desktop' onclick='runbackup(0)'}>
</div>
</div>
<script>
function runbackup(url){
if(!url) {
$('BackupProgess').innerHTML = '<{t}>正在备份,请勿进行其他页面操作。<{/t}>';
$('backupbtn').innerHTML = '';
}
if(!url) url = 'index.php?app=desktop&ctl=backup&act=backup_sdf';
new Request({url:url,update:'BackupProgess',data:'a=a',evalScripts:true}).send();
}
</script>