Differences between revisions 3 and 4
Revision 3 as of 2014-08-05 02:39:20
Size: 1007
Editor: fuzzy
Comment:
Revision 4 as of 2014-08-05 02:51:22
Size: 1679
Editor: fuzzy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
This will give you the version number you need. Amanda RPMs are available at http://www.zmanda.com/download-amanda.php

{{{
wget <paste URL of amanda RPM for red hat enterprise 5 of your version>
rpm -ivh amanda-backup_client*.rpm
}}}
{{{
After installation, edit the /etc/amanda/amanda-client.conf and change index_server and tape_server to gonzo.crecom.com.au
}}}
{{{
index_server "gonzo.crecom.com.au" # your amindexd server
tape_server "gonzo.crecom.com.au" # your amidxtaped server
}}}
Next go to your amanda backup server (gonzo) and add your host to /var/lib/amanda/.amandahosts

{{{
test12.crecom.com.au root amindexd amidxtaped
}}}

su - # goto superuser

Create recover directory and cd into it

amrecover

You get Amanda prompt - amrecover>

amrecover> listdisk - gives you available directories

amrecover> setdisk <disk>

amrecover>history - gives you days available

amrecover> setdate <date - as per history (cut & paste)>

amrecover>ls - gives avail directories

amrecover> add <directory or filename>

repeat selection process adding files required when done

amrecover>extract

will ask for confirmation

Bare metal recovery (abe example)

If unsure of how partition is done, you can re-do it later if you see the /etc/fstab. Otherwise, our standard is

1: / ext3 -- around 30GB
2: SWAP -- around 2GB
3: /u ext3 -- rest of the disk

.Then do a minimal text only server install (this will be blown away later and overwritten with contents of tape). Once machine is booted up, install amanda rpm. Go to our amanda backup machine (gonzo) and run:

rpm -qa|grep amanda

This will give you the version number you need. Amanda RPMs are available at http://www.zmanda.com/download-amanda.php

wget <paste URL of amanda RPM for red hat enterprise 5 of your version>
rpm -ivh amanda-backup_client*.rpm

After installation, edit  the /etc/amanda/amanda-client.conf and change index_server and tape_server to gonzo.crecom.com.au

index_server "gonzo.crecom.com.au"      # your amindexd server
tape_server  "gonzo.crecom.com.au"      # your amidxtaped server

Next go to your amanda backup server (gonzo) and add your host to /var/lib/amanda/.amandahosts

test12.crecom.com.au root amindexd amidxtaped

amanda_restore (last edited 2015-02-02 05:41:09 by fuzzy)