Skip to content

Delete backups/tmp after restore

Shubham Kumar requested to merge imskr/gitlab:skr-tmp-delete into master

What does this MR do?

How to setup and validate locally (strongly suggested)

  1. Run
    bundle exec rake gitlab:backup:restore
  2. After restore you'll see tmp dir still present inside tmp/backups/


  1. After the fix:



Availability and Testing


Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Shubham Kumar

Merge request reports