存档

文章标签 ‘justhost’

关于cpanel主机full back目录排除

2012年4月13日 没有评论

由于ds主机前几天悲剧了,鸟机房部分节点vps全部数据丢失。血的教训,不敢再用了,又用起了闲置很Justhost 主机,这次先考虑备份。。

我记得cpanel在进行全备份的时候,可以通过一个配置文件设置排除一些目录的。 由于里面放了些下载文件,体积庞大。每次备份完全没必要还浪费时间。

但具体怎么配忘了,live chat问了下客服。 他告诉我 you cant..  我问他 are u suer? 结果他很suer。。 他这个suer导致我深度怀疑我是否记错了。。

经google终于找到方法,并测试。 我才确信我木记错。。 方法如下。

顺便鄙视下Justhost 的技术支持,他奶奶的没搞清楚就乱sure,误导人啊。。。

You can exclude certain files and directories from being included in backups. This is accomplished by listing the files or directories in a configuration file called cpbackup-exclude.conf To do this:

  1. If it does not already exist, create the file cpbackup-exclude.confin the home directory of the user who owns the files or directories you wish to exclude.
    • For example, type: touch /home/user/cpbackup-exclude.conf
  2. Inside the file, type each item you wish to exclude from backups, one per line. If you enter a directory name, all files inside the directory will be excluded from backups.
    • Directories should not include leading or trailing characters of any kind, including slashes or periods.
    • Simple shell wildcard characters are allowed for matching control.
    • Here is a sample of the configuration file content:
*/.wysiwygPro_*
*/core.[0-9]
*/core.[0-9][0-9]
.MirrorSearch
.cpan<
.cpanel/caches
.cpanel/datastore
.cpcpan
.wysiwygPro_*
access-logs
core.[0-9]
core.[0-9][0-9]
public_ftp/.ftpquota

PS:cpanel官方说明:
http://etwiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/CpbackupExclude

justhost中的cpanel初始目录文件夹说明

2010年11月4日 没有评论

文件夹:etc提供给客户存放非网站文件目录,可以删除

文件夹:mai客户邮件所在文件夹,任何时候不可以删除

文件夹:public_ftp提供给客户公用的FTP文件夹,如果没有开匿名FTP的权限此文件夹无用

文件夹:public_html是网页文件存放目录,任何时候不可以删除

文件夹:tmp用于保存统计,访问日志等一些文件,可以删除

文件夹快捷方式:access-logs查看每个域名的访问日志

文件夹快捷方式:www -迅速访问public_html

其中mail和public_html文件夹是绝对不可以删除,其他文件夹在使用的时候可以自动创建。

分类: 域名主机 标签: ,

美国主机JustHost返佣说明及JustHost主机介绍

2010年8月1日 没有评论

美国主机商Justhost近两年发展非常迅速,曾经被Mghost誉为“美国主机黑马”。Justhost成立于2008年,相对于Hostmonster和Godaddy来说,应该算是后起之秀了,尽管justhost起步晚但是其发展势头比较猛,在其成立之年就获得多个主机奖项,深受广大客户的好评。

阅读全文...

justhost购买教程

2010年8月1日 没有评论

首先当然是打开官方网站啦,点这里打开Justhost,打开之后直接点击下图中的注册

点击上图进入Justhost 推荐购买链接。(务必清空 cookie 否则有可能统计不上。)
阅读全文...

分类: 域名主机 标签: