| View previous topic :: View next topic |
| Author |
Message |
McGraw, Robert P Guest
|
Posted: Mon Oct 06, 2008 8:05 am Post subject: Disklist question |
|
|
I want to be able to use a different disklist for different runs. Other than use shell scripting to mv disklista to disklist is there a way to tell amanda what disklist to use during a run.
Robert
--
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw < at > purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067 |
|
| Back to top |
|
 |
Brian Cuttler Guest
|
Posted: Mon Oct 06, 2008 9:15 am Post subject: Disklist question |
|
|
Robert,
On Mon, Oct 06, 2008 at 10:16:29AM -0400, McGraw, Robert P wrote:
| Quote: | I want to be able to use a different disklist for different runs. Other than
use shell scripting to mv disklista to disklist is there a way to tell
amanda what disklist to use during a run.
|
What needs to remain the same ? Similar tape pool ?
Soft link files between different amanda run and use
cron to choose which to run ?
What are you trying to achieve though ? What is the goal you
are shooting for ? You have proposed a solution but I don't know
what the problem statement was.
| Quote: | Robert
--
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw < at > purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067
|
---
Brian R Cuttler brian.cuttler < at > wadsworth.org
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773
IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure. It
is intended only for the addressee. If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments. Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation. |
|
| Back to top |
|
 |
Jean-Louis Martineau Guest
|
Posted: Mon Oct 06, 2008 9:17 am Post subject: Disklist question |
|
|
man amanda.conf:
diskfile string
Default: disklist. The file name for the disklist file
holding client hosts, disks and other client dumping
information.
You can use: amdump -odiskfile=disklista
Why do you want to do use different disklist file? You could have one
disklist and specify the DLE on the command line.
Jean-Louis
McGraw, Robert P wrote:
| Quote: | I want to be able to use a different disklist for different runs.
Other than use shell scripting to mv disklista to disklist is there a
way to tell amanda what disklist to use during a run.
Robert
--
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw < at > purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067 |
|
|
| Back to top |
|
 |
McGraw, Robert P Guest
|
Posted: Mon Oct 06, 2008 10:20 am Post subject: Disklist question |
|
|
Thanks for the information about the -o option in amdump this is exactly
what I needed.
Several people have asked why I wanted to do this.
I have a perl script that runs ever day that produces a .sh script that does
the backup. There is a lot of pre and post processing around the amdump. The
perl script determines if it is the first Saturday of the month and will
create an archive .sh rather than a daily .sh.
In the .sh script I run another script that searches my users home directory
and builds a list of include files based on the first letter of each users
so that file users-a will have all the users that start with a and users-b
will have all the users that start with b and so on. This is run before each
amanda backup so that it will catch any new users that have been added.
Now my disk list file look like the following
zorn /export/users-a /export/fssnap/users {
users-tar
include list "/local/Amanda/UsersList/users-a"
}
:
:
zorn /export/users-z /export/fssnap/users {
users-tar
include list "/local/Amanda/UsersList/users-z"
}
I use the same DLE for both daily and archive backup and my DLEs are static.
The problem is that my user disk space has grown and it is taken a lot of
time to do an archive so I want to create two DLEs, disklist-a-m and
disklist-n-z, and do an archive on the first Saturday with a-m and on the
third Saturday with n-z. On the Archive days I will run amdump
-o-disklist=disklist-x-y base on what Saturday it is.
Robert
On 10/6/08 12:19 PM, "Dustin J. Mitchell" <dustin < at > zmanda.com> wrote:
| Quote: |
On Mon, Oct 6, 2008 at 10:16 AM, McGraw, Robert P <rmcgraw < at > purdue.edu> wrote:
| Quote: | I want to be able to use a different disklist for different runs. Other than
use shell scripting to mv disklista to disklist is there a way to tell
amanda what disklist to use during a run.
|
Sure -- supply the path to the disklist as a config overwrite:
amcheck -o disklist=disklist.red-days MyConfig
amdump -o disklist=disklist.blue-days MyConfig
You can also get creative with dumptype inheritance and the "ignore"
option, if you're so inclined.
Dustin
|
--
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw < at > purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067 |
|
| Back to top |
|
 |
Dustin J. Mitchell Guest
|
Posted: Mon Oct 06, 2008 10:57 am Post subject: Disklist question |
|
|
On Mon, Oct 6, 2008 at 10:16 AM, McGraw, Robert P <rmcgraw < at > purdue.edu> wrote:
| Quote: | I want to be able to use a different disklist for different runs. Other than
use shell scripting to mv disklista to disklist is there a way to tell
amanda what disklist to use during a run.
|
Sure -- supply the path to the disklist as a config overwrite:
amcheck -o disklist=disklist.red-days MyConfig
amdump -o disklist=disklist.blue-days MyConfig
You can also get creative with dumptype inheritance and the "ignore"
option, if you're so inclined.
Dustin
--
Storage Software Engineer
http://www.zmanda.com |
|
| Back to top |
|
 |
|