Toralf Lund wrote:
>> I have an alternative suggestion for you.
>>
>> I've got two different conf's, one for my regular weekly rotational
>> stuff,
>> and one called "Archives" for my permanent archives.
>>
>> Whenever I want to make a permanent backup of my systems, I just run a
>> dump
>> of the Archives conf, that way I don't have to mess around with trying to
>> make permanents out of my daily rotationals.
>
> Doesn't that introduce a lot of extra complexity and additional work?
Not at all. On the contrary!
Create a config for your daily backups called e.g. "daily".
Just label your tapes e.g. "Daily001" up to "Daily020", I mean use
numbers, not "Monday" or "Week1" or anything that is bound to some
particular event. Then insert them as amanda asks them.
Amanda aks the oldest tape first.
Then create a different config for archive, e.g. "archive".
Label them "Archive001" etc. Run this config once a week (but never
at the same time than your daily config). Insert tapes as amanda asks
them.
You can share a lot of the daily config like dumptypes, tapetypes etc.
if you store those parts in separate files and include them (see
"includefile" directive in amanda.conf man page).
You should probably use some options like "dumpcycle 0", and "record no"
etc in your archive config only.
I do it like:
$ cat ~amanda/etc/common/dumptypes.conf
## global COMMENTED OUT -- define dumptype global in
## amanda.conf before including this file
# define dumptype global {
# comment "GLobal definitions
# }
define dumptype user {
global
priority high
}
...
$ cat ~amanda/etc/archive/amanda.conf
# archive configuration
....
define dumptype global {
comments "Only full backups for archiving"
program "GNUTAR"
index yes
record no
compress client fast
skip-incr yes
dumpcycle 0
}
includefile "/home/amanda/etc/common/dumptypes"
...
$ cat ~amanda/etc/daily/amanda.conf
...
define dumptype global {
program "GNUTAR"
index yes
record yes
compress client fast
}
includefile "/home/amanda/etc/common/dumptypes"
...
The trick to separate the general options into subfiles,
that can be included in the amanda.conf. In the amanda.conf for
each config, you just specify what is peculiar for this config only.
Then if you really really want to be sure that both configs dump
the same filesystem, you could hard link the disklist files from both
configs, or run a little script with cron that compares both lists and
warns you if it goes out of sync. (With a script you can allow for
certain differences (e.g. don't backup /scratch in the archive config).
>
> Also, I want to be sure that the permanent backups contain exactly the
> same directories as the "normal" ones - seems to me that the best way to
> do that is to use the same config.
>
Make different configs, but use common parts by "include"-ing them
in the amanda config file, and by sharing the disklist file.
Paul
> - Toralf
>
>>
>> Michael Martinez
>>
>> > -----Original Message-----
>> > From: Toralf Lund [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, October 09, 2002 10:04 AM
>> > To: Amanda Mailing List
>> > Subject: What tapecycle value to use?
>> >
>> >
>> > I've never been quite able to figure out what value to use
>> > for tapecycle.
>> >
>> > I expect to run backups on first 4 days of week, so I've set
>> > runspercycle 4
>> >
>> > Tapes are labelled
>> > Mon-1
>> > Tue-1
>> > ...
>> > Mon-2
>> > ...
>> > ...
>> > Thu-4
>> >
>> > After the fourth "weekly set", the first one is reused, then
>> > the 2nd and
>> > 3rd. Set 4 is special, however - I don't want to reuse those
>> > tapes, but
>> > rather store them in a safe place and replace them with new
>> > ones. So after
>> > sets 1-4 are written, then sets 1-3 once more, I want to be able to do
>> >
>> > amlabel ... Mon-4
>> > amlabel ... Tue-4
>> >
>> > without being told that those tapes are already active. What
>> > exactly do I
>> > set "tapecycle" to in order to allow this?
>> > --
>> > - Toralf
>> >
>>
>
--
Paul Bijnens, Xplanation Tel +32 16 40.51.40
Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM Fax +32 16 40.49.61
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************