Re: How to use tar to do increamental backup
From: zentara (zentara_at_highstream.net)
Date: Fri, 28 Nov 2003 10:23:38 -0500
On 27 Nov 2003 22:11:26 -0800, firstname.lastname@example.org (Steven)
>I am new in unix/linux. Now I need to know how to use tar to do
>increamental backup of my system. specifically I have the following
>1. Looking at the man page, it seems to have options like -d
>(difference), -u (update: which append the updated files to archive
>file), and -g, and -G. But I am not really sure which one to use for
>increamental backup. I tried -u, but it seem to still back up the
>whole things (not changed files only).
>2. In order not to overwrite the current archive file, do I have to
>change archive file name everytime I start to do increamental backup?
>e.g if I have a fullback called backupweend, do I have to chagne name
>to backupmon, backuptue if I do increamental backup on monday and
>tuesday? If yes, that means I have to write a script to do automatic
>3. If I tar the root filesystem "/", will all the filesystem mounted
>to it be backup too. If I have a storage system mounted as "/share",
>then the backup will include all the contents in "/share"? Is there a
>option not to include?
>Thanks for your help,
You should look at dar, http://dar.linux.free.fr/
It has a nice tutorial, and explains how to make
incremental backups. You have to read thru a few
docs, but it is well worth it. You're backup problems
will be solved. You can do all the things you mention
-- When life conspires against you, and no longer floats your boat, Don't waste your time with crying, just get on your back and float.