SUMMARY[2]: How to exclude Files from Backup

From: Dr. Otto Titze, Kernphysik TUD, +49 6151 162916 <TITZE_at_ikp.tu-darmstadt.de>
Date: Thu, 11 May 2000 12:21:20 +0100 (CET)

After my summary, I got some additional hints (like in some of the
first answers) as reply to the summary what to do instead of
vdump. I include the answers below.

Thank you all for your helpness and it is quite interesting to
learn new fancy things. But I will solve my problem by
organizational means. I will put these kind of data files,
typically experimental data which come from tapes anyway, away
from the normal user disks which are regularly backup'ed every
night.

Thanks and regards

Otto

Some hints:

From: joe comunale <jbc_at_forbin.qc.edu>

I didn't email you because I thought my lack of knowledge would just
confound you even more. However, since this list of professionals
acknowledges that there is no way, then my "work-around" solution
might help.

Solution (hard-core as it is):
Move your (advfs) fileset to another fileset until the backup for
that fileset is done. Once it completes it can be moved back.

This can be done in a script, or by hand if the number of domains
is 1 or 2.

Joe Comunale /url> forbin.qc.edu/~jbc
--------
From: Tom Webster <webster_at_ssdpdc.lgb.cal.boeing.com>

This is true of dump/vdump (as they are intended for backing up
entire filesystems). Tar (esp. GNU tar) and cpio both have facilities
for excluding files from backups.

Tom
---------
From: Ian Mortimer <ian_at_physics.uq.edu.au>

Hi Otto

Actually there are ways but not within vdump.

First way:

  Create a new fileset in the same domain. Move the directory
  you don't want backed up into that fileset and then mount it
  under the old directory. When you backup the main fileset
  the mounted directory doesn't get backed up.

Second way:

  Create a new fileset (somewhere: doesn't even have to be the
  same host). Use rsync to mirror files and directories you want
  backed up to the new fileset using rsync's exclude/include options
  to exclude files you don't want. Then backup the mirror fileset
  not the master.

The first one works well if you want to exclude just one or a few
directories but is no use for files scattered throughout the
directory hierarchy.

The second is good if you've got the disk space to spare.
It gives the added bonus of having a mirror of important files.

Regards
Ian

 -------------------------------------------------------------------------
| Dr. Otto Titze, Kernphysik TU, Schlossgartenstr. 9, D-64289 Darmstadt |
| titze_at_ikp.tu-darmstadt.de Tel: +49(6151)16-2916,FAX:16-4321|
 -------------------------------------------------------------------------
Received on Thu May 11 2000 - 10:24:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT