bash '3.2.25(1)-release (i686-redhat-linux-gnu)'
2.My duply tst1 & tst2 profile are all the same except the SOURCE=' ' config section
------------------------------------------
profile '/etc/duply/tst1' with exclude file as below:+ /usr/local/gd2
+ /usr/local/libpng
+ /usr/local/share
+ /usr/local/freetype
- /usr/local/mysql
- **
profile '/etc/duply/tst2' with exclude file as below:+ /usr/bin
+ /usr/sbin
- **
3. Diff -q -r WITH different output
----------------------------------------------
First When I test the tst1, It comes right!
1) address@hidden tmp]# duply tst1 restore /tmp/tst1_restore
2) address@hidden tmp]# ls /tmp/tst1_restore/
freetype gd2 libpng share
3) address@hidden tmp]# diff -q -r /tmp/tst1_restore/share/ /usr/local/share/
address@hidden tmp]#
<== Comes right.But when I test the tst2 ,It comes wrong !
1) address@hidden tmp]# duply tst2 restore /tmp/tst2_restore
2) address@hidden tmp]# ls /tmp/tst2_restore/
bin sbin
3) address@hidden tmp]# diff -q -r /tmp/tst2_restore/sbin/ /usr/local/sbin/
diff: /tmp/tst2_restore/sbin/accton: No such file or directory
<== wrongs !
diff: /tmp/tst2_restore/sbin/adsl-connect: No such file or directory
diff: /tmp/tst2_restore/sbin/adsl-setup: No such file or directory
diff: /tmp/tst2_restore/sbin/adsl-start: No such file or directory
diff: /tmp/tst2_restore/sbin/adsl-status: No such file or directory
diff: /tmp/tst2_restore/sbin/adsl-stop: No such file or directory
diff: /tmp/tst2_restore/sbin/alsactl: No such file or directory
diff: /tmp/tst2_restore/sbin/capiinit: No such file or directory
diff: /tmp/tst2_restore/sbin/hwclock: No such file or directory
diff: /tmp/tst2_restore/sbin/ibod: No such file or directory
diff: /tmp/tst2_restore/sbin/ipppstats: No such file or directory
diff: /tmp/tst2_restore/sbin/iprofd: No such file or directory
diff: /tmp/tst2_restore/sbin/isdnlog: No such file or directory
diff: /tmp/tst2_restore/sbin/kudzu: No such file or directory
diff: /tmp/tst2_restore/sbin/loopctrl: No such file or directory
diff: /tmp/tst2_restore/sbin/mkzonedb: No such file or directory
diff: /tmp/tst2_restore/sbin/neat: No such file or directory
diff: /tmp/tst2_restore/sbin/neat-tui: No such file or directory
diff: /tmp/tst2_restore/sbin/pppoe: No such file or directory
diff: /tmp/tst2_restore/sbin/pppoe-relay: No such file or directory
diff: /tmp/tst2_restore/sbin/pppoe-server: No such file or directory
diff: /tmp/tst2_restore/sbin/pppoe-sniff: No such file or directory
diff: /tmp/tst2_restore/sbin/serviceconf: No such file or directory
diff: /tmp/tst2_restore/sbin/system-config-lvm: No such file or directory
diff: /tmp/tst2_restore/sbin/system-config-network-cmd: No such file or directory
diff: /tmp/tst2_restore/sbin/system-config-network-gui: No such file or directory
diff: /tmp/tst2_restore/sbin/system-config-network-tui: No such file or directory
diff: /tmp/tst2_restore/sbin/system-config-services: No such file or directory
diff: /tmp/tst2_restore/sbin/vboxd: No such file or directory