help-make
[Top][All Lists]
Advanced

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

Re: using make for backups


From: Nicholas Mc Guire
Subject: Re: using make for backups
Date: Mon, 24 Aug 2009 13:59:46 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, 24 Aug 2009, Payal wrote:

> Hi all
> Daily I take backup of a folder like this.
> tar -czf d-`date +%d%m%y`.tar.gz designs/
> The size comes ~ 2Gb of tar ball.

--update (-u) to tar would take care of that - it will only update changed
files - man tar for details.

> There are tens of folders/sub-folders inside design/.
> I observed that many days none of the files in design folder are changed or 
> are added/deleted and
> I am wasting resources making the tar-ball daily.
>
> Can I use make to take backups if files inside design/ are 
> modified/added/deleted or do I rather
> depend on tar to figure it out?
>

hofrat





reply via email to

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