rsync ã®ä½¿ç¨ä¾ rsync ã®ããããã使ãæ¹ãè¦ã¤ããããrsync[email protected] å®ã¦ã«ã¡ã¼ã«ã§éã£ã¦ä¸ããããã®ãã¼ã¸ã«æ²è¼ãã¾ãã ã¹ãã¢ã»ãã£ã¹ã¯ã¸ã®ããã¯ã¢ãã èªåã®ãã·ã³ã§ rsync ã使ã£ã¦ãã¼ã«ã«ã»ããã¯ã¢ããã試ãã¦ã¿ã¾ããã ã¡ã¤ã³ã»ãã£ã¹ã¯ã«ããå ¨ã¦ã®å 容ã®ããã¯ã¢ãããå¥ã®ã¹ãã¢ã»ãã£ã¹ã¯ã«åãã¾ãã å¤ã«ã¯ã¼ãã³ã§ã¡ã¤ã³ã»ãã£ã¹ã¯ã®ããã¯ã¢ãããè¡ã£ã¦ãã¾ããã ããã§ä½¿ã£ãã¹ã¯ãªããã¯ãããªæãã§ãã #!/bin/sh export PATH=/usr/local/bin:/usr/bin:/bin LIST="rootfs usr data data2" for d in $LIST; do mount /backup/$d rsync -ax --exclude fstab --delete /$d/ /backup/$d/ u
{{#tags}}- {{label}}
{{/tags}}