Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #6694

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

backup failed

Closed

backup failed

Created by: jtraviss

when i backup the gitlab, the dumping database process is always failed. I can access gitlab website successful.

env:
gitlab 6.6.5
mysql5.6.16

output:
home/git/gitlab$ sudo -u git bundle exec rake gitlab:backup:create RAILS_ENV=production
Dumping database ...
Dumping MySQL database gitlabhq_production ... [FAILED]
done
Dumping repositories ...
 * 960/vehicle-shop ... [DONE]
 * 960/vehicle-shop.wiki ...  [SKIPPED]
 * test/test_project ... [SKIPPED]
done
Dumping uploads ...
done
Creating backup archive: 1396520872_gitlab_backup.tar ... done
Deleting tmp directories ... done
Deleting old backups ... skipping

Linked issues
0


  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jtraviss

    resolved by installing the mysql client package.

    By Administrator on 2014-04-08T04:58:07 (imported from GitLab project)

  • Administrator
    Administrator @root · 10 years ago
    Owner

    Created by: chayandevopsgit

    can Any one help me for below error while taking the backup....

    Dumping database ... Dumping MySQL database gitlabhq_production ... [FAILED] done Dumping repositories ...

    • vganesa1-in/appleibmproj1_pvt ... [DONE]
    • vganesa1-in/appleibmproj1_pvt.wiki ... [DONE]
    • vganesa1-in/appleibmproj_public ... [DONE]
    • vganesa1-in/appleibmproj_public.wiki ... [DONE]
    • vganesa1-in/appleibmproj3_internal ... [DONE]
    • vganesa1-in/appleibmproj3_internal.wiki ... [DONE]
    • risjoshi-in/notifier ... [FAILED]
    • risjoshi-in/notifier.wiki ... [DONE]
    • risjoshi-in/notifier-app ... [DONE]
    • risjoshi-in/notifier-app.wiki ... [DONE]
    • risjoshi-in/smarttodonew ... [FAILED]
    • risjoshi-in/smarttodonew.wiki ... [DONE]
    • risjoshi-in/carcare ... [FAILED]
    • risjoshi-in/carcare.wiki ... [DONE]
    • risjoshi-in/example-project ... [DONE]
    • risjoshi-in/example-project.wiki ... [DONE]
    • pranapra-in/smarttodod ... [FAILED]
    • pranapra-in/smarttodod.wiki ... [DONE]
    • cyuan-us/caseworker ... [FAILED]
    • cyuan-us/caseworker.wiki ... [DONE]
    • nganugap-in/carcare ... [FAILED]
    • nganugap-in/carcare.wiki ... [DONE]
    • raghgowd-in/Example_IOS ... [DONE]
    • raghgowd-in/Example_IOS.wiki ... [DONE]
    • jen.nolan-ca/jentestproject ... [DONE]
    • jen.nolan-ca/jentestproject.wiki ... [DONE]
    • samr-ca/t-and-t-csa-wave-1b ... [DONE]
    • samr-ca/t-and-t-csa-wave-1b.wiki ... [DONE]
    • raghgowd-in/gitrtcintegrationtest ... [FAILED]
    • root/hookstest1 ... [FAILED]
    • root/hookstest1.wiki ... [DONE]
    • raghgowd-in/demoproject ... [FAILED]
    • raghgowd-in/demoproject.wiki ... [DONE]
    • vganesa1-in/hookstest2 ... [FAILED]
    • vganesa1-in/hookstest2.wiki ... [DONE]
    • cyuan-us/sitevisit ... [FAILED]
    • cyuan-us/sitevisit.wiki ... [DONE]
    • vganesa1-in/rtctest1 ... [FAILED]
    • vganesa1-in/rtctest1.wiki ... [DONE]
    • karthikkumarkv-in/citibank ... [FAILED]
    • shriyrao-in/sample1 ... [DONE]
    • shriyrao-in/sample1.wiki ... [DONE]
    • alexanjo-us/retail-dynamicbuy ... rake aborted! Errno::EACCES: Permission denied - /home/git/dailybackup/repositories/alexanjo-us /home/git/gitlab/lib/backup/repositoy.rb:14:in block in dump' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/relation/batches.rb:26:inblock (2 levels) in find_each' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/relation/batches.rb:26:in each' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/relation/batches.rb:26:inblock in find_each' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/relation/batches.rb:76:in find_in_batches' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-deprecated_finders-1.0.3/lib/active_record/deprecated_finders/relation.rb:70:infind_in_batches' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/relation/batches.rb:25:in find_each' /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/querying.rb:8:infind_each' /home/git/gitlab/lib/backup/repositoy.rb:10:in dump' /home/git/gitlab/lib/tasks/gitlab/backup.rake:39:inblock (4 levels) in <top (required)>' /home/git/gitlab/lib/tasks/gitlab/backup.rake:11:in `block (3 levels) in <top (required)>' Tasks: TOP => gitlab:backup:repo:create (See full trace by running task with --trace)

    By Administrator on 2014-11-28T12:21:37 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
participants
Reference:

Menu

Projects Groups Snippets
Help