Re: Backup problem
2003-02-03 10:10:18
Angie,
The last item on each line of the disklist specifies the dump type to
use for the filesystem. These dump types are defined in amanda.conf.
Have a look at the comments in amanda.conf to see all the options. The
format for the disklist is:
<host> <filesystem> <dump type>
So, to backup the /home/users filesystem on 'myhost', using
'nocomp-user' you would use:
myhost /home/users nocomp-user
as the entry in the disklist.
'nocomp-user' does not have the line:
dumpcycle 0
'dumpcycle' within a dump type definition tells amanda the maximum
number of days between full dumps of the filesystem. A value of zero
causes a full backup of the filesystem to be performed every time.
You could, for example, modify 'nocomp-user' to read as follows and
leave your disklist as it is:
define dumptype nocomp-user {
comp-user
comment "Non-root partitions on slow machines"
index
program "GNUTAR"
compress none
dumpcycle 0 # <----- force full backups
}
Angie Yee wrote:
What's mean by "nocomp-user" in disklist then?
Please advise. Thanks.
BR,
Angie
----- Original Message -----
From: "James Thorne" <j.thorne AT kew DOT org>
To: "Angie Yee" <angie.yee AT capcis.co DOT uk>
Cc: <amanda-users AT amanda DOT org>
Sent: Monday, February 03, 2003 1:50 PM
Subject: Re: Backup problem
From my understanding, you should be able to do something like the
following:
fs3 /vol0 always-full
fs3 /vol1 always-full
The dump type 'always-full' is defined in your amanda.conf already:
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
dumpcycle 0
}
The 'dumpcycle 0' line tells amanda to always do a full dump of the
filesystem. This dump type does not use compression. We have a new
dump type here which uses compression and does a full dump, defined as
follows in amanda.conf:
define dumptype high-tar-full {
high-tar
comment "high priority, full dump with compression"
compress client fast
priority high
dumpcycle 0
}
This makes use of 'high-tar', also in your amanda.conf already.
You ould then put this in your disklist:
fs3 /vol0 high-tar-full
fs3 /vol1 high-tar-full
You will need gzip and tar installed on your machines.
James.
Angie Yee wrote:
Hi James,
Thanks for your prompt reply.
The dumptypes are :
fs3 /vol0 nocomp-user
fs3 /vol1 nocomp-user
Would you please advise how to force amanda to do the full back-up every
night?
Thanks.
BR,
Angie
|
|
|