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

Incremental Backup



Simplistic solution:

	cd /
	tar -cf /dev/tape .
	touch /LAST_TAR_TIME

[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...

- -- Raju

>>>>> "Lakshmi" == Lakshmi Anand K <lakshmianand@xxxxxxxx> writes:

    Lakshmi>     Someone enlighten me how to do Incremental backup
    Lakshmi> with tar. I backup to the local hdd and remote
    Lakshmi> machines(smbmounted). The -g option has driven me
    Lakshmi> crazy. Please say an example command.  Please Dont say me
    Lakshmi> to read man tar. I have wasted 10hrs in that and lost my
    Lakshmi> peace of mind.

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

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