duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] duply restore Bug [ # diff -q -r /tmp/restore/sbin /usr


From: han duply
Subject: [Duplicity-talk] duply restore Bug [ # diff -q -r /tmp/restore/sbin /usr/sbin ] Comes wrong!
Date: Fri, 2 Mar 2012 13:50:30 +0800

1.My Env to run duply:
 ---------------------------------------
duply version 1.5.5.5
duplicity version 0.6.17,
python 2.4.3,
gpg 1.4.5 (Home: ~/.gnupg), 
awk 'GNU Awk 3.1.5', 
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

===============================

So Is there anybody who had the same problem with me??
How Can I fix it??
Please give me your advice if you know sth. about it, TKS!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]