Re: exlude list

2008-10-09 Thread Thomas Wegner
Am Donnerstag, den 09.10.2008, 12:14 -0600 schrieb Mario Silva Borrego:

> depending what your amanda.conf says is the way you will hold this
> exclude file in the client side.
> And the format is quite easy, you just need to list the directories or
> files to be exclude in each run, although it can always be modified.

Thanks to all for advice. I've created an exlude list on the client and
seems to work.  :-)
Now I'm testing to recover some files.

-- 
Regards

Thomas


Homepage: www.tommiwe.de

Key fingerprint = 5451 1661 23A7 0C7D CA32 48B0 F266 5D60 0436 17C4



Re: exlude list

2008-10-09 Thread Mario Silva Borrego




Thomas:

depending what your amanda.conf says is the way you will hold this
exclude file in the client side.
And the format is quite easy, you just need to list the directories or
files to be exclude in each run, although it can always be modified.

Anyhow I am sending you a little example, is a file that I have in one
of my backed up clients:

# Exclude all the lost+found directories
./lost+found
./home/lost+found
./var/lost+found
./usr/lost+found
./opt/lost+found
#Exclude the tmp areas, devices and proc file system
./tmp
./var/tmp
./usr/local/tmp
./proc
./dev
# misc - BIG FILES -
./var/log/httpd
./var/log/maillog
./var/log/dovecot-info.log
./var/log/dovecot.log
./var/log/messages

This file is working with no problems. I know there are another possible
solutions using wild cards simbols, but is just more clear to me what I
am excluding and I don't have to waste time explaining other people
about wild cards  :-D 

mario

Thomas Wegner wrote:


  > Hi!
> I'm new to this list. I don't understand the way exclude lists work. I
> want to exclude /var/tmp, /var/log, /var/spool and /var/cache and
> also /tmp. Where do I have define exclude defintions?
> Is /etc/amanda/exclude_file the correct path? Can anyone send me an
> example of this file?
>
>   
  


-- 
Mario Silva Borrego
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division
2905 Rodeo Park Dr. East, Bldg. #5
Santa Fe, NM 87505
Phone:  (505) 476-6959 / Mobile: (505) 660-1026
Fax:(505) 476-6952

Website:  http://www.nmcourts.gov
mailto: [EMAIL PROTECTED]

LEGAL DISCLAIMER:

The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of Supreme Court of the State of New Mexico or the Judicial Information Division. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender's previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose.

AVISO LEGAL:

El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en  documento por escrito que contenga la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo Mexico o de la Division de Informatica del Estado. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario, se le prohíbe su utilización total o parcial para cualquier fin.



begin:vcard
fn:Mario Silva Borrego
n:Silva Borrego;Mario
org:Supreme Court of New Mexico;Judicial Information Division
adr:;;2905 Rodeo Park Dr. East, Bldg. #5;Santa Fe;NM;87505;USA
email;internet:[EMAIL PROTECTED]
title:Senior Systems Administrator
tel;work:(505) 476-6959
tel;fax:(505) 476-6952
tel;cell:(505) 660-1026
note;quoted-printable:LEGAL DISCLAIMER:=0D=0A=
	=0D=0A=
	The content of this data transmission is not considered as an offer, prop=
	osal, understanding, or agreement unless it is confirmed in a document=
	 signed by a legal representative of Supreme Court of the State of New=
	 Mexico or the Judicial Information Division. The content of this data=
	 transmission is confidential and it is intended to be delivered only to=
	 the addresses, therefore, it shall not be distributed and/or disclosed=
	 through any mean without the original sender's previous authorization.=
	 If you are not the addressee you are forbidden to use it, either totally=
	 or partially, for any purpose.=0D=0A=
	=0D=0A=
	AVISO LEGAL:=0D=0A=
	=0D=0A=
	El contenido de este mensaje de datos no se considera oferta, propuesta=
	 o acuerdo, sino hasta que sea confirmado en  documento por escrito que=
	 contenga la firma aut=C3=B3grafa del apoderado legal de La Suprema Corte=
	 del Estado de Nuevo Mexico o de la Division de Inform=C3=A1tica del Esta=
	do. El contenido de este mensaje de datos es confidencial y se entiende=
	 dirigido y para uso exclusivo del destinatario, por lo que no podr=C3=A1=
	 distribuirse y/o difundirse por ning=C3=BAn medio sin la previa autoriza=
	ci=C3=B3n del emisor original. Si usted no es el destinatario, se le proh=
	=C3=ADbe su utilizaci=C3=B3n total o parcial para cualquier fin.
