LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   linux diff for links nonresolving (https://www.linuxquestions.org/questions/linux-software-2/linux-diff-for-links-nonresolving-787855/)

icegood 02-08-2010 04:32 PM

linux diff for links nonresolving
 
Where can i find such subj? I don't see that standart diff supports such feature. It will be used for backup big directory like /home. Because directory is too big so repositories like svn are unacceptable. Good case seems to be diff+tar.gz to save differences for last n-th monthes for example. /home could contain doth hard and symbolic links that are not resolvable on backup machine but could have sense at all (= be resolvable on other machines where /home is used too via nfs mounting).

Meson 02-08-2010 04:47 PM

I'm having a hard time understanding what you're asking. Are you trying to do a differential backup, but having a hard time with sym/hardlinks? Can I you confirm that you're not actually doing an incremental backup? Are these all text files?

icegood 02-09-2010 06:38 AM

Quote:

Originally Posted by Meson (Post 3857165)
I'm having a hard time understanding what you're asking. Are you trying to do a differential backup, but having a hard time with sym/hardlinks? Can I you confirm that you're not actually doing an incremental backup?

In general terminology it's rather Reverse incremental - i want have last work copy + 3-month deltas each of them is per-week

Quote:

Originally Posted by Meson (Post 3857165)
Are these all text files?

Generally speaking - no.

Meson 02-09-2010 08:37 AM

You should check out rsync and the --compare-dest option along with all of the different options for handling hard and soft links.

icegood 02-09-2010 08:46 AM

Quote:

Originally Posted by Meson (Post 3857836)
You should check out rsync and the --compare-dest option along with all of the different options for handling hard and soft links.

Are that options within diff? My diff under debian hasn't such options :(


All times are GMT -5. The time now is 10:10 PM.