我想了解更多关于每日或每周的服务器上的完整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
这似乎不是一个混帐问题。从你的输出中,它看起来像你的test.sh脚本正试图运行几个不存在的用户脚本。 – Vic
@Vic我已经使用这个链接的备份脚本来运行日常备份https://github.com/VonC/compileEverything/blob/1b01af253eb938efe8f04eb44f9e8af0d9633baa/sbin/save_bundles#L111 – momsfoodfactory
@Vic这与Git有关。 (这是我的git回购保存脚本) – VonC