问题描述
在严重的数据库丢失问题之后,我决定使用自动备份系统。我进行了研究,看起来不错。
After having seriously database loosing problems, I decided to go for an autobackup system. I researched and AutoMySQLBackup looks fine.
我使用Bluehost,应该在哪里找到automysqlbackup.sh文件?我只是担心安全问题。另外,我们应该在哪里找到备份文件?
I use Bluehost, where should I locate the automysqlbackup.sh file? I just worry about security issue. Also, where should we locate the backup files?
感谢!
推荐答案
我不知道bluehost,但是如果可以的话,一定要把它放在网络根目录之外。如果不能,请创建一个新目录,放入外壳脚本和一个.htaccess文件,
I don't know bluehost, but definitely put it outside the web root if you can. If you can't, create a new directory, put the shell script and a .htaccess file saying
Deny from all
其中。
将其阻止从外部访问,并显示403错误-更好地选择IMO,尤其是在包含根目录的情况下,将其置于Web根目录之外敏感数据。
Putting it outside the web root is the way better option IMO, especially if it contains sensitive data.
这篇关于在Bluehost哪里可以找到automysqlbackup.sh [AutoMySQLBackup]? [安全问题]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!