Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

linux:shell_commands:rsync_backup [2017/08/10 13:00] (current)
Line 1: Line 1:
 +====== Rsync mirror folders ======
 +<​code>​rsync -av --delete --log-file=/​home/​user/​logs/​backup_$(date +%Y%m%d).log /​server/​Pictures /​raid/​Pictures/</​code>​
 +  * /​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 13:00 (external edit)