Re: bacula. salvas

2011-04-25 Por tema jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

EMNI Yoan García Cáceres escribió:
 Hola lista.
  
 Tengo un servidor de salvas bacula. El mismo hace las salvas bien.
 Existe algun sofware que sea capaz de reconocer un volumen de bacula
 y manipularlo osea leer copiar archivos etc...  ?

Buenos días

Para extraer el contenido de una cinta y ver que tiene [1] :

# Parte de la web, por si no tienes internet ###

bextract

If you find yourself using bextract, you probably have done something
wrong. For example, if you are trying to recover a file but are having
problems, please see the Restoring When Things Go Wrong section of the
Restore chapter of this manual.

Normally, you will restore files by running a Restore Job from the
Console program. However, bextract can be used to extract a single file
or a list of files from a Bacula tape or file. In fact, bextract can be
a useful tool to restore files to an empty system assuming you are able
to boot, you have statically linked bextract and you have an appropriate
bootstrap file.

Please note that some of the current limitations of bextract are:

It cannot restore access control lists (ACL) that have been backed up
along with the file data.
It cannot restore Win32 non-portable streams (typically default).
It cannot restore encrypted files.
The command line length is relatively limited, which means that you
cannot enter a huge number of volumes. If you need to enter more volumes
than the command line supports, please use a bootstrap file (see below).
It is called:


Usage: bextract [-d debug_level] device-name directory-to-store-files
   -b file   specify a bootstrap file
   -dnnset debug level to nn
   -e file   exclude list
   -i file   include list
   -p  proceed inspite of I/O errors
   -V  specify Volume names (separated by |)
   -?  print this message
where device-name is the Archive Device (raw device name or full
filename) of the device to be read, and directory-to-store-files is a
path prefix to prepend to all the files restored.

NOTE: On Windows systems, if you specify a prefix of say d:/tmp, any
file that would have been restored to c:/My Documents will be restored
to d:/tmp/My Documents. That is, the original drive specification will
be stripped. If no prefix is specified, the file will be restored to the
original drive.

Extracting with Include or Exclude Lists

Using the -e option, you can specify a file containing a list of files
to be excluded. Wildcards can be used in the exclusion list. This option
will normally be used in conjunction with the -i option (see below).
Both the -e and the -i options may be specified at the same time as the
- -b option. The bootstrap filters will be applied first, then the include
list, then the exclude list.

Likewise, and probably more importantly, with the -i option, you can
specify a file that contains a list (one file per line) of files and
directories to include to be restored. The list must contain the full
filename with the path. If you specify a path name only, all files and
subdirectories of that path will be restored. If you specify a line
containing only the filename (e.g. my-file.txt) it probably will not be
extracted because you have not specified the full path.

For example, if the file include-list contains:

/home/kern/bacula
/usr/local/bin
Then the command:

./bextract -i include-list -V Volume /dev/nst0 /tmp

will restore from the Bacula archive /dev/nst0 all files and directories
in the backup from /home/kern/bacula and from /usr/local/bin. The
restored files will be placed in a file of the original name under the
directory /tmp (i.e. /tmp/home/kern/bacula/... and /tmp/usr/local/bin/...).





  
 Mediante la interface BAT no puedo restaurar archivos de hace un mes o
 dos meses atras, en el *version browser* solo me deja marcar los del mes
 actual, por que??

No entiendo bien tu pregunta, si puedes explicarla un poco mas. Podremos
intentar ver algo.

De todas formas existe una lista de bacula en castellano ( y contesta el
desarrollador y todo XD )

bacula-users...@lists.sourceforge.net


[1]
http://www.lllf.uam.es/~antonio/documentos/bacula/dev-manual/Volume_Utility_Tools.html#SECTION00396

 saludos,

Saludos

- -- 
Si los tontos volaran, el cielo se oscurecería

No me envié correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNtUwJAAoJEOWNzQnqy+fzfocIAJUhiUk13B8Nla44yc1C5XG+
4hp8i3//oZzkNLnO6LMrXPbQzeJLhKZseBvZYQNrt/zrurR3U16+TXXCIBVbHxug
ACipvEJCZsCuqDyvJN+keQIUNoEm00LtPzVNs5h0eQDyQnk1B17AHiumgGRtwZBY
oOHB2TOXNePryPJhu8gsw4n3GUXJeqqbOX0YniSaStpi0q4LuMeZH0+oPIhITElJ
/yYYjPqwdrtqNiK/thCTopSum7iV5Ug6ALLLaawBMSgWnPQhDkw2YEOPzlGj2p85

