nan!
Quand tu fais un rsync tu retrouveras dans --backup la copie conforme du répertoire source.
Tu ne trouvera dans --backup-dir que les fichiers modifiés qui etait déjà existant.
D'ailleurs c'est ecrit dans le man:
-b, --backup
With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the --backup-dir and --suffix options. Note that if you don't specify --backup-dir, the --omit-dir-times option will be enabled.
[^] # Re: Tout va bien !
Posté par asciii . En réponse au message Problème de sauvegarde avec rsync. Évalué à 1.
Quand tu fais un rsync tu retrouveras dans --backup la copie conforme du répertoire source.
Tu ne trouvera dans --backup-dir que les fichiers modifiés qui etait déjà existant.
D'ailleurs c'est ecrit dans le man:
-b, --backup
With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the --backup-dir and --suffix options. Note that if you don't specify --backup-dir, the --omit-dir-times option will be enabled.
j'espère que ca t'aidera.