boom-deploy
Advanced tools
Comparing version 0.2.63 to 0.2.64
@@ -327,5 +327,2 @@ | ||
} | ||
// проверяем не заполнилась ли папка с дампами | ||
dirSizeControl(get('mongoDumpDir'), 10); | ||
@@ -361,2 +358,7 @@ // | ||
makeDumpDir(); | ||
// проверяем не заполнилась ли папка с дампами | ||
dirSizeControl(get('mongoDumpDir'), 10); | ||
console.log('\n// DUMP FROM %s TO %s', export_env, import_env); | ||
@@ -366,4 +368,2 @@ | ||
makeDumpDir(); | ||
_.each(collections, function(collection){ | ||
@@ -500,5 +500,2 @@ lazySsh('mongodump ' + getMongoParams(exportMongo) + ' --collection ' + collection + ' ' + where + ' --out {{mongoDumpDir}}/' + dumpName); | ||
// проверяем не заполнилась ли папка с дампами | ||
dirSizeControl(get('mysqlDumpDir'), 10); | ||
var dumpName = ['dump', export_env, exportMysql.dbname, get('timestamp'), get('login'), md5()].join('_') + '.sql.bz2'; | ||
@@ -561,2 +558,7 @@ | ||
makeDumpDir(); | ||
// проверяем не заполнилась ли папка с дампами | ||
dirSizeControl(get('mysqlDumpDir'), 10); | ||
console.log('\n// DUMP FROM %s TO %s', export_env, import_env); | ||
@@ -566,3 +568,2 @@ | ||
makeDumpDir(); | ||
lazySsh('mysqldump --disable-keys --single-transaction --quick ' + getMysqlParams(exportMysql) + ' ' + table_options + ' | bzip2 > {{mysqlDumpDir}}/' + dumpName); | ||
@@ -569,0 +570,0 @@ lazySsh('du -sh {{mysqlDumpDir}}/' + dumpName); |
{ | ||
"name": "boom-deploy", | ||
"main": "boom.js", | ||
"version": "0.2.63", | ||
"version": "0.2.64", | ||
"description": "deploy your app", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86988