Re: Q about using tar to do backups

From: AnonymousFC3 (no_at_em.niet)
Date: 02/28/05


Date: Sun, 27 Feb 2005 19:46:59 -0800

Eric:
  what you want is usually referred to as "incremental backup".

The -u ( --update) option of tar may be just what you look for.
cpio may also help you there.

Also if the existing tar or cpio options are not fancy enough, you could use
find, and pipe the output into tar, for example.

To me the "compressed ISO9660" format would be idea with kernel 2.6... but
so far I could not make it work too well for me.

  AFC3

---
Eric wrote:
> I'm using tar to create a complete system backup.
> That works just fine but there doesnt seem to be a
> true "update" option to tar (or have i misunderstood this opt?).
> I really dont want to recreate the tar file each time, all I want
> to do is to have it updated if some of the files in the various
> dirs change or new files are added.
> Suppose I have an existing 500 meg tar file of directory /home/User1,
> and the next backup comes due and User1 has 5 files that changed. I
> dont want to delete the old 500 meg tar file but i would like to replace
> (not append a second copy as "-update" seems to suggest) the changed files
> in that tar.
> I think you see what I'm getting at.
> Is this do-able with a script? Would it be faster (hopefully) than
> simply erasing the old tar and creating a new one?
> Any ideas, bash snippets, suggestions, etc?
> Thanks
> Eric
> 


Relevant Pages

  • Re: backup to CD with tar
    ... It seems I must first make tar archives of this on my hard drive ... tar and dar, so you can finally rest assured that dar is your best ... backup files which are uncompressed. ...
    (comp.os.linux.misc)
  • Re: tape command for solaris 8
    ... >>ufsdump is the standard backup utility. ... >>you can backup and restore an entire system onto tape. ... > directly read the raw disk device), tar is a high level program that correctly ... > old Solaris versions that support to read the hole list, ...
    (comp.unix.solaris)
  • Re: tape command for solaris 8
    ... >>ufsdump is the standard backup utility. ... >>you can backup and restore an entire system onto tape. ... > directly read the raw disk device), tar is a high level program that correctly ... > old Solaris versions that support to read the hole list, ...
    (comp.sys.sun.admin)
  • Re: Q about using tar to do backups
    ... >>I'm using tar to create a complete system backup. ... >>dont want to delete the old 500 meg tar file but i would like to replace ...
    (alt.linux)
  • Re: Example of tar incremental backup?
    ... Then type "man tar". ... write a rudimentary backup routine. ... Use tar to back up your filesystems, to tape, to disk, remotely, ...
    (comp.os.linux.misc)