x-mozilla-html:TRUE
url:http://www.nmcourts.gov
version:2.1
end:vcard



Re: sheduling backups

2008-10-09 Thread Mario Silva Borrego
Thomas:
The way to edit the Amanda Cron is with the command:

crontab -e

And if  you want just to list the cron jobs:
crontab -l

Advice you have to be logged as Amanda user, although you can have
direct access to all the user's cron jobs in the directory
/var/spool/cron, this directory holds all the cron files assigned to
each user that have a cron job

mario

Thomas Wegner wrote:
> Hi!
>
> I don't understood how to use cron for sheduling backups.  The
> documentation tells about using cron. Which cron file must be
> configured? /etc/amanda/cron.amanda or /etc/crontab? I'm running ubuntu
> 8.04.
>
>   


-- 
Mario Silva Borrego
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division
2905 Rodeo Park Dr. East, Bldg. #5
Santa Fe, NM 87505
Phone:  (505) 476-6959 / Mobile: (505) 660-1026
Fax:(505) 476-6952

Website:  http://www.nmcourts.gov
mailto: [EMAIL PROTECTED]

LEGAL DISCLAIMER:

The content of this data transmission is not considered as an offer, proposal, 
understanding, or agreement unless it is confirmed in a document signed by a 
legal representative of Supreme Court of the State of New Mexico or the 
Judicial Information Division. The content of this data transmission is 
confidential and it is intended to be delivered only to the addresses, 
therefore, it shall not be distributed and/or disclosed through any mean 
without the original sender's previous authorization. If you are not the 
addressee you are forbidden to use it, either totally or partially, for any 
purpose.

AVISO LEGAL:

El contenido de este mensaje de datos no se considera oferta, propuesta o 
acuerdo, sino hasta que sea confirmado en  documento por escrito que contenga 
la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo 
Mexico o de la Division de Informatica del Estado. El contenido de este mensaje 
de datos es confidencial y se entiende dirigido y para uso exclusivo del 
destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio 
sin la previa autorización del emisor original. Si usted no es el destinatario, 
se le prohíbe su utilización total o parcial para cualquier fin.

begin:vcard
fn:Mario Silva Borrego
n:Silva Borrego;Mario
org:Supreme Court of New Mexico;Judicial Information Division
adr:;;2905 Rodeo Park Dr. East, Bldg. #5;Santa Fe;NM;87505;USA
email;internet:[EMAIL PROTECTED]
title:Senior Systems Administrator
tel;work:(505) 476-6959
tel;fax:(505) 476-6952
tel;cell:(505) 660-1026
note;quoted-printable:LEGAL DISCLAIMER:=0D=0A=
	=0D=0A=
	The content of this data transmission is not considered as an offer, prop=
	osal, understanding, or agreement unless it is confirmed in a document=
	 signed by a legal representative of Supreme Court of the State of New=
	 Mexico or the Judicial Information Division. The content of this data=
	 transmission is confidential and it is intended to be delivered only to=
	 the addresses, therefore, it shall not be distributed and/or disclosed=
	 through any mean without the original sender's previous authorization.=
	 If you are not the addressee you are forbidden to use it, either totally=
	 or partially, for any purpose.=0D=0A=
	=0D=0A=
	AVISO LEGAL:=0D=0A=
	=0D=0A=
	El contenido de este mensaje de datos no se considera oferta, propuesta=
	 o acuerdo, sino hasta que sea confirmado en  documento por escrito que=
	 contenga la firma aut=C3=B3grafa del apoderado legal de La Suprema Corte=
	 del Estado de Nuevo Mexico o de la Division de Inform=C3=A1tica del Esta=
	do. El contenido de este mensaje de datos es confidencial y se entiende=
	 dirigido y para uso exclusivo del destinatario, por lo que no podr=C3=A1=
	 distribuirse y/o difundirse por ning=C3=BAn medio sin la previa autoriza=
	ci=C3=B3n del emisor original. Si usted no es el destinatario, se le proh=
	=C3=ADbe su utilizaci=C3=B3n total o parcial para cualquier fin.
x-mozilla-html:TRUE
url:http://www.nmcourts.gov
version:2.1
end:vcard