gitlab-rake gitlab:backup:create execution error Errno::ENOSPC: No space left on device

Gitlab warehouse backup execution

gitlab-rake gitlab:backup:create

The error is reported as follows:
insert image description here
Problem Analysis: The storage backup space is full
Solution:
Method 1: Clean up the storage path, delete unnecessary files, and free up space.
Method 2: Create a mount point for the root directory, mount the newly created directory to the root directory, and restart the system. (High risk, not recommended)
Method 3: Modify the backup storage location

vim /etc/gitlab/gitlab.rb

insert image description here
Save the file, then run the following command for the configuration changes to take effect:

gitlab-ctl reconfigure

Re-execute the gitlab backup command

gitlab-rake gitlab:backup:create

/data/gitlab_backupView in the directory, the backup file is stored normally
insert image description here

Guess you like

Origin blog.csdn.net/qq_27577263/article/details/132581532