配置每日备份时,应包括哪些文件以确保我拥有MySQL数据库
发布时间:2022-09-19 16:01:59 所属栏目:教程 来源:
导读: I have a dedicated LAMP server with cpanel hosting 100 websites (some of them have MySQL db's). 我有一个专用的LAMP服务器,其中的cpanel托管着100个网站(其中一些具有MySQL数据库)。
I am
I am
|
I have a dedicated LAMP server with cpanel hosting 100 websites (some of them have MySQL db's). 我有一个专用的LAMP服务器,其中的cpanel托管着100个网站(其中一些具有MySQL数据库)。 I am currently using the Jungle Disk Server Edition to backup our files from our LAMP server to Amazon S3. 我目前正在使用丛林磁盘服务器版将文件从LAMP服务器备份到Amazon S3。 Once a week were are backing up the entire cpanel which is an enormous strain on resources but that is a separate issue. 每周一次备份整个面板,这对资源造成了极大的压力,但这是一个单独的问题。 Now, what I want to do is to set up a daily job to backup just the HTML files and the MySQL db's. 现在,我要做的是建立一个日常工作mysql备份,仅备份HTML文件和MySQL数据库。 If I just backup the "public_html" folder will my MySQL database info be stored in that directory? 如果仅备份“ public_html”文件夹,我的MySQL数据库信息是否将存储在该目录中? Would backing up the public_html folder be enough to recover the db? 备份public_html文件夹是否足以恢复数据库? I can find plenty of resources online about how to manually backup MySQL db's but with a 100 sites, I need it automated. 我可以在网上找到大量有关如何手动备份MySQL数据库的资源,但是有100个站点,我需要将其自动化。 I'm hoping for an easy solution where I can just grab a folder to backup each day. 我希望有一个简单的解决方案,使我每天都可以抓取一个文件夹进行备份。 (编辑:PHP编程网 - 湛江站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐



浙公网安备 33038102330483号