".extra-menu { background-color: #f3f3f3; padding: 20px; } .extra-menu .extra-menu-h { height: 36px; } .extra-menu .extra-menu-h h3 { display:inline-block; } .extra-menu ul a{ text-decoration: none; } .extra-menu .menu-child { text-indent: 4em; } .extra-menu .menu-child:before { left: 4em; } .extra-menu .extra-menu-h h3 { line-height: 36px; } .collapse-toggle { float: right; cursor: pointer; user-select: none; display: inline-flex; align-items: center; font-size: 14px; } .collapse-toggle img { width: 30%; transform: rotate(180deg); } .collapse-content { margin-bottom: 0px !important; margin-top: 20px !important; overflow: hidden; max-height: 0; transition: max-height 0.3s ease-out; } .collapse-content.expanded { max-height: 1000px; /\* 设置一个足够大的值,确保内容可以完全展开 \*/ } .ph-id { position: relative; top: -90px; } jQuery(document).ready(function( $ ) { $('.collapse-toggle').on('click',function(){ var content = document.querySelector('.collapse-content'); content.classList.toggle('expanded'); if (content.classList.contains('expanded')) { $(this).find('div').text('收起'); $(this).find('img').css('transform','rotate(180deg)'); } else { $(this).find('div').text('展开'); $(this).find('img').css('transform','rotate(0deg)'); } }) })
[Drupal](/#)是基于PHP的开源内容管理系统,可用于构造提供多种功能和服务的动态网站。定期备份Drupal站点,有助于在软件或硬件出现故障时保持数据安全。如果出现问题,备份文件可以在确保不丢失重要数据的情况下来恢复站点,那么如何备份Drupal网站文件呢?

Hostinger主机托管服务提供有自动安装程序的功能,能快速安装所需的应用程序,所以大多数用户喜爱租用Hostinger主机(比如[美国主机](https://www.idcspy.com/)、香港主机等)来放网站。本教程将介绍下如何使用Hostinger主机的hPanel面板来备份Drupal网站。
1、首先登录到[Hostinger](/#)账户,然后访问hPanel面板,在左侧菜单栏中点击Files,导航到Backups备份部分。
点击访问:[Hostinger官网](https://go.idcspy.com/www.hostinger.com/)

2、接着在Generate new backup选项下,点击Select按钮,如下图所示:

3、这时会弹出一个确认对话框,如果确认对该Drupal文件备份,则点击Proceed便可开始备份。通常情况下是每24小时只能生成一次备份。
4、Drupal文件备份完成后,点击File backups,选中要下载的备份文件,下拉菜单选择对应的时间,点击Prepare to Download,便可开始下载备份文件。

以上是在Hostinger主机的hPanel面板上备份Drupal文件的方法介绍,操作还是比较简单的,为了网站数据安全,我们在搭建好Drupal站点后,要定期做好网站备份工作。"
松果号 作者:松果号原创文章,如若转载,请注明出处:https://www.6480i.com/archives/105105.html