GitLab: Is the backup rake task atomic? -


if make gitlab backup using gitlab:backup:create rake task pushing repositories, backup process affected?

is necessary shutdown gitlab before doing backup?

the task gitlab/backup.rake doesn't atomic.
calls:

  rake::task["gitlab:backup:db:create"].invoke   rake::task["gitlab:backup:repo:create"].invoke 

that uses gem activerecord:

    puts "dumping database tables ... ".blue     activerecord::base.connection.tables.each |tbl|     ... 

like other operations activerecord (see this question), doesn't seem global atomic operation.


hold on, few hours ago, randx (dmitriy zaporozhets), main developer gitlab, refactored dumping database:

so part dumping database more atomic ;)
backup itself, involves other steps including backing bare repos, not atomic.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -