Differences between revisions 10 and 11
Revision 10 as of 2013-09-24 20:45:45
Size: 815
Editor: PieterSmit
Comment: Add du disk space.
Revision 11 as of 2013-10-01 05:10:28
Size: 1340
Editor: PieterSmit
Comment: Add more cp details + rsync rename option.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
     {{{ ssh 1416@ch-s011.rsync.net cp -al backup.0 backup.1 }}}      {{{
         ssh 1416@ch-s011.rsync.net cp -al backup.0 backup.1
         #or#
         cp -rlp photos photos-work
         # -p same as --preserve=mode,ownership,timestamps
         # -l, --link hard link files instead of copying
         # -R, -r, --recursive copy directories recursively
     }}}
   * rename and move, using above cp -l to make hardlink copy, so rsync can find original file, only change in photos-work. Rename after.
     {{{ sync -avHP --delete-after --no-inc-recursive ~/family/photos ~/family/photos-work remotebox:backups }}}

rsync.net

  • Links Cloud/Git-Annex

  • rsync and ssh storage provider.
  • Shortcut notes
    • ls files
      •  ssh 1416@ch-s011.rsync.net ls   ssh 1416@ch-s011.rsync.net du -s 

    • 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 
                 #or#
                 cp -rlp photos photos-work   
                 #   -p          same as --preserve=mode,ownership,timestamps
                 #   -l, --link  hard link files instead of copying
                 #   -R, -r, --recursive   copy directories recursively
    • rename and move, using above cp -l to make hardlink copy, so rsync can find original file, only change in photos-work. Rename after.
      •  sync -avHP --delete-after --no-inc-recursive ~/family/photos ~/family/photos-work remotebox:backups 

    • 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/ 

...


CategoryStorage CategoryLinux

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