差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
wiki:shortcut [2022-08-02 18:19] – [文件同步] goldentianyawiki:shortcut [2022-08-11 12:50] (当前版本) – [文件同步] goldentianya
行 53: 行 53:
 同步时使用远程登录比用samba网络硬盘快很多。 同步时使用远程登录比用samba网络硬盘快很多。
 </WRAP> </WRAP>
 +
 +====== 增量备份 ======
 +
 +主要的工作目录
 +<code bash>
 +rsync -av --delete --exclude='node_modules' --exclude='.git' --exclude='.DS_Store' --link-dest=../rsync/Stock /Users/mai/Stock/* root@serverpi:/mnt/hdisk/work/Stock
 +rsync -av --delete --exclude='node_modules' --exclude='.git' --exclude='.DS_Store' --link-dest=../rsync/projects /Users/mai/projects/* root@serverpi:/mnt/hdisk/work/projects
 +rsync -av --delete --exclude='node_modules' --exclude='.git' --exclude='.DS_Store' --link-dest=../rsync/Gitbook /Users/mai/Gitbook/* root@serverpi:/mnt/hdisk/work/Gitbook
 +// 备份文档
 +rsync -av --delete --exclude='node_modules' --exclude='.git' --exclude='.DS_Store' --link-dest=../rsync /Users/mai/文件/* root@serverpi:/mnt/hdisk/docs/个人文档
 +</code>
  
  
wiki/shortcut.1659464348.txt.gz · 最后更改: 2022-08-02 18:19 由 goldentianya
回到顶部
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0