【发布时间】:2015-06-17 05:19:38
【问题描述】:
我想了解更多关于每天或每周在服务器中完成 GIT 备份的信息。
我试过@VonCfully and incremental backup script 'sbin/save_bundles',提到in this answer,出现以下错误。
错误信息:
./test.sh : line 7 : /home/.bashr : No such file or directory
./test.sh : line 69 : /home/sbin/usrcmd/get_hostname : No such file or directory
./test.sh : line 70 : get_hostname : command not found
./test.sh : line 71 : /home/sbin/usrcmd/get_fqn : No such file or directory
./test.sh : line 72 : get_fqn : command not found
【问题讨论】:
-
这似乎不是 git 问题。从您的输出来看,您的 test.sh 脚本似乎正在尝试运行几个不存在的用户脚本。
-
@Vic 我已使用此链接备份脚本运行每日备份github.com/VonC/compileEverything/blob/…
-
@Vic 这与 Git 有关。 (这是我的 git repos 保存脚本)
-
哦,我不知道他指的是谁或什么。
-
稍微清楚一点;请提供 vonC 代码的链接
标签: git backup backup-strategies