On Tue, 15 Jan 2002, Joshua Baker-LePain wrote:
> On 15 Jan 2002 at 1:22pm, [EMAIL PROTECTED] wrote
>
> > Amanda cans make backups for a directory or only file systems?
> > For example backup /export/home/amanda
>
> If you use dump as your backup program, then it can only do file systems.
>
> If you use tar, then you can do directories.
>
Hmm, if I remember correctly, i've made subtree dump in the past with
amanda. BTW there's that's from ext2fs dump manpage:
[snip]
file-to-dump is either a mountpoint of a filesystem or a directory to
be backed up as a subset of a filesystem. In the former case, either
the path to a mounted filesystem or the device of an unmounted
filesystem can be used. In the latter case, certain restrictions are
placed on the backup: -u is not allowed and the only dump level that
is supported is -0.
[snip]
so it's possible (with some restrictions e.g. only full dumps). The same
applies for xfsdump:
...
-s pathname [ -s pathname ... ]
Restricts the dump to files contained in the speci-
fied pathnames (subtrees). Up to 100 pathnames can
be specified. A pathname must be relative to the
mount point of the filesystem. For example, if a
filesystem is mounted at /d2, the pathname argument
for the directory /d2/users is ``users''. A pathname
can be a file or a directory; if it is a directory,
the entire hierarchy of files and subdirectories
rooted at that directory is dumped. Subtree dumps
cannot be used as the base for incremental dumps (see
the -l option above).
...
HTH,
-m
>