duplicity-talk
[Top][All Lists]
Advanced

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

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


From: han duply
Subject: Re: [Duplicity-talk] duply restore Bug [ # diff -q -r /tmp/restore/sbin /usr/sbin ] Comes wrong! {Amended 2}
Date: Tue, 6 Mar 2012 22:44:33 +0800

Hi ede!

TKS FOR YOUR NICE REPLY!!

Yes!  When I put them in the folder "sbin2" of /usr, and use the CMD "diff -q -r /usr/sbin /usr/sbin2" It Coms Right...

But two more Question come...

1.  Are these "missing files" Really Backuped in the FTP Server ??

     Because the CMD "du -sh /usr/sbin /usr/sbin2" gives me:
       /usr/sbin      34M
       /usr/sbin2    32M       <== So Where is the other files of 2M ?

    
2.  If "Yes" to the first Question and then...

     How could I fetch an old file from the backend (the FTP Server) and restore it to replace the file that missing or changed in the folder of  /usr/sbin ?

----------------------------------------------------------------------------


On Mon, Mar 5, 2012 at 9:53 PM, <address@hidden> wrote:
On 05.03.2012 14:38, han duply wrote:
>
> *2. I use "du -sh" command for file details and it puts this: *
>
> address@hidden sbin]# du -sh accton
> 0       accton *            <== Why is zero? *
> address@hidden sbin]# du -sh adsl-connect
> *0       adsl-connect   <==Why is zero? *
> *

because symlinks are stored in the inode, read
http://en.wikipedia.org/wiki/Symbolic_link#Storage_of_symbolic_links

> And when I use the " *ls /tmp/myrestore/sbin* " command for more details, I found sth. that is:
>
> All the *missing files (size is zero) *can display, but they all *are Blinking in the backgroud of red color. *
>
> Why??

because they were created relatively, meaning e.g.
 capiinit -> ../../sbin/capiinit
would translate to
 /tmp/myrestore/sbin/../../sbin/capiinit = /tmp/sbin/capiinit
but the target itself is in
 /sbin/capiinit
if you create a folder /usr/sbin2 and put them there they will find their target or better point to the correct target again

investigate some more about symlinks and you will understand. i assume the "bug" is resolved then?

..ede/duply.net


> -------------------------------------------------------------------------------
>
> On Mon, Mar 5, 2012 at 7:39 PM, <address@hidden <mailto:address@hidden>> wrote:
>
>     On 05.03.2012 12:00, han duply wrote:
>     > *Hi ede: *
>     >
>     > Another restore with another folder "myrestore" *with -v9 OUTPUT * is here:
>     >
>     > http://pastebin.com/LmcqpeBF
>     >
>
>     it claims to have written the missing files, check the output for yourself.
>
>     please pastebin a
>      ls -la /tmp/myrestore
>     for me.
>
>     ..ede/duply.net <http://duply.net>
>
>     _______________________________________________
>     Duplicity-talk mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

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