This commit is contained in:
life
2014-10-22 22:24:46 +08:00
parent b43c68ec2d
commit ebcce0a247
52 changed files with 18 additions and 18 deletions

View File

@ -295,7 +295,7 @@ func (this *ConfigService) Backup(remark string) (ok bool, msg string) {
binPath += " -u " + username + " -p " + password
}
// 保存的路径
dir := revel.BasePath + "/backup/" + this.getBackupDirname()
dir := revel.BasePath + "/mongodb_backup/" + this.getBackupDirname()
binPath += " -o " + dir
err := os.MkdirAll(dir, 0755)
if err != nil {