有关备份php站点和mysql数据库的建议 [英] Suggestions for backing up php site and mysql db

查看:63
本文介绍了有关备份php站点和mysql数据库的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您有什么好的建议,如何备份远程php站点和mysql,并将其上传到另一个远程ftp?我确实具有shell访问权限,并且它是linux系统.

do you have any good suggestions how to backup remote php site and mysql, and upload it to another remote ftp? I do have shell access and it is linux system.

当我这样发布时,有些of脚的问题,但是我认为必须在具有站点的远程服务器上运行一些脚本,

Kind of lame question when I post it like that, but I assume some script would have to be run on remote server with site, that would do this.

如果您不介意分享您的想法,我将不胜感激.

If you don't mind sharing your ideas, I would appreciate it.

最好, 泽列科

推荐答案

取决于shell的功能和站点的大小,但是第一步可能非常简单:使用mysqldump并将其与网页压缩在一起.要上传档案,您可以使用 wput 或直接回退至

Depends on the capabilities of your shell and the size of your site, but the first step could be very trivial: Use mysqldump and zip it together with your webpage. For uploading your archive you can maybe use wput or simply fall back to ftp which should be available on most shells.

这篇关于有关备份php站点和mysql数据库的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