Re: [Bacula-users] Creating filesets on-the-fly

2006-11-24 Thread Ruben Lopez
Thanks for all the suggestions.

This one seems to be the most usefull for what I want to do. Anyway, it
will be a bit tricky to get some day to work and have to program one new
backup for next Tuesdey and another new one for next Friday. Does your
first approach read the local-filelist when the scheduled date comes and
bacula starts backuping files or when I program the backup and set a
schedule for it? The second solution would allow me to handle any backup
not planned. The first solution forces me to have an array of ''
filesets and keep track of which of them are being used and which ones
are free.

The problem is that here we have to do a lot of 'once' backups. Each
time that one artist ends one sub-project we must backup his work and
delete it from the server disks. This happens at least twice a week, and
each backup is a new one. I thought that it was more common in other
places having to do final backups for projects when they are done and
must be deleted from hard drives. Or maybe other bacula users leave
these kind of backups out from bacula control?

We also have periodical backups that can be handled without any problem
with bacula, but these once/final backups happen too frequently to leave
them out from bacula control :(

By the way, is there any way of schedule a backup to run only once? I
didn't see how to specify the year...

Regards and thanks for your help.

Thomas Glatthor wrote:
 Hi,

 maybe this will help:


   
 Any file-list item preceded by a less-than sign () will be taken to be a 
 file. This file will be read on the Director's machine at the time the Job 
 starts, and the data will be assumed to be a list of directories or files, 
 one per line, to be included. The names should start in column 1 and should 
 not be quoted even if they contain spaces. This feature allows you to modify 
 the external file and change what will be saved without stopping and 
 restarting Bacula as would be necessary if using the @ modifier noted above. 
 For example:

 Include {
   Options { signature = SHA1 }
   File = /home/files/local-filelist
 }

 If you precede the less-than sign () with a backslash as in \, the 
 file-list will be read on the Client machine instead of on the Director's 
 machine. Please note that if the filename is given within quotes, you will 
 need to use two slashes.

 Include {
   Options { signature = SHA1 }
   File = \\/home/xxx/filelist-on-client
 }
 

 Regards

 Thomas

 Ruben Lopez schrieb:
   
 Hi,

 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,
 but this would involve restarting the bacula server to have the new
 fileset into account, right?

 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?

 Thanks in advance,

 Ruben



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

   





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-24 Thread Dan Langille
On 24 Nov 2006 at 16:24, Ruben Lopez wrote:

 By the way, is there any way of schedule a backup to run only once? I
 didn't see how to specify the year...

For jobs that you don't want on a schedule, do this:

Schedule {
  Name = Never
}

Job {
  Name= laptop
  JobDefs = DefaultJob
  Schedule= Never
  Client  = laptop-fd
  FileSet = laptop files
  Write Bootstrap = /home/bacula/working/laptop-fd.bsr

  Reschedule On Error = yes
  Reschedule Interval = 12 hours
}


Then you can run the job from bconsole:

run job=laptop

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-24 Thread novosirj
Can't you also just pull the schedule line from the job def?

-Original Message-

From:  Dan Langille [EMAIL PROTECTED]
Subj:  Re: [Bacula-users] Creating filesets on-the-fly
Date:  Fri Nov 24, 2006 10:25 am
Size:  1K
To:  Ruben Lopez [EMAIL PROTECTED]
cc:  bacula-users@lists.sourceforge.net

On 24 Nov 2006 at 16:24, Ruben Lopez wrote:

 By the way, is there any way of schedule a backup to run only once? I
 didn't see how to specify the year...

For jobs that you don't want on a schedule, do this:

Schedule {
  Name = Never
}

Job {
  Name= laptop
  JobDefs = DefaultJob
  Schedule= Never
  Client  = laptop-fd
  FileSet = laptop files
  Write Bootstrap = /home/bacula/working/laptop-fd.bsr

  Reschedule On Error = yes
  Reschedule Interval = 12 hours
}


Then you can run the job from bconsole:

run job=laptop

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--- message truncated ---


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread Ruben Lopez
Hi,

I'm new to bacula, and after reading the documentation I couldn't find a
way of creating filesets from the consoles. It seems that the only way
of creating them is by modifying the configuration file of the director,
but this would involve restarting the bacula server to have the new
fileset into account, right?

Sometimes I need to schedule a backup of some new folder that wasn't
backed up previously. Is there another way of doing this remotely from a
console?

Thanks in advance,

Ruben



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread Jaime Ventura
Hi,
you can change the configuration file and the issue the command 
reload on console.
Be careful,  if the configuration file has any mistake you may get 
the bacula-dir to terminate itself :(.




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Ruben Lopez wrote:
 Hi,

 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,
 but this would involve restarting the bacula server to have the new
 fileset into account, right?

 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?

 Thanks in advance,

 Ruben



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread Dan Langille
On 23 Nov 2006 at 17:54, Ruben Lopez wrote:

 Hi,
 
 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,

Right.

 but this would involve restarting the bacula server to have the new
 fileset into account, right?

Wrong.  You can go into bconsole and issue the reload command.

 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?

I think it may be possible to generate the FileSet contents at run 
time.  Look at the FileSet definition and look for something like | 
or @.  Perhaps someone else knows...


-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread James Ray
Jaime Ventura wrote:
 Hi,
 you can change the configuration file and the issue the command 
 reload on console.
 Be careful,  if the configuration file has any mistake you may get 
 the bacula-dir to terminate itself :(.
 

To avoid this you should run bacula-dir -t -c config to test your
config for errors.

 
 
 
 Ruben Lopez wrote:
 Hi,

 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,
 but this would involve restarting the bacula server to have the new
 fileset into account, right?

 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?

 Thanks in advance,

 Ruben



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
James Ray.  [EMAIL PROTECTED]
Computing Services
Queen Mary, University of London

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread Thomas Glatthor
Hi,

maybe this will help:


 Any file-list item preceded by a less-than sign () will be taken to be a 
 file. This file will be read on the Director's machine at the time the Job 
 starts, and the data will be assumed to be a list of directories or files, 
 one per line, to be included. The names should start in column 1 and should 
 not be quoted even if they contain spaces. This feature allows you to modify 
 the external file and change what will be saved without stopping and 
 restarting Bacula as would be necessary if using the @ modifier noted above. 
 For example:
 
 Include {
   Options { signature = SHA1 }
   File = /home/files/local-filelist
 }
 
 If you precede the less-than sign () with a backslash as in \, the 
 file-list will be read on the Client machine instead of on the Director's 
 machine. Please note that if the filename is given within quotes, you will 
 need to use two slashes.
 
 Include {
   Options { signature = SHA1 }
   File = \\/home/xxx/filelist-on-client
 }

Regards

Thomas

Ruben Lopez schrieb:
 Hi,
 
 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,
 but this would involve restarting the bacula server to have the new
 fileset into account, right?
 
 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?
 
 Thanks in advance,
 
 Ruben
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IC3S Information, Computer und Solartechnik AG
Postfach 1128, 25442 Quickborn, Germany

Telefon+49.4106.655121
Telefax+49.4106.65557
E-Mail [EMAIL PROTECTED]
Webhttp://www.ic3s.de/

Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
Aufsichtsrat: Sven Niklasson (Vorsitzender)
Dresdner Bank (200 800 00), Kto. 0123 9582 00
Commerzbank (200 400 00), Kto. 8540 288
Amtsgericht Pinneberg HRB 4477
UST.IdNr. DE184532766

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users