Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4391

Closed
Open
Created Jun 22, 2013 by Administrator@rootOwner

gitlab:backup process with DB password containing <

Created by: jizaymes

I'm in the process of updating from 5.1 to 5.2. In my config/database.yml, my password for the database was something like

  password: "<abc123!"

When doing a backup, it would seemingly process the < as part of an IO redirection

root@gitlab:/home/git/gitlab# sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
Dumping database ... 
sh: 1: cannot open abc123!: No such file
done

I'm not sure if this is a gitlab thing or a general railes thing but I wanted to raise the topic.

After changing the database password to remove the <, this same command completes successfully.

Assignee
Assign to
Time tracking