Displaying 1 result from an estimated 1 matches for "exclusionrsync".
2015 Jul 15
0
Rsync creates empty directories with backup-dir option
With rsync 3.1.1 (on debian), using the "backup-dir" option creates a tree of empty folders inside the backup repository. This doesn't affect the transfer (all files and folder are copied anyway).
Example:
----
rsync -rtvhPx --delete --stats --exclude-from=/home/pierre/scripts/ExclusionRSync --backup --backup-dir=/media/pierre/g2/sauvegardes/fichiers_supprimes_pierre /home/pierre/ /media/pierre/g2/sauvegardes/sauvegarde_pierre
----
The previous command (launched the first time) recreates the whole structure of folders inside the "/media/pierre/g2/sauvegardes/fichiers_supprimes_p...