604
Comment: add some rsync.net notes rsync, snapshot, pwd.
|
1048
Add storage Category
|
Deletions are marked like this. | Additions are marked like this. |
Line 17: | Line 17: |
* rsync test. {{{ rsync -av --dry-run PhotosGIT/ 1416@ch-s011.rsync.net:PhotosGIT/ }}} |
|
Line 18: | Line 20: |
* GIT annex * {{{ git annex initremote MyNameRsync 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 get . git-annex copy --to laptop }}} |
|
Line 20: | Line 33: |
---- CategoryStorage |
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
- rsync test.
rsync -av --dry-run PhotosGIT/ 1416@ch-s011.rsync.net:PhotosGIT/
- ls files
- GIT annex
git annex initremote MyNameRsync 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 get . git-annex copy --to laptop
...