Re: bacula. salvas

2011-04-25 Por tema jmramirez (mas_ke_na)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jmramirez (mas_ke_na) escribió:
 Mediante la interface BAT no puedo restaurar archivos de hace un mes o
 dos meses atras, en el *version browser* solo me deja marcar los del mes
 actual, por que??

Buenas.

Ahora que estoy mas despierto creo entender lo que dices. Tienes
que asegurarte que los backups se guardan el tiempo que TU estimas
oportuno. Te paso este link [1] que te dará mas información.

[1] http://www.bacula.org/fr/dev-manual/Automatic_Volume_Recycling.html

Para que te hagas una idea. Yo guardo mis backups de un mes, pero tengo
cintas de mas por lo que hasta que no se quede sin cintas, no me
machacara las otras ( ya preparadas para reciclar SI HA PASADO un mes).

## Mi configuración /etc/bacula/bacula-dir.conf 

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 30 days # un mes .
  Maximum Volume Bytes = 8G
  LabelFormat = Incremental-${Day}${month}${year}
   Volume Use Duration = 30 days
   Catalog Files = yes
   recycle Oldest Volume = yes
   Purge Oldest Volume = yes



A groso modo dice:

Recycle = yes  puede reciclarla.
Autoprune = yes --- purgara la cinta para usarla de nuevo
Volume Retention = 30 days - No borrara nada hasta que no haya
pasado el tiempo marcado.


Un saludo
- -- 
Si los tontos volaran, el cielo se oscurecería

No me envié correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNtV3oAAoJEOWNzQnqy+fz0c8IANiRBUZzxqxQ+yhcmNCPqono
x08NVvNIsMlHw0iY5kxuB0WFWrJRVp9DkxhF0F6hZS9Md974AA4QtXdsvF9DEu+m
gaOzkVsIcfhqTu5Nl8EWaeK3AxZ/7jPnhdiwipPeXXudcWYnX5h7piQgu2UE13wY
J1jMCikT/6N9NRex2hHTG64lvR6YkdgYu6Z1ki3/VgU7YFCvT2qpeqCrugvljA8F
iBvhi6LttaFntOhRO8qHEAhtgA5s5FTQ2IL+6UWH1eADbhC1pc5LZkFy6VXEtDzS
et+LAl+RpjgFYMjDT54JyvrVp9IpdCqQ88aW8QsSlkqXbe8A5S1dsLoivJzCMW0=
=q2+D
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/blu0-smtp463d8581290363729f8938b1...@phx.gbl



bacula. salvas

2011-04-21 Por tema EMNI Yoan García Cáceres
Hola lista.
 
Tengo un servidor de salvas bacula. El mismo hace las salvas bien.
Existe algun sofware que sea capaz de reconocer un volumen de bacula y
manipularlo osea leer copiar archivos etc...  ?
 
Mediante la interface BAT no puedo restaurar archivos de hace un mes o
dos meses atras, en el version browser solo me deja marcar los del mes
actual, por que??
 
saludos,


Re: bacula. salvas

2011-04-21 Por tema Camaleón
El Thu, 21 Apr 2011 08:46:52 -0500, EMNI Yoan García Cáceres escribió:

(evita usar html en los mensajes)
  
 Tengo un servidor de salvas bacula. El mismo hace las salvas bien.
 Existe algun sofware que sea capaz de reconocer un volumen de bacula y
 manipularlo osea leer copiar archivos etc...  ?

http://en.wikipedia.org/wiki/Bacula#Limitations

Según Wikipedia, Bacula usa un formato documentado y abierto pero único 
en su especie, es decir, parece ser que necesitas las propias 
herramientas de Bacula para poder acceder al almacén de datos.

 Mediante la interface BAT no puedo restaurar archivos de hace un mes o
 dos meses atras, 

¿Por qué no puedes? ¿Te aparece algún error, no ves las copias...?

 en el version browser solo me deja marcar los del mes actual, por 
 que??

Cuantos más datos proporciones, mejor te podrán ayudar. ¿Qué interfaz web 
usas? ¿cómo has configurado las rutinas de copia de seguridad, cada 
cuánto tiempo mantienes las copias archivadas? ¿qué versión de Bacula 
tienes instalada?

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.04.21.13.44...@gmail.com