The problem with dump is that it can't do incremental backups on regular directories. Dump must do a full backup of regular files/directories ie. a level 0 dump, which isn't flexible enough for my site. To do incremental backups with dump, the dump must be performed on an entire filesystem, the reason I think is because it can't handle complicating the /etc/dumpdates database.
-----Original Message----- From: ramon buckland [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 11 June 2002 12:01 To: Minh Van Le Subject: RE: [SLUG] How to exclude a list of directories using GNU Find Hi, Not sure if your purpose suits, but, take a look at dump and restore, some specific backup and restore scripts for Linux. Hope that is helpful. Ramon. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Minh Van Le > Sent: Tuesday, 11 June 2002 4:20 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] How to exclude a list of directories using GNU Find > > > I'm using GNU Find to create a snapshot of files and their > attributes in a > backup script. What I can't find in the manual is an option > to exclude > specific file systems & directories, or a similar function to > Tar's --exclude-from option. Find's -mount option prevents > descent into > "other" filesystems, which is not flexible enough as I need > to create > snapshots for numerous "other" filesystems. > > A quick read of the scope at > http://www.gnu.org/manual/findutils-4.1/html_mono/find.html > showed that, > > These programs enable you to find the files in one or more > directory trees > that: > > have names that contain certain text or match a > certain pattern; > are links to certain files; > were last used during a certain period of time; > are within a certain size range; > are of a certain type (regular file, directory, > symbolic link, etc.); > are owned by a certain user or group; > have certain access permissions; > contain text that matches a certain pattern; > are within a certain depth in the directory tree; > or some combination of the above. > > Is there a better way to gather a file list, perhaps using > some combination > of find/xargs/locate ? > > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug > > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
