Dreamhost .snapshot 无效

早前Dreamhost提供了 Automated domain snapshots(自动备份网站数据)方案。在用户的根目录下有个.snapshot隐藏目录,所有FTP的网站数据(不包括Mysql数据) 都快照在里面。但目前这个功能已经不可用了。

Dreamhost 提代了更方便的解决方案,就是通过Web Panel来实现同样的功能,操作更加灵活。

操作方法如下:

进入Web Panel 后点开 Domains > Manage Domains

在你要恢复数据的网站后面点击Restore后就出现数据恢复选顶


根据你的情况点击相应的选项,然后点下面的现在恢复你的域名就完成了。

Restore the contents of Domains.com from our backups: (恢复内容从我们的Domains.com备份)

Available Backup Dates: (可用的备份日期)
 Get the most recent backup: usually 1 hour – 1 day old.(通常1小时 -> 1天)。
 Get a mid-range backup: usually 1 day – 2 weeks old.(通常一天 -> 2周)。
 Get the oldest backup: usually 2 weeks old or more.(通常2周甚至更多)。

Restore Options: (恢复选项)
 Copy the backup files to /home/user/Domains.com_TIMESTAMP (拷贝备份文件/目录用户/ Domains.com_TIMESTAMP)。
 Make the backup copy live and backup all the current live files to /home/user/Domains.com_TIMESTAMP (备份拷贝所有目前文件/目录用户/ Domains.com_TIMESTAMP)。

备份方案也有所调整分别是:手动备份方案自动备份也是可以,不过我还是推荐你使用Rsync Backup(同步镜像备份),它可以满足绝大多数要求不是特别高的备份。

Password Length And Crack Time

Under the condition of supposing that password is freely composed with latino letters, we estimated the proper needed crack time. In advance we suppose, common personal user can test 10 password, and the Organize  of 100 million budget can get the testing speed of 1000 million password.
In the mean time, we also suppose that cpu will be double each two years, then, as for more than six letters of password, increasing one latino letter will be needed relatively to increase about 9 years for crack time.

based on above conditions, we can get the following crack time:

Password Length     Personal User Crack     Organize User Crack
  1                2 Seconds           1 Second
  2                1 Minute                1 Second
  3                30 Minutes          1 Second
  4                12 Hours            1 Second
  5                14 Days            1 Second
  6                1 Year                 1 Second
  7                10 Years           1 Second
  8                19 Years              20 Seconds
  9                26 Years           9 Minutes
  10                37 Years           4 Hours
  11                46 Years           4 Days
  12                55 Years           4 Months
  13                64 Years           4 Years
  14                73 Years            13 Years
  15                82 Years            22 Years
  16                91 Years            31 Years
  17                100 Years           40 Years

MYDNS基于数据库管理的DNS服务器软件

我个人的DNS服务器一直也是用BIND9,因为BIND是一个应用非常广泛的DNS协议的实现,由ISC负责维护,具体的开发由Nominum公司来完成,想找数据也较容易。但最大的缺点是每次加入、修改及删除zone record 后,一定要重新启动才可生效。

因为这个问题,本想自己开发 WEB 管理接口,但想想也比较困难,起码要解决重新启动的问题,看过别人用过的方法,发现都是在一段时间后检查是否有zone record 的改动,然后crontab 上重新启动,但还是未能做到实时的效果。

为了改善这种情况,刚找到这个在UNIX平台下基于数据库管理的DNS服务器端软件MyDNS,它被设计成直接从数据库中读取DNS记录,并且修改记录后时时生效。这一点比BIND要好。它的最大好处是将数据储存在数据库中 (如 MySQL or PostgreSQL),在改动zone record 后不需重新启动。想开发管理程序就容易多了,事实上网上已有很多现成的管理程序,不然用phpMyAdmin或类型的数据库管理程式都是可以的,确实很方便,先测试一段时间看看,如果稳定打算建议公司域名系统也转用MyDNS

Mydns在国内比普遍,如新网,万网,时代互联均采用此软件。

MYDNS官方网站:http://mydns.bboy.net/

官方下载:http://mydns.bboy.net/download/mydns-1.1.0.tar.gz (当前版本为1.10)