BitnamiGitLab备份升级操作
来源:互联网 发布:js防水涂料报价 编辑:程序博客网 时间:2024/06/05 03:12
bundle exec/opt/gitlab-7.13.5-0/apps/gitlab/htdocs/bin/rakegitlab:backup:restore RAILS_ENV=production BACKUP=1450907787
备份 gitlab.yml文件中定义备份路径
cd /opt/gitlab-7.13.5-0/
./use_gitlab
cd /opt/gitlab-7.13.5-0/apps/gitlab/htdocs
bundle exec bin/rakegitlab:backup:create RAILS_ENV=production #这里得到的备份文件夹属组为root,可以在备份之后将备份文件夹
属组改为 git或者,在升级之后将 repositories文件夹的权限给 git。
cd /opt/gitlab-7.13.5-0/
./use_gitlab
cd /opt/gitlab-7.13.5-0/apps/gitlab/htdocs
bundleexec bin/rake gitlab:backup:restoreRAILS_ENV=production BACKUP=1405247282 #这里的数字是备份之后本分文件的前缀
chown git:git -R/opt/gitlab-6.4.3-1/apps/gitlab/repositories #此处如果权限不给git则升级之后在页面上看不到仓库的服务器路径
注意:
在切换目录的时候不能使用命令 cd /opt/gitlb*/...一定要输入完整的路径,否则可能得到升级命令找不到的错误。
- BitnamiGitLab备份升级操作
- BitnamiGitLab升级以及Troubledshooting
- 升级未备份导致
- ANdroid 数据库升级备份
- 手动备份升级WordPress
- Gitlab备份、升级、恢复
- 备份下ionic升级
- oracle110g rac升级前备份
- ubuntu mysql 备份 卸载 升级
- ubuntu mysql 备份 卸载 升级
- gitlab备份、恢复、迁移、升级
- ubuntu gitlab 升级/备份/恢复
- ORACLE的升级操作
- MongoDB升级操作
- MongoDB 升级操作
- mongoDB3.0.2 升级操作
- TortoiseGit升级操作说明
- node 版本升级 操作
- 内存分配器 (Memory Allocator)
- jquery easyui datagrid使用参考
- Maven + Eclipse + Tomcat - 开启项目调试之旅
- SQL学习 日期和时间
- 系统调用(1)
- BitnamiGitLab备份升级操作
- [leetCode]26. Remove Duplicates from Sorted Array
- Android大图片裁剪终极解决方案 原理分析(概念)
- div为100%宽度,获取div的宽高
- str_replace()详解
- 直方图均衡化
- 排序算法之希尔排序
- Portable Drones Jammer-All remote control type
- GitHub android-crop 图片裁剪