« Info::rsync::Résumé bonnes pratiques rsync » : différence entre les versions
De wiki_pcwiki2
Aller à la navigationAller à la recherche
Page créée avec « KEYWORDS: RSYNC: BONNES PRATIQUES, RESUME '''Le 23/02/2026:''' Voici le résumé de ce qu'il faut faire: RSYNC_PASSWORD=${RSYNC_PASSWORD} rsync -avlh... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
KEYWORDS: RSYNC: BONNES PRATIQUES, | KEYWORDS: RSYNC: BONNES PRATIQUES, RÉSUMÉ | ||
'''Le 23/02/2026:''' | '''Le 23/02/2026:''' | ||
| Ligne 6 : | Ligne 6 : | ||
RSYNC_PASSWORD=${RSYNC_PASSWORD} rsync -avlh \ | RSYNC_PASSWORD=${RSYNC_PASSWORD} rsync -avlh \ | ||
--port=${strPort} \ | --port=${strPort} \ | ||
--partial | '''--partial''' \ | ||
--progress | '''--progress''' \ | ||
--times | '''--times''' \ | ||
--omit-dir-times | '''--omit-dir-times''' \ | ||
--modify-window=1 | '''--modify-window=1''' \ | ||
--no-perms | '''--no-perms''' \ | ||
--no-group | '''--no-group''' \ | ||
--no-owner | '''--no-owner''' \ | ||
... | ... | ||
${strTargetServer}.pcstreet.org::RaCiNe/${strDir} \ | ${strTargetServer}.pcstreet.org::RaCiNe/${strDir} \ | ||
/mnt/16To/${strTargetServer}/ | '''/mnt/16To/${strTargetServer}/''' \ | ||
>> "${strLogOut}" 2>"${strTmpErr}" | >> "${strLogOut}" 2>"${strTmpErr}" | ||
'''Et surtout, ne pas utiliser le '.' en tant que destination !''' | |||
Version du 23 février 2026 à 08:55
KEYWORDS: RSYNC: BONNES PRATIQUES, RÉSUMÉ
Le 23/02/2026:
Voici le résumé de ce qu'il faut faire:
RSYNC_PASSWORD=${RSYNC_PASSWORD} rsync -avlh \
--port=${strPort} \
--partial \
--progress \
--times \
--omit-dir-times \
--modify-window=1 \
--no-perms \
--no-group \
--no-owner \
...
${strTargetServer}.pcstreet.org::RaCiNe/${strDir} \
/mnt/16To/${strTargetServer}/ \
>> "${strLogOut}" 2>"${strTmpErr}"
Et surtout, ne pas utiliser le '.' en tant que destination !