Differences between revisions 2 and 3
Revision 2 as of 2013-03-26 08:33:21
Size: 795
Editor: PieterSmit
Comment: Add GIT annex
Revision 3 as of 2013-04-03 06:40:34
Size: 909
Editor: PieterSmit
Comment: 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 

  • 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

...

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