You are not logged in.

#1 2022-05-15 22:07:07

pradtf
Member
Registered: 2009-06-10
Posts: 149

SOLVED rsync examining all files in destination regardless of source

i am rsyncing to an external 4T usb drive mounted as dest.

dest has directorties: dir1, dir2, src

my source dir is src (/home/src].

so i do

rsync -av --delete --exclude=.config /home/src dest/

that should bkp my src to dest/src which it does.

after that, what i see happening is that every file in dest/dir1 and dest/dir2 is being examined. i see stuff like:
src/dest/dir1/file1
src/dest/dir1/file2
...
src/dest/dir2/file1

i can even see the duration of these using
--progress


why is rsync even looking at these things in dir1 and dir2, when all it is supposed to do is sync src?
why doesn't it terminate after doing the job it was supposed to?
how do i stop this unsavory behavior?


is it because i have the mount point inside the src directory?

YES that was the problem.

Last edited by pradtf (2022-05-15 22:24:15)


in friendship,
prad

Offline

Board footer

Powered by FluxBB