Amanda-Users

RE: strange amrecover behavior

2007-08-23 17:00:52
Subject: RE: strange amrecover behavior
From: "Mario Silva" <msilva AT nmcourts DOT com>
To: "'George Kelbley'" <kelbley AT cs.unm DOT edu>, <amanda-users AT amanda DOT org>
Date: Thu, 23 Aug 2007 14:44:40 -0600
Are you setting the date of your last full backup ???

Example that can help you:

AMRECOVER Version 2.5.2. Contacting server on amanda.patito.com ...
220 amanda AMANDA index server (2.5.2) ready.
Setting restore date to today (2007-08-23)
200 Working date set to 2007-08-23.
200 Config set to elmeromero.
501 Host amanda.patito.com is not in your disklist.
Trying host amanda.patito.com ...
501 Host amanda.patito.com is not in your disklist.
Trying host amanda ...
501 Host amanda is not in your disklist.
Trying host amanda.patito.com ...
501 Host amanda.patito.com is not in your disklist.
Use the sethost command to choose a host to recover
amrecover> sethost www.patito.com
200 Dump host set to www.patito.com.
amrecover> listdisk              <---------- It's only to show the DLEs for
this configuration
200- List of disk for host www.patito.com
201- /data
201- /opt/informix
201- /root
201- /etc
201- /var
201- /usr/local/apache
201- /usr/local/java-apps
200 List of disk for host www.patito.com
amrecover> setdisk /data          <--------- choosing the DLE 
200 Disk set to /data.
amrecover> ls                     <--------- just to see the content
2007-08-22-19-00-06 traindbs                 as you can see the backup was
performed
2007-08-22-19-00-06 temp1dbs                 on Aug/22
2007-08-22-19-00-06 supdb1dbs
2007-08-22-19-00-06 rootdbs
2007-08-22-19-00-06 repdbs
2007-08-22-19-00-06 physdbs
2007-08-22-19-00-06 logdbs
2007-08-22-19-00-06 localcr
2007-08-22-19-00-06 factspartdbs
2007-08-22-19-00-06 coajam1dbs
2007-08-22-19-00-06 coadb1dbs
2007-08-22-19-00-06 cdr_err/
2007-08-22-19-00-06 .

If you want to see the history of your backups:

200- Dump history for config "elmeromero" host "www.patito.com" disk /data
201- 2007-08-22-19-00-06 1 www-Backups-1:2
201- 2007-08-21-19-00-04 1 www-Backups-5:1
201- 2007-08-20-23-26-22 1 www-Backups-4:1
201- 2007-08-20-19-00-03 0 www-Backups-3:1
200 Dump history for config "elmeromero" host "www.patito.com" disk /data

Then you must choose your date:

amrecover> setdate 2007-08-20-19-00-03
200 Working date set to 2007-08-20-19-00-03.

Hope this can help you

Mario


-- 
Mario Silva
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 / Mobil: (505) 660-1026
Fax:  (505) 476-6952

Website:  http://www.nmcourts.gov
mailto: msilva AT nmcourts DOT gov


-----Original Message-----
From: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org]
On Behalf Of George Kelbley
Sent: Thursday, August 23, 2007 1:26 PM
To: amanda-users AT amanda DOT org
Subject: strange amrecover behavior

I am seeing a real strange thing happen when running amrecover on amanda 
2.5.1p1 installed on a debian etch server (installed from packages).

I need to completely restore all the directories in one dle, (in other 
words a full restore ) but amrecover is telling me it only needs last 
night's tape which only has an incremental, its not prompting for the 
most recent level 0 at all.  I can work around it manually, but 
amrecover has always worked "normally" for me in the past.

If anyone has any ideas . . .


-- 
George Kelbley                  System Support Group    
Computer Science Department     University of New Mexico
505-277-6502                    Fax: 505-277-6927



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