文件名称:autobackup
介绍说明--下载内容均来自于网络,请自行研究使用
OLCMS自动备份数据库发送邮箱,运行于PHP环境,适用于独立服务器或者vps(空间不行,但是有别的思路)。
使用说明:
1.整个目录上传到服务器,记得改整个文件名的名字(切记!)
2.修改config.php所有的配置项,发送邮箱测试了163和qq的,qq邮箱需要后台开启smtp
3.测试
你的域名/自动备份的文件名,一定要改名,不要用默认的autobackup,看邮箱是否成功收到,如果成功继续往下,如果失败检测配置文件。
3.添加服务器定时任务
crontab -e
以下是crontab的内容
0 0 * * * wget 你的域名/自动备份的文件名,一定要改名,不要用默认的autobackup/(就是测试的那个网址) >> /root/antobk.log 2>&1-OLCMS automatic backup database to send mail, which runs on the PHP environment for standalone server or vps (space not, but there are other ideas). Instructions for use: 1. Entire directory uploaded to the server, remember to change the name of the entire file name (remember!) 2. Modify config.php all configuration items, send mail test of 163 and qq, qq mail requires background open smtp 3. Test your domain/automatic backup file name, must be renamed, do not use the default autobackup, to see whether the mailbox successfully received, if successful continue down, if it fails test configuration file. 3 Add the server timed task following crontab crontab-e 0 0*** wget contents of your domain/automatic backup file name, must be renamed, do not use the default autobackup/(is to test that URL) > > /root/antobk.log 2> & 1
使用说明:
1.整个目录上传到服务器,记得改整个文件名的名字(切记!)
2.修改config.php所有的配置项,发送邮箱测试了163和qq的,qq邮箱需要后台开启smtp
3.测试
你的域名/自动备份的文件名,一定要改名,不要用默认的autobackup,看邮箱是否成功收到,如果成功继续往下,如果失败检测配置文件。
3.添加服务器定时任务
crontab -e
以下是crontab的内容
0 0 * * * wget 你的域名/自动备份的文件名,一定要改名,不要用默认的autobackup/(就是测试的那个网址) >> /root/antobk.log 2>&1-OLCMS automatic backup database to send mail, which runs on the PHP environment for standalone server or vps (space not, but there are other ideas). Instructions for use: 1. Entire directory uploaded to the server, remember to change the name of the entire file name (remember!) 2. Modify config.php all configuration items, send mail test of 163 and qq, qq mail requires background open smtp 3. Test your domain/automatic backup file name, must be renamed, do not use the default autobackup, to see whether the mailbox successfully received, if successful continue down, if it fails test configuration file. 3 Add the server timed task following crontab crontab-e 0 0*** wget contents of your domain/automatic backup file name, must be renamed, do not use the default autobackup/(is to test that URL) > > /root/antobk.log 2> & 1
(系统自动生成,下载前可以参看下载内容)
下载文件列表
autobackup\config.php
..........\functions.php
..........\index.php
..........\PHPMailer_5.2.4\changelog.txt
..........\...............\class.phpmailer.php
..........\...............\class.pop3.php
..........\...............\class.smtp.php
..........\...............\docs.ini
..........\...............\extras\class.html2text.inc
..........\...............\......\htmlfilter.php
..........\...............\......\ntlm_sasl_client.php
..........\...............\language\phpmailer.lang-ar.php
..........\...............\........\phpmailer.lang-br.php
..........\...............\........\phpmailer.lang-ca.php
..........\...............\........\phpmailer.lang-ch.php
..........\...............\........\phpmailer.lang-cz.php
..........\...............\........\phpmailer.lang-de.php
..........\...............\........\phpmailer.lang-dk.php
..........\...............\........\phpmailer.lang-es.php
..........\...............\........\phpmailer.lang-et.php
..........\...............\........\phpmailer.lang-fi.php
..........\...............\........\phpmailer.lang-fo.php
..........\...............\........\phpmailer.lang-fr.php
..........\...............\........\phpmailer.lang-hu.php
..........\...............\........\phpmailer.lang-it.php
..........\...............\........\phpmailer.lang-ja.php
..........\...............\........\phpmailer.lang-nl.php
..........\...............\........\phpmailer.lang-no.php
..........\...............\........\phpmailer.lang-pl.php
..........\...............\........\phpmailer.lang-ro.php
..........\...............\........\phpmailer.lang-ru.php
..........\...............\........\phpmailer.lang-se.php
..........\...............\........\phpmailer.lang-sk.php
..........\...............\........\phpmailer.lang-tr.php
..........\...............\........\phpmailer.lang-zh.php
..........\...............\........\phpmailer.lang-zh_cn.php
..........\...............\LICENSE
..........\...............\README
..........\...............\test\contents.html
..........\...............\....\phpmailerTest.php
..........\...............\....\test.png
..........\...............\....\testemail.php
..........\...............\....\test_callback.php
..........\...............\...._script\contents.html
..........\...............\...........\images\aikido.gif
..........\...............\...........\......\bkgrnd.gif
..........\...............\...........\......\phpmailer.gif
..........\...............\...........\index.php
..........\...............\...........\LGPLv3.txt
..........\...............\...........\scripts\clipboard.swf
..........\...............\...........\.......\shBrushBash.js
..........\...............\...........\.......\shBrushCpp.js
..........\...............\...........\.......\shBrushCSharp.js
..........\...............\...........\.......\shBrushCss.js
..........\...............\...........\.......\shBrushDelphi.js
..........\...............\...........\.......\shBrushDiff.js
..........\...............\...........\.......\shBrushGroovy.js
..........\...............\...........\.......\shBrushJava.js
..........\...............\...........\.......\shBrushJScript.js
..........\...............\...........\.......\shBrushPerl.js
..........\...............\...........\.......\shBrushPhp.js
..........\...............\...........\.......\shBrushPlain.js
..........\...............\...........\.......\shBrushPython.js
..........\...............\...........\.......\shBrushRuby.js
..........\...............\...........\.......\shBrushScala.js
..........\...............\...........\.......\shBrushSql.js
..........\...............\...........\.......\shBrushVb.js
..........\...............\...........\.......\shBrushXml.js
..........\...............\...........\.......\shCore.js
..........\...............\...........\.......\shLegacy.js
..........\...............\...........\.rc\shCore.js
..........\...............\...........\...\shLegacy.js
..........\...............\...........\.tyles\help.png
..........\...............\...........\......\magnifier.png
..........\...............\...........\......\page_whit