PDA

View Full Version : Please help, i can't recovery non-ascii files



duduzinhu16
November 7th, 2008, 02:43 AM
(Sorry bad english)

Hi guys, i can't recovery non-ascii files.

i'm using amrecover to recovery files, my amanda version is 2.5, when i send the ls command in the amrecover shell it return a list like that (i.e.):

2008-10-30 Diret?rio1
2008-10-30 Administra??o

I just can add this files sending this comand (i.e.):

add Dire*
add Admi*

and it return

Added dir Diret\347rio1 at date 2008-10-30
Added dir Administra\347\343o at date 2008-10-30

and when i send the extract comand, after few minutes amanda can't find the file.
I can just recovery ascii files

Please somebody help me!

duduzinhu16
November 11th, 2008, 07:27 AM
Problem Solved

I think this problem happen because the amanda database is using a different encoding of the linux, and when amanda try to extract the files of the tape, the GNUTAR cant find the file (please correct me if I'm wrong).

Fixing

just type:

# export LC_ALL=pt_BR.ISO8859-1
# export LANG=pt_BR.ISSO8859-1

Change the "pt_BR.ISO8859-1" by your own encoding

Thank you!