Re: exclude not excluding?

Jon Moore <[email protected]> Tue, 24 Aug 2004 11:13:31 -0400
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tom,

You need to separate your directories with commas, as in:

exclude = /proc, /backup, /dev, /tmp

Jon

tom fogal wrote:

| Hi all, my hdup runs do not seem to be excluding the directories I ask
| it to, and this causes my backups to be much too large and fail. My
| hdup.conf looks somewhat like this:
|
| --- hdup.conf ---
| [global]
| date spec      = american
| tar            = /bin/tar
| user           = operator
| group          = operator
| compression    = gzip
| exclude        = /proc /backup /dev /tmp
| overwrite      = true
| skip           = true
| force          = true
| one filesystem = true
|
| [apollo-root]
| exclude        = /proc /backup /dev /tmp /boot /home/gfowler /mnt
| archive dir    = /backup/root
| dir            = /
| prerun         = /bin/mount -t ext3 /dev/hde3 /backup/root
| postrun        = /bin/umount /dev/hde3
|
| [apollo-boot]
| archive dir    = /backup/boot
| dir            = /boot
| prerun         = /bin/mount -t ext3 /dev/hde1 /backup/boot
| postrun        = /bin/umount /dev/hde1
| --- hdup.conf ---
|
| I also noticed an 'excludelist' file in /backup/root/apollo-root/etc.
| It seems to have all the directories I want...
|
| [tfogal@apollo etc]# cat excludelist
| /proc /backup /dev /tmp /boot /home/gfowler /mnt
| /backup/root/
| [tfogal@apollo etc]# wc -l excludelist
|       2 excludelist
|
| Any ideas as to whats going on?
|
| TIA,
|
| -tom
|

- --
Jon Moore
"The truth is not always the same as the majority decision." (Pope John Paul)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBK1sbosdJ57trIsQRAsm1AJoDOx6BX0vxU1EYq/5eTv/0tV6JDwCgjmrs
Wrsb36k9aoVKaoB6r4EM9IM=
=I7vm
-----END PGP SIGNATURE-----