Michael Sullivan wrote:
> Every Sunday I have cron make full backups of the /home directories on
> each of my computers (it's a home network). I then run tar tvf >
> <date>.txt on each tarball and compare it to the tarball from the last
> week, and then delete from the tarball the previous week every
> included file that hasn't changed. I make the comparison by saying
>
> reset; diff <last-Sunday>.txt <this-Sunday>.txt | grep
> '<directory-name> | grep '<'
>
> As you can imagine, this can be quite time consuming. Is there an
> easier way to do this? I was thinking either one included in tar that
> would compare the two tarballs and then delete from the old one any
> duplicate files. Or, is there a way to extract only the filenames
> from "diff <last-Sunday>.txt <this-Sunday>.txt | grep
> '<directory-name> | grep '<'" to be included in a script that removes
> filenames without duplicates and then passes to tar for deletion?
Have you considered using a different backup tool with better
incremental backup functionality like dar?
Chad Martin
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/