Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:rsync [2023-12-26 Tue wk52 11:38] baumkphome_server:home_server_setup:other_services:rsync [2026-01-31 Sat wk05 22:34] (current) – [some rsync flag definitions] baumkp
Line 16: Line 16:
   *''-a'' is the flag for archive.  Keeps original dates and permissions on copy and also recurses, copied sub-directories and content.   *''-a'' is the flag for archive.  Keeps original dates and permissions on copy and also recurses, copied sub-directories and content.
   *''-u'' only copies source files where they are newer than destination files (based upon file modification dates)   *''-u'' only copies source files where they are newer than destination files (based upon file modification dates)
-  *''--delete'' deletes files on the destination where they are not on the source.  **//Use with care!//**+  *''%%--delete%%'' deletes files on the destination where they are not on the source.  **//Use with care!//**
   *''-n'' is for dry run, no changes are made, but proposed output is seen   *''-n'' is for dry run, no changes are made, but proposed output is seen
   *''-P'' keeps partially copies files and reports progress   *''-P'' keeps partially copies files and reports progress
Line 50: Line 50:
 </file> </file>
  
 + 
 ''sudo vim /etc/rsyncd.secrets'' ''sudo vim /etc/rsyncd.secrets''
 <file>username:userpassword</file> <file>username:userpassword</file>
Line 110: Line 111:
 |''-o''| ''%%--%%owner''           |preserve owner (super-user only)| |''-o''| ''%%--%%owner''           |preserve owner (super-user only)|
 |''-g''| ''%%--%%group''           |preserve group| |''-g''| ''%%--%%group''           |preserve group|
-|''-D''                          |same as --devices --specials|+|''-D''                          |same as %%--devices --specials%%|
 |      | ''%%--%%devices''         |preserve device files (super-user only)| |      | ''%%--%%devices''         |preserve device files (super-user only)|
 |      | ''%%--%%specials''        |preserve special files| |      | ''%%--%%specials''        |preserve special files|
Line 148: Line 149:
  
 ====Rsnapshot==== ====Rsnapshot====
-These are some rsnapshot and related rsync notes.  They are really long! Sadly the original source was only onlie for a few years.+These are some rsnapshot and related rsync notes.  They are really long! Sadly the original source was only online for a few years.
  
 ++++Rsnapshot and Old Rsync notes, really tl;dr;| ++++Rsnapshot and Old Rsync notes, really tl;dr;|