国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

[复制链接]
发表于 2-13-2012 02:05 | 显示全部楼层 |阅读模式
Howfar一直用Navicat数据库备份和配合Ftp下载。Drupal的数据库备份基本都需要提前清空所有cache,否则下载之后就无法重现导入,问题来了,有个最近出了问题,我觉得是Navicat无法清除全部cache,以至于平时4-5m的sql数据库现在变到20甚至接近40m,虽然有几次导出的小一些,当时再次导入回存的时候网站无法正常运行,年初小宝帮我清理过,可以正常使用,不过我自己不会清理,同时更像找个一劳永逸的办法,现在呢,想试试这次介绍的模块,之后我会把心得回帖上来。


Backup and Migrate 也可以解决一个大问题,经常有导出来的数据库sql脚本超过大小超过限制,传到服务器上之后,使用phpmyadmin,导入时候提示内存备用完了的错误。。装上以后,导出的时候,它会把一些缓存中的数据,一些无关的数据表去掉, 用Backup and Migrate  倒出来的sql会小一些,这样phpmyAdmin就很轻松的导入进去了。这个说法我还没有试过。
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Backup and Migrate模块提供简易的备份或资料库搬移功能,备份资料可存储在网站上或者下载到本地,支持以下格式格式GZip,Bzip,Zip的备份回存,定期备份,手动备份回存。

另外可以自由选择不必要的资料表格或者资料内容进行备份。

下载地址:
http://drupal.org/project/backup_migrate


----------------------------------------------------------------------------------------------------------------------------------------------

Backup and Migrate

Backup and Migrate simplifies the task of backing up and restoring your Drupal database or copying your database from one Drupal site to another. It supports gzip, bzip and zip compression as well as automatic scheduled backups.

With Backup and Migrate you can dump some or all of your database tables to a file download or save to a file on the server, and to restore from an uploaded or previously saved database dump. You can chose which tables and what data to backup and cache data is excluded by default.

New Features in version 2.x:

  • Backup/Restore multiple databases
  • Backup to FTP/S3/Email
  • Drush integration
  • Multiple backup schedules
  • AES encryption for backups
  • Backup your files directory (with the Backup and Migrate Files module)

Security Notice backup files saved to the server are protected from the public by default by a .htaccess rule which will only work on correctly configured Apache Servers. If you are using a server other than Apache, it is recommended that you do not save backups to the server or that you find another way to protect the backup directory from the public.

The module will attempt to check if the destination directory is publicly readable before writing to it, but users are strongly encouraged to confirm this manually by trying to directly download the backup files with a web browser.

This module is not intended for migrating just part of your site from one environment to another. If you want a solution that migrates only certain content, check out this discussion on groups.drupal.org.

This module is sponsored and developed by Gorton Studios

Downloads


设置方法见楼下,一会研究好了发上来:



Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块由国外设计论坛www.guowaisheji.com整理发布,转帖请注明,谢谢!





 楼主| 发表于 2-13-2012 02:51 | 显示全部楼层
Backup and Migrate 使用设置方法:- i" Z% o( _& e
1.从上面提供的链接到官网Backup and Migrate,放在本地sites-all-modules下,到modules列表页面启用,注意启用后清理一下缓存,否则下一步找不到。# B3 `# A5 Q: C8 z3 {* b
( t( w# x: _6 A, c- [
2.在Configuration-的system组内,点击进入Backup and Migrate设置。界面如下图:! z& f* T" s1 y1 \) A
" K8 l! L2 {4 Z9 D

2 R, V2 h+ X! p. d! c- v

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块
( T5 y' T2 |  ^- H
: m1 E+ ^& U% B# h

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

- i, ~( |5 Z5 }5 m
, \! {5 ]2 j# N

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块
0 e5 J, U; T& S7 m7 c

( Q4 b" l' N% R7 U

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块

( ^( j# ~3 q% i2 X: f6 g) q* g% k" }) x  s) J* }
回存的时候选Restore就可以了。
# a: N- C" @5 i8 X) V/ O% W
9 t# r/ H  X0 }" g: h& k6 b$ v6 q
Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块由国外设计论坛www.guowaisheji.com整理发布,转帖请注明,谢谢!
# @. e& ?6 L, `0 L2 _  N
6 U& s: |/ K: G9 p0 |! q/ w
# }5 ]9 A* f. S  r
 楼主| 发表于 2-13-2012 03:10 | 显示全部楼层
补充下,Drupal 6.X里Bachup and Migrate的位置如下图:
5 Z: P6 I, J+ F; w6 X  Y" D. ?, u+ }; j2 q4 \

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块教程

Drupal7.X,6.X模块介绍Backup and Migrate 备份与搬移模块教程
) r5 s) U" W0 ~& |

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-15-2025 23:20 , Processed in 0.539590 second(s), 154 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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