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/
- ls files
rsync files owned by root on remote server where you have sudo to local machine
-L converts symlinked files into files
$ rsync -v -L -a --rsync-path="sudo rsync" USER@letsencrypt-vm:/opt/letsencrypt/shared/ssl-certs_io/live/me.io/ .
...