Restore data from amanda backup server

Go to install and configure Amanda backup Server

Continution to my post install and configure amanda backup server i am posting step by step process of
recovering data from the backup server.

Our Current Scenario is :

1. My daily backup profile is DailySet1

2. The data backup is in /data/amanda/vtape/DailySet1 on amanda server.

3. We will recover data on client system to /tmp/amanda  directory

-----------------------------------------------------------------------------------------------
Do this on Amanda Client System
-----------------------------------------------------------------------------------------------

Switch user to root

# sudo su
 Then as a root user do amrecover

# amrecover DailySet1

 then use  listdisk command to see the list of  backups

# listdisk

  it shows the client names and the directories we are taking backup on that client
Then use setdisk command to set the directory which we want to recover data from


# setdisk /data/backup


then add the files you want to recover for example if you want to recover file1
use

# add file1


In my case i have give only one file to take backup so i will use '*' to  recover all files in that
direcory.


# add *


Then finally use extract command to recover all files.


The output of all these commands can be seen here :




After giving extract command it will gives the list of data extracting location , tapes needed and the location of backup directory and it will ask for confirmation


Continue [ ?/Y/n/s/d]?


i am showing the rest of the flow in screen shots have a look at them



we can see from the above screenshot that amanda-backup-client debian package has been recovered .


we can see that file below in the temp directory.



Go to install and configure Amanda backup Server


Protected by Zmanda

11 comments:

Mudassir Aftab said...

Whenever I have tried to recover data , it says

AMRECOVER Version 3.1.3. Contacting server on localhost ...
[request failed: timeout waiting for ACK]

Anonymous said...

contacting server on local host ??

did you mention server as local host ??

try giving ip address of server..

for more information on configuration of server.

http://blog.learnadmin.com/2010/07/install-and-configure-amanda-backup.html

Mudassir Aftab said...

Hi

This cammand works for me , also m working on locahost connect issue.

amrecover DailySet1 -oauth=bsdtcp

Initial Stage said...
This comment has been removed by the author.
Anonymous said...

Whenever I have tried to recover data from client side , it says

AMRECOVER Version 3.3.0. Contacting server on 192.168.99.240 ...
[request failed: recv error: Connection reset by peer]

Naresh Surampudi said...

http://blog.learnadmin.com/2010/07/install-and-configure-amanda-backup.html

AMRECOVER Version 3.3.0. Contacting server on 192.168.99.240 ...
[request failed: recv error: Connection reset by peer]

You dont have proper communication between host and server please check that make sure you have followed user creations steps in the above mentioned link.

because your client and server are not able to talk to each other

Anonymous said...

http://blog.learnadmin.com/2010/07/install-and-configure-amanda-backup.html

AMRECOVER Version 3.3.0. Contacting server on 192.168.99.240 ...
[request failed: recv error: Connection reset by peer]

You dont have proper communication between host and server please check that make sure you have followed user creations steps in the above mentioned link.

because your client and server are not able to talk to each other


Read more: http://blog.learnadmin.com/2010/07/restore-data-from-amanda-backup-server.html#ixzz1U3UqaFn3

Hi Naresh,
am follow the same link for server and client configuration,am getting the same error
But In server *amrecover Dailyset1 *command working fine and i can restore the client data in server and i checked the data also ...

Can anybody help me ?

Thanks

Anonymous said...

http://blog.learnadmin.com/2010/07/install-and-configure-amanda-backup.html

AMRECOVER Version 3.3.0. Contacting server on 192.168.99.240 ...
[request failed: recv error: Connection reset by peer]

You dont have proper communication between host and server please check that make sure you have followed user creations steps in the above mentioned link.

because your client and server are not able to talk to each other

Hi Naresh,

Am followed this link only ,
In Client am getting Error But in Server am Not getting any error i can restore the client data from server's tmp directory ...
Any help....

Initial Stage said...

http://blog.learnadmin.com/2010/07/install-and-configure-amanda-backup.html

AMRECOVER Version 3.3.0. Contacting server on 192.168.99.240 ...
[request failed: recv error: Connection reset by peer]

You dont have proper communication between host and server please check that make sure you have followed user creations steps in the above mentioned link.

because your client and server are not able to talk to each other

Hi Naresh,
Am followed this link only ,
In Client am getting Error But in Server am Not getting any error i can restore the client data from server's tmp directory ...
Any help....

Firoz Khan said...

It is a common thing that you lost data from iPhone with lots of reasons. Then what you need to do to get the lost files back?
IPad/iPod iphone data recovery or iTunes Data Recovery for Mac software (If you are a Mac user) is needed to help you complete the process.
Goury Khan

Devika Raj said...

Take a backup of your important data in cloud based online storage.