Differences between revisions 3 and 4
Revision 3 as of 2013-04-03 06:40:34
Size: 909
Editor: PieterSmit
Comment: add git-annex sync beteen repo commands.
Revision 4 as of 2013-04-04 05:11:42
Size: 1025
Editor: PieterSmit
Comment:
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 20: Line 22:
     git annex initremote myrsync type=rsync rsyncurl=ssh.example.com:/myrsync encryption=joey@kitenet.net      git annex initremote MyNameRsync type=rsync rsyncurl=ssh.example.com:/myrsync encryption=joey@kitenet.net
Line 22: Line 24:

     git annex add .
     commit git commit -a -m added
     git-annex sync
     git-annex copy --to laptop
Line 28: Line 25:
   * {{{
git annex add .
commit git commit -a -m "added"
git-annex sync
git annex get .
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 

    • rsync test.
      •  rsync -av --dry-run PhotosGIT/ 1416@ch-s011.rsync.net:PhotosGIT/ 

  • 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

...

Cloud/rsync.net (last edited 2019-12-02 04:08:47 by PieterSmit)