Re: Q about using tar to do backups
From: AnonymousFC3 (no_at_em.niet)
Date: 02/28/05
- Next message: googlinggoogler_at_hotmail.com: "openmosix and clustering hardware"
- Previous message: rickrbyrne_at_nf.sympatico.ca: "802.11b network with linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 >
- Next message: googlinggoogler_at_hotmail.com: "openmosix and clustering hardware"
- Previous message: rickrbyrne_at_nf.sympatico.ca: "802.11b network with linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|