Bacula-users

Re: [Bacula-users] ad-hoc full backup

2008-08-13 14:48:20
Subject: Re: [Bacula-users] ad-hoc full backup
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 13 Aug 2008 20:48:06 +0200
Hi,

13.08.2008 15:02, Weber, Philip wrote:
> Or add something like "Run = Full Aug 13 at 18:00" to the schedule definition 
> and reload the config?

Ah, that's boring...

besides, the configuration reload does not always take effect immediately.

As far as I can tell, any resources currently in use (like jobs that 
are already running or in the scheduled queue) are only updated later.

Arno

> -----Original Message-----
> From: bacula-users-bounces AT lists.sourceforge DOT net 
> [mailto:bacula-users-bounces AT lists.sourceforge DOT net] On Behalf Of Arno 
> Lehmann
> Sent: 13 August 2008 11:32
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] ad-hoc full backup
> 
> Hi,
> 
> 13.08.2008 12:09, Adrian Moisey wrote:
>> Hi
>>
>>> 13.08.2008 10:38, Silver Salonen wrote:
>>>> On Wednesday 13 August 2008 11:33:05 Adrian Moisey wrote:
>>>>> Hi
>>>>>
>>>>>>> How do i set bacula to do a full backup of all the PCs on an ad-hoc 
>>>> basis?
>>>>>> How is that supposed to work?
>>>>> My schedule does a full backup every sunday.
>>>>>
>>>>> I would like a full backup tonight also, just as a once off.
>>>> Aha.
>>>>
>>>> To my mind you cannot do it. I suggest changing the schedule 
>>>> temporarily.
>>> How about, in bconsole, 'run job=Name level=full pool=whatever yes'?
>> For all 30 jobs?
> 
> If this is a one-time event: yes.
> 
> If you expect that to happen regularly, I'd use a small script. 
> Something I did (but don't have access to now):
> 
> echo "sta dir" | bconsole | awk 'script to find all scheduled jobs 
> names'  > joblist.txt
> 
> or use the list the run command produces
> 
> and then
> 
> while read jobname ; do
> echo "run job=$jobname level=full yes" | bconsole ;
> done < joblist.txt
> 
> or similar... I always need some trial-and-error for this sort of 
> script ;-)
> 
> Alternatively, use
> 
> for i in `seq 1 maxjob' ; do
> echo -e "run\n$i\nyes\n<add changing the level here>" | bconsole ;
> done
> 
> Arno
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>