User Tools

Site Tools


linux:shell_commands:rsync_backup

Rsync mirror folders

rsync -av --delete --log-file=/home/user/logs/backup_$(date +%Y%m%d).log /server/Pictures /raid/Pictures/
  • /server/Pictures copies the Pictures folder
  • /server/Pictures/ copies the contents od the Pictures folder
  • /raid/Pictures/ copies into the Pictures folder
  • /raid/Pictures creates a Pictures folder and copies into it
linux/shell_commands/rsync_backup.txt · Last modified: 2017/08/10 11:00 (external edit)