rename amanda clients
2003-10-20 08:56:03
Hello,
sometimes, I have to rename a server(amanda client) in this case:
server.domain1 -> server.domain2
( a server is moving into another zone)
Now, I have changed the disklist , the directories in "index-dir" and
all occurances in "log.*" .
But, if I want to restore a file with amrecover, it does not work, because
on the tape there is still the old name ( of course !).
-------------------------debug-file------------------------------
amidxtaped: time 0.073: amandahosts security check passed
amidxtaped: time 0.073: > CONFIG=DailySet1
amidxtaped: time 0.073: > LABEL=DailySet1-077
amidxtaped: time 0.073: > FSF=16
amidxtaped: time 0.073: > HEADER
amidxtaped: time 0.073: > DEVICE=/dev/nsa0
amidxtaped: time 0.073: > HOST=^server.domain2$
amidxtaped: time 0.073: > DISK=^/home$
amidxtaped: time 0.073: > DATESTAMP=20031011
amidxtaped: time 0.073: > END
amidxtaped: time 0.075: amrestore_nargs=0
amidxtaped: time 0.075: Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "-l"
argv[4] = "DailySet1-077"
argv[5] = "-f"
argv[6] = "16"
argv[7] = "/dev/nsa0"
argv[8] = "^server.domain2$"
argv[9] = "^/home$"
argv[10] = "20031011"
amrestore: 16: skipping server.domain1._home.20031011.0
amrestore: 17: skipping xxxx1.domain1._etc.20031011.0
.....................................................
amrestore: 35: reached end of tape: date 20031013
amidxtaped: time 163.109: amrestore terminated normally with status: 1
amidxtaped: time 163.109: rewinding tape ...
amidxtaped: time 206.223: done
amidxtaped: time 206.223: pid 18486 finish time Mon Oct 20 11:12:21 2003
------------------------end of debug-file--------------------------
Is there any workaround to keep the database before renaming a server ?
best regards
Thomas Franz
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- rename amanda clients,
Thomas Franz <=
|
|
|