http://iotn.co.kr ¿¬¶ôó: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / ìíÜâïÙݤªÏìíÜâÏÚªÎàõîÜÒ¿ÖË?ßåíºªËÞóñªª¹ªÙª­. ]

»ç¿ëÀÚ

ID:
PW:

INDEX
01.°Ô½ÃÆÇ
°Ô½ÃÆÇ [69]
02.File Book
File ÀÚ·á½Ç [95]
Site Link [18]
°³ÀÎÆú´õ [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2888]
PostgreSQL [103]
±âŸÁ¤º¸ [150]
¿î¿µÃ¼Á¦ [577]
04.Q/A Book
Q/A [53]
05.¹æ¸í·Ï
¹æ¸í·Ï [54]
·¹º§¾÷ [37]
±¸ÀÎ/±¸Á÷ [2]

±â³äÀÏ
Search
LINK
+ °¡Á· Hompy
+ DNSEver
IOTN :: Field Book :: ¿î¿µÃ¼Á¦

 È¸¿ø°¡ÀÔ

rsync »ç¿ë¿¹
ÃÖ±æÈ£ [LIST]   2011-11-13 08:45:12, Á¶È¸ : 17,097

Ãß°¡
rsync -av -e "ssh -p 2232" /backup/expdp/* oracle@backup:/backup/expdp/
cd /backup/
rsync -a --rsh='ssh -p222' arch server7:`pwd`
cd /backup/arch
find . -mtime -10 -type f | rsync -av --rsh='ssh -p222' --files-from=- .  server7:`pwd`


Ãß°¡ 2012/12
#!/bin/ksh
echo `date +%y%m%d_%H:%M`: BACKUP Start >> /tmp/rsync.`date +%y%m%d`.start.log
### rsync -ar --progress --bwlimit=10240 /data/img /backup/
### rsync -arP --bwlimit=10240 --files-from=/data/img.list /data/img /backup/
find /data/img | rsync -ar --files-from=- / /backup/
echo `date +%y%m%d_%H:%M`: BACKUP END >> /tmp/rsync.`date +%y%m%d`.end.log
# rsync -arP
# rsync -ar --progress
# rsync -ar --bwlimit=1024
# rsync -ar --files-from=list.file

rsync -av /data/src/ /new/
rsync -avz oldsvr:/data/src/ /data/

[root@dbsvr :/root]# rsync
rsync  version 2.6.3  protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              inplace, IPv6, 64-bit system inums, 64-bit internal inums

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

rsync is a file transfer program capable of efficient remote update
via a fast differencing algorithm.

Usage: rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST
  or   rsync [OPTION]... [USER@]HOST:SRC DEST
  or   rsync [OPTION]... SRC [SRC]... DEST
  or   rsync [OPTION]... [USER@]HOST::SRC [DEST]
  or   rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST
  or   rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST]
  or   rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST
SRC on single-colon remote HOST will be expanded by remote shell
SRC on server remote HOST may contain shell wildcards or multiple
  sources separated by space as long as they have same top-level

Options
-v, --verbose               increase verbosity
-q, --quiet                 decrease verbosity
-c, --checksum              always checksum
-a, --archive               archive mode, equivalent to -rlptgoD
-r, --recursive             recurse into directories
-R, --relative              use relative path names
     --no-relative           turn off --relative
     --no-implied-dirs       don't send implied dirs with -R
-b, --backup                make backups (see --suffix & --backup-dir)
     --backup-dir            make backups into this directory
     --suffix=SUFFIX         backup suffix (default ~ w/o --backup-dir)
-u, --update                update only (don't overwrite newer files)
     --inplace               update destination files inplace (SEE MAN PAGE)
-K, --keep-dirlinks         treat symlinked dir on receiver as dir
-l, --links                 copy symlinks as symlinks
-L, --copy-links            copy the referent of all symlinks
     --copy-unsafe-links     copy the referent of "unsafe" symlinks
     --safe-links            ignore "unsafe" symlinks
-H, --hard-links            preserve hard links
-p, --perms                 preserve permissions
-o, --owner                 preserve owner (root only)
-g, --group                 preserve group
-D, --devices               preserve devices (root only)
-t, --times                 preserve times
-S, --sparse                handle sparse files efficiently
-n, --dry-run               show what would have been transferred
-W, --whole-file            copy whole files, no incremental checks
     --no-whole-file         turn off --whole-file
-x, --one-file-system       don't cross filesystem boundaries
-B, --block-size=SIZE       force a fixed checksum block-size
-e, --rsh=COMMAND           specify the remote shell
     --rsync-path=PATH       specify path to rsync on the remote machine
     --existing              only update files that already exist
     --ignore-existing       ignore files that already exist on receiving side
     --delete                delete files that don't exist on the sending side
     --delete-excluded       also delete excluded files on the receiving side
     --delete-after          receiver deletes after transferring, not before
     --ignore-errors         delete even if there are I/O errors
     --max-delete=NUM        don't delete more than NUM files
     --partial               keep partially transferred files
     --partial-dir=DIR       put a partially transferred file into DIR
     --force                 force deletion of directories even if not empty
     --numeric-ids           don't map uid/gid values by user/group name
     --timeout=TIME          set I/O timeout in seconds
-I, --ignore-times          turn off mod time & file size quick check
     --size-only             ignore mod time for quick check (use size)
     --modify-window=NUM     compare mod times with reduced accuracy
-T, --temp-dir=DIR          create temporary files in directory DIR
     --compare-dest=DIR      also compare destination files relative to DIR
     --link-dest=DIR         create hardlinks to DIR for unchanged files
-P                          equivalent to --partial --progress
-z, --compress              compress file data
-C, --cvs-exclude           auto ignore files in the same way CVS does
     --exclude=PATTERN       exclude files matching PATTERN
     --exclude-from=FILE     exclude patterns listed in FILE
     --include=PATTERN       don't exclude files matching PATTERN
     --include-from=FILE     don't exclude patterns listed in FILE
     --files-from=FILE       read FILE for list of source-file names
-0, --from0                 all *-from file lists are delimited by nulls
     --version               print version number
     --daemon                run as an rsync daemon
     --no-detach             do not detach from the parent
     --address=ADDRESS       bind to the specified address
     --config=FILE           specify alternate rsyncd.conf file
     --port=PORT             specify alternate rsyncd port number
     --blocking-io           use blocking I/O for the remote shell
     --no-blocking-io        turn off --blocking-io
     --stats                 give some file transfer stats
     --progress              show progress during transfer
     --log-format=FORMAT     log file transfers using specified format
     --password-file=FILE    get password from FILE
     --bwlimit=KBPS          limit I/O bandwidth, KBytes per second
     --write-batch=FILE      write a batch to FILE
     --read-batch=FILE       read a batch from FILE
     --checksum-seed=NUM     set block/file checksum seed
-4, --ipv4                  prefer IPv4
-6, --ipv6                  prefer IPv6
-h, --help                  show this help screen


Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation
See http://rsync.samba.org/ for updates, bug reports, and answers
rsync error: syntax or usage error (code 1) at main.c(1073)
3.235.78.122


ÃÖ±æÈ£
rsync -avH /data/* root@svr:/nas 2013-10-17
18:45:48



  LIST

Á¦¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ Á¶È¸
Linux  CentOS7 ȨÆäÀÌÁö Migration ¸Þ¸ð    ÃÖ±æÈ£ 2022/06/22 16
Linux  ssmtp: 450 4.7.1 Error: too much mail / warning: Message delivery request rate limit exceeded:    ÃÖ±æÈ£ 2022/05/26 22
Linux  No package ssmtp available. / Error: Nothing to do    ÃÖ±æÈ£ 2022/05/26 21
Windows  Windows 10 ÇÑ±Û »ç¿ëÀÚ¸í º¯°æ    ÃÖ±æÈ£ 2022/04/06 37
AIX (IBM)  ftp backup delete script / ftp ¹é¾÷, »èÁ¦ script    ÃÖ±æÈ£ 2022/03/30 1613
Windows  .bat .cmd file error keep running / .bat .cmd ¿¡·¯ ´ÙÀ½ °è¼Ó ½ÇÇà / call Ãß°¡    ÃÖ±æÈ£ 2022/03/16 76
Windows  forfiles 200M ÀÌ»ó ÆÄÀÏ È®ÀΠ   ÃÖ±æÈ£ 2022/02/16 69
Windows  [ regedit ] reg add    ÃÖ±æÈ£ 2022/02/15 68
Windows  windows tail    ÃÖ±æÈ£ 2022/02/10 106
Solaris  solaris dns ping: unknown host    ÃÖ±æÈ£ 2022/02/08 108
Linux  /dev/mapper/mpathf: read failed after 0 of 4096 at 0: Input/output error    ÃÖ±æÈ£ 2021/12/14 92
Linux  wget --no-check-certificate    ÃÖ±æÈ£ 2021/11/11 105
Windows  Windows VPN ÁöÁ¤ÇÑ Æ÷Æ®°¡ ÀÌ¹Ì ¿­·Á ÀÖ½À´Ï´Ù. [ ipTIME vpn ]    ÃÖ±æÈ£ 2021/10/20 126
Solaris  solaris 11.4 crontab    ÃÖ±æÈ£ 2021/10/03 455
Linux  lsblk [ disk mount view ]    ÃÖ±æÈ£ 2021/06/02 223
AIX (IBM)  AIX ssh very slow    ÃÖ±æÈ£ 2021/04/15 275
AIX (IBM)  aix 7.2 /etc/resolv.conf    ÃÖ±æÈ£ 2021/04/15 234
Linux  yum install tigervnc-server    ÃÖ±æÈ£ 2021/03/08 275

    ¸ñ·Ïº¸±â   ´ÙÀ½ÆäÀÌÁö 1 [2][3][4][5][6][7][8][9][10]..[29]   [´ÙÀ½ 10°³]
       

Copyright 1999-2022 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
ÃÖ±Ù ´ñ±Û
2016/06/09
201606 Ãß°¡ grid/runcluvfy.sh...
by ÃÖ±æÈ£
2016/05/09
lg tab full screen VNCSERVE...
by ÃÖ±æÈ£
2013/10/17
rsync -avH /data/*

by ÃÖ±æÈ£
ÃÖ±Ù °Ô½Ã¹°
06/29
[ORACLE]
DDE: Problem Key 'ORA 600 [133....
by ÃÖ±æÈ£
06/25
[ORACLE]
Replication may not be valid i....
by ÃÖ±æÈ£
06/22
[¿î¿µÃ¼Á¦]
CentOS7 ȨÆäÀÌÁö Migration ¸Þ¸ð.
by ÃÖ±æÈ£