version 7, including all changes.
.
Rev |
Author |
# |
Line |
1 |
CraigBox |
1 |
Two things that [Arkeia] doesn't do by default: Have a facility to 'write over whatever tape is in the drive', and eject the tape when it's finished. |
|
|
2 |
|
|
|
3 |
So, in the Advanced Options of your Periodic Backup, set the pre-backup command to |
|
|
4 |
|
|
|
5 |
arkc -tape -recycle -D name=[[`arkc -drive -read -D \ |
|
|
6 |
name=__drivename | sed -e 's/tpname=//g'`] |
4 |
JeremyBrown |
7 |
|
|
|
8 |
Substitue '__drivename' for the name of the drive that you configured in Arkeia. |
1 |
CraigBox |
9 |
|
|
|
10 |
And in the post-backup command: |
|
|
11 |
|
2 |
AristotlePagaltzis |
12 |
mt -f /dev/st0 eject |
1 |
CraigBox |
13 |
|
2 |
AristotlePagaltzis |
14 |
If you don't specifity __-f /dev/st0__, mt(1) will use __/dev/tape__, so you could just |
|
|
15 |
ln -s /dev/st0 /dev/tape |
3 |
CraigBox |
16 |
|
|
|
17 |
----- |
|
|
18 |
|
|
|
19 |
!Help! I get W00800015 "server is a type 1 machine" / '1'! You are limited to '0' standard machine(s) |
|
|
20 |
|
|
|
21 |
You get emailled/see backup logs like this: |
|
|
22 |
|
|
|
23 |
I00800060 Start of total backup: Savepack "Daily Backup", Drivepack "DAT", Pool "Tapes" |
|
|
24 |
I00800080 Owner is "root" |
|
|
25 |
I00800020 Adding savepack "Daily Backup" |
|
|
26 |
W00800015 server is a type 1 machine |
|
|
27 |
E00800017 '1'! You are limited to '0' standard machine(s) |
|
|
28 |
E00800090 Cannot start backup |
|
|
29 |
I00800024 "0" files, "1" MB, compressed at "1.0", "1" seconds, "60" MB/mn |
|
|
30 |
I00800025 End of backup |
|
|
31 |
|
|
|
32 |
Your machine still is a type 2 ("cheap" machine, see [here|http://www.knox-software.com/lic_types.html?p=1]) but the hostname has changed. |
|
|
33 |
|
|
|
34 |
What this probably means instead of __hostname__ returning your short name, it now returns your FQDN. |
|
|
35 |
|
|
|
36 |
This is often caused by changing the order of your line in /etc/hosts: |
|
|
37 |
|
|
|
38 |
10.1.2.3 server.local.domain server |
|
|
39 |
|
|
|
40 |
If you get these errors, change the order of the entries in that line: |
|
|
41 |
|
|
|
42 |
10.1.2.3 server server.local.domain |
|
|
43 |
|
|
|
44 |
And all should come right. Figured out with help from [here|http://www.arkeia.com/archives_indexed/2002/12/msg00094.html] and [here|http://support.arkeia.com/cgi-bin/arkeia.cfg/php/enduser/std_adp.php?p_sid=ihEQ4JQg&p_lva=&p_faqid=71&p_created=952135013&p_sp=cF9ncmlkc29ydD0mcF9yb3dfY250PTEmcF9zZWFyY2hfdGV4dD1yZXRpcmUmcF9zZWFyY2hfdHlwZT0zJnBfcHJvZF9sdmwxPX5hbnl_JnBfcHJvZF9sdmwyPX5hbnl_JnBfc29ydF9ieT1kZmx0JnBfcGFnZT0x&p_li=]. |
6 |
JacobMajors |
45 |
|
7 |
AristotlePagaltzis |
46 |
---- |
6 |
JacobMajors |
47 |
|
7 |
AristotlePagaltzis |
48 |
''As a sidenote on the above suggestion: I have had some success altering the way arkeia aliases each machine without modifying the host file. Our host files is set with FQDN first followed by alias/shortnames. Just executing'' |
6 |
JacobMajors |
49 |
|
7 |
AristotlePagaltzis |
50 |
root# ./arkmvhost --host fqdn.company.com --newhost shortname |
6 |
JacobMajors |
51 |
|
7 |
AristotlePagaltzis |
52 |
''and then'' |
6 |
JacobMajors |
53 |
|
7 |
AristotlePagaltzis |
54 |
root# ./arkboot -start |
6 |
JacobMajors |
55 |
|
7 |
AristotlePagaltzis |
56 |
''to restart arkeia has cleared up most issues. With the exception of those where we have found errors in the host file itself.'' %%% —JacobMajors |
5 |
CoreyVanAllen |
57 |
|
|
|
58 |
----- |
|
|
59 |
|
|
|
60 |
/opt/arkeia/bin/arkchklic -h |
|
|
61 |
|
|
|
62 |
arkchklic is helpful when trying to diagnose license issues |