From local to local "========" CP
Rsync-avz
Parameter usage
-A retains all information about source
-V Display Information
-Z compresses the files to be backed up at transport, but does not say that the source files are compressed. What is the file that comes from source to target? It just compresses the file during the transfer process, but it doesn't change the original state of the file.
-V,--verbose verbose mode output. -Q,--quiet thin output mode. -C,--checksum turns on the check switch to force a checksum of the file transfer. -A,--archive archive mode, which means that files are transferred recursively, and all file attributes are maintained, equal to-rlptgod. -R,--recursive subdirectories are processed in recursive mode. -R,--relative uses relative path information. -B,--backup creates a backup, that is, the old file is renamed to ~filename when the same file name exists for the purpose. You can use the--suffix option to specify a different backup file prefix. --backup-dir store backup files (such as ~filename) in the directory. -suffix=suffix defines the backup file prefix. -U,--update only updates, that is, skips all existing DST, and the file time is later than the file to be backed up, not overwriting the updated file. -L,--links retains the soft-link knot. -L,--copy-links to handle soft links like regular files. --copy-unsafe-links only copies links to the SRC Path directory tree. --safe-links ignores links to links other than the SRC path directory tree. -H,--hard-links preserves hard links. -P,--perms maintain file permissions. -O,--owner keep the file owner information. -G,--group keep the file group information. -D,--devices maintains device file information. -T,--times keeps file time information. -S,--sparse special processing of sparse files to save DST space. -N,--dry-run reality which files will be transmitted. -W,--whole-file copy files without incremental detection. -X,--one-file-system do not cross file system boundaries. -B, the block size used by the--block-size=size test algorithm is 700 bytes by default. -E,--rsh=command specifies that data is synchronized using RSH and SSH. --RSYNC-PATH=PATH Specifies the path information for the rsync command located on the remote server. -C,--cvs-exclude uses the same method as CVs to automatically ignore files, which are used to exclude files that you do not want to transfer. --existing only updates those files that already exist in DST, without backing up those newly created files. --Delete Deletes those files that are not in the DST Src. --delete-excluded also deletes those files that are excluded by the option specified by the Receive side. After the--delete-after transmission is finished, delete again. --ignore-errors Timely IO errors are also deleted. --max-delete=num delete up to NUM files. --partial retains files that are not fully transmitted for any reason, in order to expedite subsequent transmissions. --force forcibly deletes the directory, even if it is not empty. --numeric-ids does not match the user and group ID of the number to the user name and group name. --timeout=time IP time-out, in seconds. -I,--ignore-times does not skip files that have the same time and length. --size-only when deciding whether to back up a file, just look at the file size regardless of the file time. --modify-window=num determines whether the file is time-stamped with the time Stamp window, which defaults to 0. -T--temp-dir=dir creates a temporary file in Dir. --compare-dest=dir also compares the files in DIR to determine if a backup is required. -P is equivalent to--partial. --progress shows the backup process. -Z,--compress compresses the files that are backed up when they are transferred. --EXCLUDE=PATTERN Specifies to exclude file patterns that do not need to be transferred. --INCLUDE=PATTERN Specifies the file mode that is not excluded and that needs to be transferred. --exclude-from=file excludes files in the specified schema in file. --include-from=file does not exclude files that specify pattern matching. --version print version information. --address is bound to a specific address. --CONFIG=FILE specifies a different configuration file and does not use the default rsyncd.conf file. --port=port specifies a different rsync service port. The--blocking-io uses blocking IO on the remote shell. -stats gives the transfer status of some files. --progress the actual transmission process during transmission. --LOG-FORMAT=FORMAT Specifies the log file format. --password-file=file gets the password from file. --bwlimit=kbps limits I/O bandwidth, Kbytes per second. -H,--help displays help information.
From: http://man.linuxde.net/rsync-v,--verbose verbose mode output. -Q,--quiet thin output mode. -C,--checksum turns on the check switch to force a checksum of the file transfer. -A,--archive archive mode, which means that files are transferred recursively, and all file attributes are maintained, equal to-rlptgod. -R,--recursive subdirectories are processed in recursive mode. -R,--relative uses relative path information. -B,--backup creates a backup, that is, the old file is renamed to ~filename when the same file name exists for the purpose. You can use the--suffix option to specify a different backup file prefix. --backup-dir store backup files (such as ~filename) in the directory. -suffix=suffix defines the backup file prefix. -U,--update only updates, that is, skips all existing DST, and the file time is later than the file to be backed up, not overwriting the updated file. -L,--links retains the soft-link knot. -L,--copy-links to handle soft links like regular files. --copy-unsafe-links only copies links to the SRC Path directory tree. --safe-links ignores links to links other than the SRC path directory tree. -H,--hard-links preserves hard links. -P,--perms maintain file permissions. -O,--owner keep the file owner information. -G,--group keep the file group information. -D,--devices maintains device file information. -T,--times keeps file time information. -S,--sparse special processing of sparse files to save DST space. -N,--dry-run reality which files will be transmitted. -W,--whole-file copy files without incremental detection. -X,--one-file-system do not cross file system boundaries. -B, the block size used by the--block-size=size test algorithm is 700 bytes by default. -E,--rsh=command specifies that data is synchronized using RSH and SSH. --RSYNC-PATH=PATH Specifies the path information for the rsync command located on the remote server. -C,--cvs-exclude uses the same method as CVs to automatically ignore files, which are used to exclude files that you do not want to transfer. --existing onlyOnly those files that already exist in DST are updated, not those newly created. --delete Delete those files that are not in the DST Src. --delete-excluded also deletes those files that are excluded by the option specified by the Receive side. After the--delete-after transmission is finished, delete again. --ignore-errors Timely IO errors are also deleted. --max-delete=num delete up to NUM files. --partial retains files that are not fully transmitted for any reason, in order to expedite subsequent transmissions. --force forcibly deletes the directory, even if it is not empty. --numeric-ids does not match the user and group ID of the number to the user name and group name. --timeout=time IP time-out, in seconds. -I,--ignore-times does not skip files that have the same time and length. --size-only when deciding whether to back up a file, just look at the file size regardless of the file time. --modify-window=num determines whether the file is time-stamped with the time Stamp window, which defaults to 0. -T--temp-dir=dir creates a temporary file in Dir. --compare-dest=dir also compares the files in DIR to determine if a backup is required. -P is equivalent to--partial. --progress shows the backup process. -Z,--compress compresses the files that are backed up when they are transferred. --EXCLUDE=PATTERN Specifies to exclude file patterns that do not need to be transferred. --INCLUDE=PATTERN Specifies the file mode that is not excluded and that needs to be transferred. --exclude-from=file excludes files in the specified schema in file. --include-from=file does not exclude files that specify pattern matching. --version print version information. --address is bound to a specific address. --CONFIG=FILE specifies a different configuration file and does not use the default rsyncd.conf file. --port=port specifies a different rsync service port. The--blocking-io uses blocking IO on the remote shell. -stats gives the transfer status of some files. --progress the actual transmission process during transmission. --LOG-FORMAT=FORMAT Specifies the log file format. --password-file=file gets the password from file. --bwlimit=kbps limit I/O bandwidth, Kbytes per Second -H,--help displays help information.
From: http://man.linuxde.net/rsync-v,--verbose verbose mode output. -Q,--quiet thin output mode. -C,--checksum turns on the check switch to force a checksum of the file transfer. -A,--archive archive mode, which means that files are transferred recursively, and all file attributes are maintained, equal to-rlptgod. -R,--recursive subdirectories are processed in recursive mode. -R,--relative uses relative path information. -B,--backup creates a backup, that is, the old file is renamed to ~filename when the same file name exists for the purpose. You can use the--suffix option to specify a different backup file prefix. --backup-dir store backup files (such as ~filename) in the directory. -suffix=suffix defines the backup file prefix. -U,--update only updates, that is, skips all existing DST, and the file time is later than the file to be backed up, not overwriting the updated file. -L,--links retains the soft-link knot. -L,--copy-links to handle soft links like regular files. --copy-unsafe-links only copies links to the SRC Path directory tree. --safe-links ignores links to links other than the SRC path directory tree. -H,--hard-links preserves hard links. -P,--perms maintain file permissions. -O,--owner keep the file owner information. -G,--group keep the file group information. -D,--devices maintains device file information. -T,--times keeps file time information. -S,--sparse special processing of sparse files to save DST space. -N,--dry-run reality which files will be transmitted. -W,--whole-file copy files without incremental detection. -X,--one-file-system do not cross file system boundaries. -B, the block size used by the--block-size=size test algorithm is 700 bytes by default. -E,--rsh=command specifies that data is synchronized using RSH and SSH. --RSYNC-PATH=PATH Specifies the path information for the rsync command located on the remote server. -C,--cvs-exclude uses the same method as CVs to automatically ignore files, which are used to exclude files that you do not want to transfer. --existing onlyOnly those files that already exist in DST are updated, not those newly created. --delete Delete those files that are not in the DST Src. --delete-excluded also deletes those files that are excluded by the option specified by the Receive side. After the--delete-after transmission is finished, delete again. --ignore-errors Timely IO errors are also deleted. --max-delete=num delete up to NUM files. --partial retains files that are not fully transmitted for any reason, in order to expedite subsequent transmissions. --force forcibly deletes the directory, even if it is not empty. --numeric-ids does not match the user and group ID of the number to the user name and group name. --timeout=time IP time-out, in seconds. -I,--ignore-times does not skip files that have the same time and length. --size-only when deciding whether to back up a file, just look at the file size regardless of the file time. --modify-window=num determines whether the file is time-stamped with the time Stamp window, which defaults to 0. -T--temp-dir=dir creates a temporary file in Dir. --compare-dest=dir also compares the files in DIR to determine if a backup is required. -P is equivalent to--partial. --progress shows the backup process. -Z,--compress compresses the files that are backed up when they are transferred. --EXCLUDE=PATTERN Specifies to exclude file patterns that do not need to be transferred. --INCLUDE=PATTERN Specifies the file mode that is not excluded and that needs to be transferred. --exclude-from=file excludes files in the specified schema in file. --include-from=file does not exclude files that specify pattern matching. --version print version information. --address is bound to a specific address. --CONFIG=FILE specifies a different configuration file and does not use the default rsyncd.conf file. --port=port specifies a different rsync service port. The--blocking-io uses blocking IO on the remote shell. -stats gives the transfer status of some files. --progress the actual transmission process during transmission. --LOG-FORMAT=FORMAT Specifies the log file format. --password-file=file gets the password from file. --bwlimit=kbps limit I/O bandwidth, Kbytes per Second -H,--help displays help information.
From: Http://man.linuxde.net/rsync-z,--compress the files that are backed up are compressed at the time of transmission.
From: Http://man.linuxde.net/rsync-z,--compress the files that are backed up are compressed at the time of transmission.
From: Http://man.linuxde.net/rsync
rsync incremental Replication command usage and daemon configuration