On Sunday 09 April 2006 00:02, Gene Heskett wrote:
>
> Dump, since it works at the level of the inode structure of the
> filesystem, can hand handle full filesystems only. It has no concept
> of a subdir as its just another inode to dump. This is also why dump
> is specific to the filesystem, meaning you can't use dump ofr ext2
> against a reiserfs or dos partition type.
>
> If they fit, this is nice & possibly faster. But if they don't fit, tar
> is a much better way to do it.
>
That's fine. Thanks for the explanation.
> One thing that seems to bite new users is the exclude files formating
> when using tar.
>
> Since tar traverses the directory structure, a file to be excluded must
> be specified in ./name format, which will exclude 'name' and if 'name'
> is a subdir, all files up that branch will be excluded too.
>
> This is true regardless of whether you are just nameing a single file to
> exclude, or in a file specified as full path to file which may contain
> a list of names, in which case those names in that file need to be in
> that same ./name format.
In my /home definition I have the line
"/usr/local/etc/amanda/Daily/.exclude"
and the file '.exclude' has absolute paths to the subdirectories that contain
photos and video, e.g. /home/anne/recordings. It seems to work. If it
didn't I wouldn't be able to run that at all, as it would be far too big. I
guess that since that DLE is actually starting from /home I could have
shortened the path but only by one level. Right?
Anne
pgp5NAc2AF10C.pgp
Description: PGP signature
|