Thank you! Looks good ;)
-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda
DOT org] Im
Auftrag von Paul Bijnens
Gesendet: Donnerstag, 19. August 2004 14:23
An: Sebastian Kösters
Cc: amanda-users AT amanda DOT org
Betreff: Re: Question: backup just 1 file
Sebastian Kösters wrote:
> at the moment Amanda backups different dirs from different servers.
>
> An entry in disklist looks like this:
>
> server /dir hard-disk-tar
>
> Now the question.
>
> Is it possible to backup just a single file (like /etc/passwd for
example)?
With a recent Amanda version (at least 2.4.3), and using GNUTAR,
you can have a disklist entry like:
server /etc/passwd /etc {
hard-disk-tar
include "./passwd"
}
Note the disklist entry is indeed 4 lines.
The first "/etc/passwd" is just an arbitary string that must be unique
in the disklist for that host (if you omit it, it is assumed equal to
the disk/topleveldirectory).
The second "/etc" is the top level directory.
You can have an inline dumptype by put a brace+newline where the
normal dumptype should be.
There we include the normal "hard-disk-tar" that you already have,
and add the "include" directive to limit only to that one file or
directory.
>
> If yes what entry has to be made in disklist and what's about the curinfo
> and index dirs in /var/lib/amanda?
curinfo and indexes are fine.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|