From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079346819542.tru64-unix-managers.marc@archive.invalid> From: "Dr. Otto Titze, Kernphysik TUD, +49 6151 162916" Date: Thu, 11 May 2000 11:21:20 +0000 To: tru64-unix-managers Subject: SUMMARY[2]: How to exclude Files from Backup X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079346819542 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 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 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 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@ikp.tu-darmstadt.de Tel: +49(6151)16-2916,FAX:16-4321| -------------------------------------------------------------------------