Re: Amanda backup
Sébastien GALLET a écrit :
> Martins Armando a écrit :
>
>> Bonjour a tous,
>
> Salut
>
>>
>> je suis en train de configurer un systeme de sauvegarde avec amanda.
>>
> ...
>
>> amcheck-server: slot 3: date 20050902 label Daily3 (active tape)
>> amcheck-server: slot 4: date 20050902 label Daily4 (active tape)
>> NOTE: skipping tape-writable test
>> Tape Daily5 label ok
>> Server check took 1.091 seconds
>
> C'est un vrai changeur de bandes ça ???
>
>>
>> Amanda Backup Client Hosts Check
>> --------------------------------
>> Client check: 2 hosts checked in 10.966 seconds, 0 problems found
>>
> Peux-donner le contenu de :
> ton amanda.conf et disklist de ton serveur.
> le .amandahosts, la config inet ou (xinet) de ton client
> Utilises-tu iptables sur le client ?
>
>
voila la config sur les serveur :
Le fichier /etc/xinetd.d/amanda
service amandaidx
{
socket_type = stream
protocol = tcp
wait = no
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amindexd
}
service amidxtape
{
socket_type = stream
protocol = tcp
wait = no
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amidxtaped
}
service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amandad
}
-------------------------------------------------------------------------------------------------
Le fichier /etc/amanda/amanda.conf :
org "Daily"
mailto "root"
dumpuser "backup"
inparallel 4
netusage 600
dumpcycle 4 weeks
bumpsize 20 MB
bumpdays 1
bumpmult 4
tapecycle 9
tapetype HARD-DISK
tpchanger "chg-disk"
changerfile "/etc/amanda/Daily/changer"
tapedev "file:/mnt/amanda/Daily"
labelstr "^Daily[0-9][0-9]*$"
diskdir "/mnt/holding"
disksize 2000 MB
infofile "/var/lib/amanda/Daily/curinfo"
logfile "/var/log/amanda/Daily/log"
indexdir "/var/lib/amanda/Daily/index"
define tapetype HARD-DISK {
comment "Dump onto hard disk"
length 3072 mbytes
}
define dumptype comp-user-index {
comment "Non-root partitions on reasonably fast machines"
compress client fast
options index, compress-fast
index yes
priority medium
}
------------------------------------------------------------------------------------------------------
Le fichier /etc/amando/Daily/discklist
debtest.localdomain hda1 comp-user-index
debtest1.localdomain hda1 comp-user-index
---------------------------------------------------------------------------------------------------
Le fichier /etc/amandahost :
debtest.localdomain backup
debtest1.localdomain backup
Et voila la config du client
Le fichier /etc/xinetd.d/amanda :
service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = backup
group = backup
groups = yes
server = /usr/lib/amanda/amandad
}
---------------------------------------------------------------------------------------------------------
Le fichier /etc/amandahosts
localhost backup
debtest.localdomain backup
Voila en plus je n'utilise pas iptables pour le moment mais je c qu'il y
as le module contrack pour amanda dans iptables des que ça fonctionnera
Comme tu peu le constater j'utilise chg-disk pour la simulation des
bandes et pour cela j'ai mis les droits adequoite sur les repertoires
contenant les dossiers.
Enfin vraiment la je seche, et ce qui me navre encore plus c'est que je
c que ça doit encore etre un truc à la con (de ma faute forcément).
--
###L'abus de debian est bon pour la santé###
Martins Armando
Reply to: