[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Incremental Backup



On Wed, May 26, 1999 at 11:53:42AM +0530, Raj Mathur wrote:
> Simplistic solution:
> 
> 	cd /
> 	tar -cf /dev/tape .
> 	touch /LAST_TAR_TIME

I think you should Make it:
 	cd /
 	touch /LAST_TAR_TIME
 	tar -cf /dev/tape .

... to also include those files which were being edited during the tar
operation!

Vinod

> 
> [a few days later]
> 
> 	cd /
> 	find / -newer /LAST_TAR_TIME > /tmp/TARFILES
> 	tar --files-from=/tmp/TARFILES -cf /dev/tape
> 	rm -f /tmp/TARFILES
> 	touch /LAST_TAR_TIME
> 
> and so on...

- --------------------------------------------------------------------
To unsubscribe send an email to majordomo@xxxxxxxxx with the word
'unsubscribe linux-india' (without the quotes) in the body of the email.

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