Hello,
I'm new to Amanda and to this list... running Linux 2.4.3 on a Power PC.
While I'm waiting for the tape drive to arrive, I'm trying to build Amanda
to back up to a hard disk instead of tape. I read in the list archives to
get the amanda-242-tapeio CVS branch. Here's what I did to get that:
$cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda login
Pressed enter.
$cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda
checkout -r amanda-242-tapeio amanda
$cd amanda
$./autogen
The installation from there went just fine.
First, when Amanda runs, it reports itself as 2.4.2p1 and not p2. Is the
tapeio branch not in sync with the latest release?
Second, I'm having trouble configuring Amanda for the tapeless operation.
I'm just testing a local dump on the tape server itself. The only
documentation I could find was in amanda(8) about setting tapedev
"file:/path/to/directory" and creating a "data" directory in that folder.
I've done that, but what else to I need to set? Running amcheck complains:
file:/var/amandadumps: not an amanda tape
OK, so I read that Amanda tapes all need to be labeled, so I ran amlabel.
After that, it let me run amdump OK. But then I ran amdump again to try
another dump, but Amanda complained "cannot overwrite active tape". How are
tapes "ejected" or "rotated" in the tapeless configuration? My goal is to
have a 14 day dumpcycle with 1 run per day, and have all of the files kept
under /var/amandadumps.
Here's what I've changed in amanda.conf. Everything else is the default:
----
tapedev "file:/var/amandadumps"
tapetype HARD-DISK
define tapetype HARD-DISK {
comment "Hard disk instead of tape"
length 4000 mbytes # Simulates end of tape on hard disk
filemark 100 kbytes # Is this needed for a hard disk?
speed 1000 kbytes # Local speed of the hard disk? Is this used?
}
define dumptype hard-disk-only {
global
comment "Back up to hard disk instead of tape"
holdingdisk no
index yes
priority high
}
----
Here's the disklist:
localhost /home hard-disk-only
----
One more question... when I tried to do a dump of /etc, I got the following:
? You can't update the dumpdates file when dumping a subdirectory
sendbackup: error [/sbin/dump returned 1]
What am I doing wrong? Thanks in advance for helping me get started.
Regards,
Clinton Hogge
Industrial Images