drupal 5.6
想升級到5.7所以先做一次備份
使用模組"Backup"
安裝過程如下
解壓縮上傳到/sites/all/modules
管理admin > 啟動模組enable
啟動完成後到管理admin > access control 開啟備份權限
admin > backup 進入備份頁面
以上均是說明文件內的標準程序
卻出現以下錯誤訊息warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
System program "mysqldump" not found in $PATH. Please check with your sysadmin for further assistance.
不明白為什麼
我的安裝程序也無問題
請問是怎麼回是呢?
Re: "Backup"模組安裝後,設定頁出現大量錯誤訊息
沒用過這個模組。
但是看這些錯誤訊息,看起來是權限的關係...
沒有權限"逛"到這些資料夾去找備分的程式...
所以就出現一堆錯誤訊息了...
可能得修改 資料夾的權限 或是 Apache 的設定,似乎不是用模組本身可以解決的問題。
以上猜測僅供參考...
Re: "Backup"模組安裝後,設定頁出現大量錯誤訊息
如果這個模組不適用
那各位都是用什麼方法備分drupal呢?
因為我市租用網路空間
並無法干涉apache的設定
Re: "Backup"模組安裝後,設定頁出現大量錯誤訊息
試看看這個Backup and Migrate 備份與搬移模組。