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

Re: backup with tar

on Wed, Feb 27, 2002, Raffaele Sandrini (rasa@gmx.ch) wrote:
> Hi
> I use tar to do my backups.
> For now i allways do full backups. Is tar able to treat only changed files? 
> That would make my bakups smaller... :-)

# Full backup, run weekly:

    touch /var/log/full-backup-start
    tar cvf /dev/nst0 <system backup path(s)>

# Differential backups (from full), done nightly:

  $ find <path(s)> -depth -newer /var/log/full-backup-start -print0 |
    tar cvf /dev/nst0 --files-from --null 

I'd strongly recommend _differential_ rather than _incremental_ backups.
You're not building a house of cards susceptible to a single point of


Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpmgwJ7SNyBX.pgp
Description: PGP signature

Reply to: