Changes

Jump to navigation Jump to search
417 bytes removed ,  09:35, 3 August 2015
Line 6: Line 6:     
* -a – The archive option = -rlptgoD
 
* -a – The archive option = -rlptgoD
** -r – (as mentioned above)
+
** -r – (recursive into directories)
    -l – copy symlinks as symlinks
+
** -l – copy symlinks as symlinks
    -p – preserve permissions
+
** -p – preserve permissions
    -t – preserve modification times
+
** -t – preserve modification times
    -g – preserve group
+
** -g – preserve group
    -o – preserve owner
+
** -o – preserve owner
    -D – preserve device files and special files
+
** -D – preserve device files and special files
   −
-v – increase verbosity
+
* -v – increase verbosity
-z – compress file data during the transfer
+
* -z – compress file data during the transfer
-X – preserve extended attributes
+
* -X – preserve extended attributes
-A – preserve ACLs (implies -p option)
+
* -A – preserve ACLs (implies -p option)
-S – handle sparse files efficiently
+
* -S – handle sparse files efficiently
--delete – if the file is deleted from the source directory, delete it from the target directory
+
* --delete – if the file is deleted from the source directory, delete it from the target directory
 
  −
 
  −
1. -a = recurse into directories, links (copy symlinks as symlinks), perms (preserve permissions), times (preserve modification times), group (preserve group), owner (preserve owner), preserve device files, and preserve special files.<br />
  −
2. -v = verbose. You can see exactly what rsync is backing up. backups.<br />
  −
3. –delete = This tells rsync to delete any files that are in Directory2 that aren’t in Directory1.<br />
      
== Remote backups ==
 
== Remote backups ==

Navigation menu