同时下载网站的文件和数据库是安全的吗?

发布于 2025-01-21 17:20:08 字数 90 浏览 3 评论 0原文

我正在手动下载WordPress网站的副本。我首先是通过SFTP下载文件,因此,我想从phpmyadmin下载数据库。

同时执行这两个动作是不明智的吗?

I am manually downloading a copy of my Wordpress site. I have started by downloading the files via sftp, and as that is progressing I want to download the database from phpMyAdmin.

Is it unwise to perform both of these actions at the same time?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

朮生 2025-01-28 17:20:08

同时进行这两者确实没有问题。您正在使用两个不同的协议-SFTP和HTTPD(运行phpmyadmin) - 以获取网站两个“部分”,静态文件和数据库的副本。

静态站点文件仅是文件(PHP,HTML,图像等),而数据库是单独的应用程序层中的数据,而不是SFTP服务器或WebServer(Apache,nginx等)本身。

只要您的Web主机可以同时从SFTP和CPU使用和PHP超时参数同时处理负载,以导出可能是一个大数据库的文件,就没有问题。如果您确实获得了PHP超时或导出数据库的错误,则需要增加PHP超时,PHP最大邮政尺寸等,以导出数据库。

There's really not an issue with doing both at the same time. You're using two different protocols - SFTP and HTTPD (to run PHPMyAdmin) - to get copies of each of the two "parts" of the site, the static files and the database.

The static site files are just files (php, html, images, etc), while the database is data in a separate application layer than the SFTP server or the webserver (Apache, NginX, etc) itself.

As long as your web host can handle the loads at the same time from both SFTP for files and the CPU usage and PHP timeout parameters to export what could be a large database, there's no issue. If you do get PHP timeouts or errors exporting the database, you will need to increase PHP timeouts, PHP maximum post sizes, etc., in order to export the database.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文