Skip to content
Snippets Groups Projects
Commit 901f5445 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Remove superfluous mkdir -p

parent 7d58489f
No related branches found
No related tags found
1 merge request!1520Reduce disk IO and space usage during backups
Pipeline #
Loading
@@ -16,8 +16,6 @@ module Backup
Loading
@@ -16,8 +16,6 @@ module Backup
compress_pid = spawn(*%W(gzip -1 -c), in: compress_rd, out: [db_file_name, 'w', 0600]) compress_pid = spawn(*%W(gzip -1 -c), in: compress_rd, out: [db_file_name, 'w', 0600])
compress_rd.close compress_rd.close
   
FileUtils.mkdir_p(Gitlab.config.backup.path)
dump_pid = case config["adapter"] dump_pid = case config["adapter"]
when /^mysql/ then when /^mysql/ then
$progress.print "Dumping MySQL database #{config['database']} ... " $progress.print "Dumping MySQL database #{config['database']} ... "
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment