How To:Migrate from older amanda versions: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
# runtapes
# runtapes
# tapedev
# tapedev
# tpchanger
# tpchan
# infofile "/var/lib/amanda/DailySet1/curinfo"
# logdir  "/var/lib/amanda/DailySet1"         
# indexdir "/var/lib/amanda/DailySet1/index"    ger
# tape type
# tape type
# labelstr
# labelstr
Line 33: Line 36:


== Tranfering data ==
== Tranfering data ==
In the parameter        
In the parameter in /et/amanda/DailySet1/amanda.conf 
Amanda 2.5 store its process data in/etc/amanda/DailySet1:
# infofile "/var/lib/amanda/DailySet1/curinfo"
# /etc/amanda/DailySet1/index
# logdir  "/var/lib/amanda/DailySet1"         
# /etc/amanda/DailySet1/curinfo
# indexdir "/var/lib/amanda/DailySet1/index"   
is defined, where amanda stores his process data.
   


Therefore I transfer the data from the old server:
Therefore I transfered the data  
//old-server/var/lib/amanda/DailySet1/index
# tapelist
to  
# index
//new-server/etc/amanda/DailySet1/index
# curinfo
from the old server to the new server.


tapelist and curinfo vice versa.




Back to [[How Tos]]
Back to [[How Tos]]

Revision as of 10:53, 26 October 2007

Overview

Sometimes you have to upgrade your backupserver.

This article describes, how to migrate from an old amanda version (amanda-server-2.4.4p2-3) to the current version (amanda-server-2.5.1p3).

Backup jobs

The default backup job is e.g. DailySet1.

Amanda store the configuration data for this backup job in /etc/amanda/DailySet1: e.g. /etc/amanda/DailySet1/amanda.conf

The Amanda database data for this backup job is stored in /var/lib/amanda/DailySet1.

The file index for backup data is stored in /var/lib/amanda/DailySet1/curinfo/HOST/DISK.

Startpoint

After 3 years of using amanda 2.4 there was time for updating the whole server.

On a new server with Fedora Core 6 I installed amanda 2.5 with the old DLT-tapedrive.

I configured the new server and tested the backup with a small backupjob.

In /etc/amanda/DailySet1/amanda.conf there is to change your basic configuration like

  1. runtapes
  2. tapedev
  3. tpchan
  4. infofile "/var/lib/amanda/DailySet1/curinfo"
  5. logdir "/var/lib/amanda/DailySet1"
  6. indexdir "/var/lib/amanda/DailySet1/index" ger
  7. tape type
  8. labelstr
  9. infofile "/var/lib/amanda/DailySet1/curinfo"
  10. logdir "/var/lib/amanda/DailySet1"
  11. indexdir "/var/lib/amanda/DailySet1/index"
  12. ...

Tranfering data

In the parameter in /et/amanda/DailySet1/amanda.conf

  1. infofile "/var/lib/amanda/DailySet1/curinfo"
  2. logdir "/var/lib/amanda/DailySet1"
  3. indexdir "/var/lib/amanda/DailySet1/index"

is defined, where amanda stores his process data.


Therefore I transfered the data

  1. tapelist
  2. index
  3. curinfo

from the old server to the new server.


Back to How Tos