Bacula-users

Re: [Bacula-users] Run backup job from command line in a non-interactive mode

2010-08-30 08:39:35
Subject: Re: [Bacula-users] Run backup job from command line in a non-interactive mode
From: <me AT free-minds DOT net>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 30 Aug 2010 14:36:50 +0200
Hello,
*help run                                                                 
                                                                
  Command       Description                                               
                                                                
  =======       ===========                                               
                                                                
  run           Run a job                                                 
                                                                
                                                                          
                                                                
Arguments:                                                                
                                                                
        job=<job-name> client=<client-name>                               
                                                                
        fileset=<FileSet-name> level=<level-keyword>                      
                                                                
        storage=<storage-name>where=<directory-prefix>                    
                                                                
        when=<universal-time-specification>                               
                                                                
        comment=<text> yes                                                
                                                                
                                                                          
                                                                
When at a prompt, entering a period cancels the command.                  
                                                                
                                                               

and then pipe it into bconsole, like you did with the status command.

hth

On Mon, 30 Aug 2010 08:48:48 -0300, Sergio Belkin <sebelk AT gmail DOT com>
wrote:
> Hi,
> 
> Let's say that you had a problem with last scheduled job, and you need
> to backup tonight. Idon't want to create a new job on bacula-dir.conf
> only for use once. I'd love to add an entry on crontab file that does
> it. But I don't know how to do it (is it possible). For example I can
> run:
> 
> echo "st dir" | bconsole
> 
> But how should I do in order to run a backup job?
> 
> Thanks in advance!!


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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>
  • Re: [Bacula-users] Run backup job from command line in a non-interactive mode, me <=