I am running a bash script to synchronise files on a number of comptuers, but for some reason the files on my PC which I perform the back up from does not mirror the home directory. All the other files are being mirrored on my PC and the other workstations correctly. That is an old source file is delete and when the back up runs again the old file is deleted from the backup. Note also using -a (archive does not make a difference) neither does using --delete
I have also tried running the bash script as the user and as root.
The destination drive is simply a removable drive on the same PC.
The code that I was running was
Where as if I specifically nominated folders it seems to work
rsync -rt --progress --del -vv /home/ /media/Backup1/TESTW100/home/
I dont want to manually type in every folder so can you let me know what I am missing. Like I say it seems to be unique to the home folder only.
rsync -rt --progress --del -vv /home/au009900/Documents/ /media/Backup1/TESTW100/home/au009900/Documents/
rsync -rt --progress --del -vv /home/au009900/Desktop/ /media/Backup1/TESTW100/home/au009900/Desktop/
rsync -rt --progress --del -vv /home/au009900/Downloads/ /media/Backup1/TESTW100/home/au009900/Downloads/
rsync -rt --progress --del -vv /home/au009900/Music/ /media/Backup1/TESTW100/home/au009900/Music/
rsync -rt --progress --del -vv /home/au009900/Desktop/ /media/Backup1/TESTW100/home/au009900/Picutres/
rsync -rt --progress --del -vv /home/au009900/Videos/ /media/Backup1/TESTW100/home/au009900/Videos/