795
Comment: Add GIT annex
|
909
add git-annex sync beteen repo commands.
|
Deletions are marked like this. | Additions are marked like this. |
Line 22: | Line 22: |
git annex add . commit git commit -a -m added git-annex sync git-annex copy --to laptop |
rsync.net
- rsync and ssh storage provider.
- Shortcut notes
- ls files
ssh 1416@ch-s011.rsync.net ls
sync dir datadir to rsync.net '''NOTE:''' dont need -e ssh, ssh is now default for rsync2.6
rsync -av datadir 1416@ch-s011.rsync.net:datadir
- make snapshot with hardlinks cp -al
ssh 1416@ch-s011.rsync.net cp -al backup.0 backup.1
- password change, notice -t
ssh -t 1416@ch-s011.rsync.net passwd
- ls files
- GIT annex
git annex initremote myrsync type=rsync rsyncurl=ssh.example.com:/myrsync encryption=joey@kitenet.net git annex describe myrsync "rsync server" git annex add . commit git commit -a -m added git-annex sync git-annex copy --to laptop
...