Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I noticed that every now and then, my backups will start failing because I run out of disk space, then I find out that I get tons of these rsync errors:
cannot delete non-empty directory: [folder name]
Rsync is suppose to delete files that no longer exist in the source, I don't care if the folder is not empty in the destination, if it's gone in the source, then I want rsync to delete it. Why is it that it does this?
This is the rsync command I use:
baksource is the source folder. Any help getting this to work properly would be appreciated, thanks.
cannot delete non-empty directory: [folder name]
Rsync is suppose to delete files that no longer exist in the source, I don't care if the folder is not empty in the destination, if it's gone in the source, then I want rsync to delete it. Why is it that it does this?
This is the rsync command I use:
Code:
rsync -vrbupoglc --delete-delay --exclude-from="exclude.txt" ${baksource} /mnt/rembackupdisk/bakdata/ | grep -vi "skipping "
baksource is the source folder. Any help getting this to work properly would be appreciated, thanks.