Amanda-Users

Re: amrecover and chg-multi

2003-05-16 00:51:33
Subject: Re: amrecover and chg-multi
From: shaun feeley <shaun.feeley AT cytopia.com DOT au>
To: Jon LaBadie <jon AT jgcomp DOT com>
Date: Fri, 16 May 2003 14:49:01 +1000
hi jon,
thanks for the help

i tried adding the host name recieved the following error. amrecover> settape william:/home2/amandadumps/day-01
Using tape "/home2/amandadumps/day-01" from server william.
amrecover> extract

Extracting files using tape drive /home2/amandadumps/day-01 on host william.
The following tapes are needed: folder-01

Restoring files into directory /tmp
Continue [?/Y/n]?

Extracting files using tape drive /home2/amandadumps/day-01 on host william.
Load tape folder-01 now
Continue [?/Y/n/s/t]?
EOF, check amidxtaped.debug file on william.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue [?/Y/n/r]?


my set up is as follows, ive set up a five directories that can be moved through using the chg-multi command

[root@william amandadumps]# pwd
/home2/amandadumps
[root@william amandadumps]# ls
amanda.conf@  day-01/  day-02/  day-03/  day-04/  day-05/

inside each directory i created a data subd' as shown.

[root@william day-01]# pwd
/home2/amandadumps/day-01
[root@william day-01]# ls -l
total 12
drwxrwx---    2 amanda   disk         4096 May 15 20:01 data/
-rw-rw-rw-    1 amanda   disk           11 May 15 20:01 info
-rw-rw-rw-    1 amanda   disk           11 May 14 11:05 info~


now my first level 0 backup seemed to go according to plan last night, but i cannot restore anything.???? ive tried to set the settape to /home2/amandadumps/day-01 and /home2/amandadumps/day-01/data but both the same error,

[root@william data]# pwd
/home2/amandadumps/day-01/data
[root@william data]# ls -lh
total 17G
-rw-------    1 amanda   disk           10 May 15 12:40 00000-folder-01
-rw-------    1 amanda   disk          32K May 15 12:40 00000.folder-01
-rw------- 1 amanda disk 13 May 15 12:41 00001-william.__192.168.2.1_MDL.0 -rw------- 1 amanda disk 269M May 15 12:41 00001.william.__192.168.2.1_MDL.0 -rw------- 1 amanda disk 13 May 15 12:58 00002-william.__192.168.2.1_assaydata.0 -rw------- 1 amanda disk 263M May 15 12:58 00002.william.__192.168.2.1_assaydata.0 -rw------- 1 amanda disk 15 May 15 14:08 00003-william.__192.168.1.10_users.0 -rw------- 1 amanda disk 3.5G May 15 14:08 00003.william.__192.168.1.10_users.0 -rw------- 1 amanda disk 14 May 15 15:36 00004-william.__192.168.2.1_ORA__Backup.0 -rw------- 1 amanda disk 2.1G May 15 15:36 00004.william.__192.168.2.1_ORA__Backup.0 -rw------- 1 amanda disk 15 May 15 17:08 00005-william.__192.168.1.10_shared.0 -rw------- 1 amanda disk 3.2G May 15 17:08 00005.william.__192.168.1.10_shared.0 -rw------- 1 amanda disk 15 May 15 20:01 00006-william.__192.168.1.10_usershared.0 -rw------- 1 amanda disk 7.5G May 15 20:01 00006.william.__192.168.1.10_usershared.0
-rw-------    1 amanda   disk           10 May 15 20:01 00007-TAPEEND
-rw-------    1 amanda   disk          32K May 15 20:01 00007.TAPEEND

and here is my disklist file

william //192.168.1.10/shared hard-disk-tar
william //192.168.1.10/users hard-disk-tar
william //192.168.1.10/usershared hard-disk-tar
william //192.168.2.1/assaydata hard-disk-tar
william //192.168.2.1/MDL hard-disk-tar
william //192.168.2.1/ORA_Backup hard-disk-tar

any ideas at all would be much appreciated.








Jon LaBadie wrote:

On Fri, May 16, 2003 at 01:43:41PM +1000, shaun feeley wrote:
hi im trying to get the same config up and running. i can now back up to disk, amrecover can view index files, files can be selected for restore etc.... but the restore doesnt work

my question is in the settape statement below is tapexx the amlabel you gave the directory or the actual name or the directory. must confess head not around this idea yet.
if i settape to the directory path or the amlabel or the directory i get:

#######
amrecover> settape file:/home2/amandadumps/day-01


I've not used the file: driver.
However the man page and briner's example say the syntax should be

        settape <HOST>:file:...



--


shaun feeley cytopia pty ltd 5th floor, baker institute tel (+613) 9522 6940 melbourne vic 3004 fax (+613) 9510 9291 australia web www.cytopia.com.au The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, please notify the sender by return e-mail immediately and erase all copies
of the message and attachments.



<Prev in Thread] Current Thread [Next in Thread>