全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1139|回复: 9
打印 上一主题 下一主题

[疑问] 求vps的网站备份脚本。。

[复制链接]
跳转到指定楼层
1#
发表于 2016-7-22 09:41:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
主要要两种,一种邮箱备份数据库,另外一种整站备份包括网站内容备份其他VPS,感觉这两种方法好点,求有存网站的教程的发上来认识一下,操作难度低一点的  哈哈哈
来自 6#
 楼主| 发表于 2016-7-22 11:39:34 | 只看该作者
本帖最后由 kelvin225 于 2016-7-22 11:50 编辑
斜阳晚暮 发表于 2016-7-22 09:45
https://wiki.vpsmm.com/everyday-auto-backup-linux-vps/
https://glorystar.me/archives/vps-auto-backup ...


mysqldump: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when using LOCK TABLES
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
mysqldump: Got error: 1142: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'cond_instances' when using LOCK TABLES
tar: Removing leading `/' from member names
Can't stat [email protected]: No such file or directory

这是什么意思  错误在哪里呢
2#
发表于 2016-7-22 09:45:58 | 只看该作者
https://wiki.vpsmm.com/everyday-auto-backup-linux-vps/
https://glorystar.me/archives/vps-auto-backup-script.html
使用之前稍微修改,测试一下。
3#
 楼主| 发表于 2016-7-22 11:36:43 | 只看该作者
斜阳晚暮 发表于 2016-7-22 09:45
https://wiki.vpsmm.com/everyday-auto-backup-linux-vps/
https://glorystar.me/archives/vps-auto-backup ...

这个怎样指定备份数据库?好像有些数据库没权限备份,他就停止执行了
4#
发表于 2016-7-22 11:38:00 | 只看该作者
马克一下 或许能用到!
5#
发表于 2016-7-22 11:38:17 | 只看该作者
我记得小夜妹纸博客里面有备份脚本
7#
 楼主| 发表于 2016-7-22 14:00:28 | 只看该作者
danwant 发表于 2016-7-22 11:38
我记得小夜妹纸博客里面有备份脚本

嗯 ,看过 但不知道是不是我姿势不对  老出错
8#
发表于 2016-7-22 14:41:15 | 只看该作者
如果文件大的话不建议邮箱发送
9#
发表于 2016-7-22 14:45:59 | 只看该作者
lnmp一键包里的tools文件夹里有个备份脚本
10#
发表于 2016-7-24 23:17:07 | 只看该作者
这个先收藏了。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-15 18:01 , Processed in 0.064762 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表