Re: Reusable

2018-11-23 Thread Jon LaBadie
On Wed, Nov 21, 2018 at 11:55:21AM -0800, Chris Miller wrote:
> Hi Folks, 
> 
> I have written some very small DLEs so I can rip through weeks
> of backups in minutes. I've learned some things.

When I'm experimenting with amanda after I create the
test configuration, before the first amdump run, I
copy or tar the entire configuration.

Then I write a little shell script so that after I've
run a few test dumps, I can delete the entire config
and restore it to the original state from the copy or
tarball.

Jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)


Re: Reusable

2018-11-23 Thread Jon LaBadie
On Wed, Nov 21, 2018 at 11:55:21AM -0800, Chris Miller wrote:
> Hi Folks, 
> 
> I have written some very small DLEs so I can rip through weeks
> of backups in minutes. I've learned some things. AMANDA can't
> backup a file; only directories. Is there any way around that?
> Suppose I need to backup a large file in a directory with many
> other large files, so backing up the complete directory or
> moving / copying my target would be inconvenient, not to mention
> administratively cumbersome when it comes to restoring. 

Create a DLE that would backup the entire directory.  Then
add the command "include list " in the DLE and
it will exclude all others.

> 
> I'm also still fighting AMANDA about how to manage vtapes, but I'm developing 
> more focused questions. For example, my test runs are reporting: 
> 

jl
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)


Re: Only increasing incrementals

2018-11-23 Thread Jon LaBadie
On Thu, Nov 22, 2018 at 11:18:25AM +0700, Olivier wrote:
> Hello,
> 
> UI am wondering if there is a way to define a DLE that would all
> incrementals but only with increasing level:
> 
> - full (0)
> - incremental 1
> - incremental 2
> - incremental 3
> - etc.
> 
> But never: 0, 1, 1, 1, 2
> 
> Each back-up level must be above the previous one or be a full back-up.

You can use "amadmin  force [host] [disk]"
to force a level 0 dump.

You can use "amadmin  force-bump [host] [disk]"
to force a bump to the next level.

Run them from crontab to automate the process.

Jon
> 
> Best regards,
> 
> Olivier
> -- 
>>> End of included message <<<

-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)