Pascal Robert wrote:
most of our servers have /var on a different partition. I just notice
this morning that the content of /var is not being back up, even if /var
is listed when I run amrecover.
So I assume that I have to put /var in the disklist ? If yes, since I
put a exclude list in /.amanda_excludes, do I need to create an another
.amanda_excludes in /var and create a new dumper in amanda.conf ?
You have to specify each partition. If you use gnutar for backup
than you can specify subdirectories of a partition.
If you use exclude lists, you can make them global (with an absolute
pathname) or local to the directory specified in the DiskListEntry.
If they are the same, then you should probably use the full pathname
in the exclude statement:
amanda.conf:
define dumptype tar-withexcl {
comp-user-tar
exclude list /.amanda_excludes
}
disklist:
my.host.dom / tar-withexcl
my.host.dom /var tar-withexcl
The content of the exclude list is still relative, i.e. an entry
"./tmp" if you will exclude /tmp and /var/tmp (and the entry "/tmp"
will exclude nothing at all).
--
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 *
***********************************************************************
|