Re: [Bacula-users] All the problems with Bacula
Shon Stephens a écrit : Ok. This is a rant and you can remove it from the list if you want to later. I just have to vent. Bacula is incredibly complex to setup. Its taken 4 months and its still not working correctly. Things that should be easy that Bacula makes overly complex: Labeling tapes Assigning tapes to pools Reassigning tapes to pools Managing disk media Things Bacula can't seem to get right: Detecting a tape is in the drive and using it Even though the correctly labeled tape is in the drive, and has the right Volume label, and is marked Append, and is from the correct Pool Bacula is still waiting for a mount request. Every external program recognizes that the tape is in the drive and mounted. Not Bacula Catalog entries. I've not had a single backup job where the right entries made it into the Catalog Windows hosts. Good luck figuring out the esoteric path syntax because its different in different chapters of the manual and also different depending on which part of the config you are editing Basically I can't see that its useable for anything more than backing up a single system, and even then better be careful. I'm going with Arkeia Network Backup. Might cost money, but at least it will work as advertised which is more than can be said for Crapula You are a nice person, your good humor will be missed for us all. LS. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] question
Bonjour Othman, Il existe une liste bacula-users-fr pour les messages en français. En ce qui concerne ta question, je pense que tu devrais trouver ton bonheur dans ce chapitre : http://www.bacula.org/rel-manual/Automated_Disk_Backup.html Cordialement, Ludovic Strappazon. Othman JAMIL administrateur réseau a écrit : salut tout le monde, je suis vraiment trés intéressé par bacula mais une petite question m'intrigue concernant l'utilisation de ce dérnier et voici ma question: puis-je faire mes sauvegardes non pas sur un lecteur de bandes mais sur des disques durs si oui comment dois-je procéder . merci d'avance . - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Modifying Fileset changes incr to Full
Hi, Just use the Ignore FileSet Change directive. Regards, Ludovic Strappazon. Jean-François Leroux a écrit : Hi, I noticed that changing the FileSet content changes bacula behaviour : a scheduled incremental backup becomes a full backup in such a case. This is a problem for me because : - I shall change the FileSet ressource often - I'm backing up to disk with a fixed volumes number. Let's take an example: I have set the Max Volumes to 3 for one of my machines, so, when a change comes, a full backup is done and one of my 3 full backup volumes is used. Thus, when the next full backup time comes, bacula hangs with th usual message waiting for appendable media, because this is now the fourth backup of this type, and so on... Is there a way to avoid that, or to free the oldest volume after a FileSet change? What I did is delete the oldest volume by hand then use the 'delete' command in bconsole, but I guess there is a cleaner way to do it. Cheers. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Hi Marc, You just have to run a job for each database with a runbeforejob and runafterjob as done by the BackupCatalog job. Regards, Ludovic Strappazon. Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Marc a écrit : I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. I can't imagine a way to back them up one by one in a single job. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. I think I don't understand that. Regards, Ludovic Strappazon. Regards, Marc -Oorspronkelijk bericht- Van: Jerome Massano [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 mei 2007 11:20 Aan: Marc CC: bacula-users@lists.sourceforge.net Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the database Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with the Scratch Pool behaviour.
Hello, I have a problem, or something I don't understand, with the scratch pool's behaviour in Bacula 1.38.11 : Yesterday, Bacula ran a job with tape 000110 from the pool Externalisation and let this tape with status append and ~100 Go free. Then It ran two jobs from with the tape 000125 from the pool Sauvegarde. Then It ran another job using the pool Externalisation, but instead of using the previously used tape 000110, it took the tape 000117 from the scratch pool, which is not what I expected, nor what I want. I don't know if I do something wrong or if it is a bug ? I reproduce the sequence of jobs and the list volumes (before and after) below. Thanks for any help. Ludovic Strappazon. 17-Jul 20:30 hunt-dir: Start Backup JobId 12215, Job=DillonDupli.2006-07-17_20.30.02 17-Jul 20:31 hunt-sd: 3301 Issuing autochanger loaded drive 0 command. 17-Jul 20:31 hunt-sd: 3302 Autochanger loaded drive 0, result is Slot 19. 17-Jul 20:31 hunt-sd: 3307 Issuing autochanger unload slot 19, drive 0 command. 17-Jul 20:31 hunt-sd: 3304 Issuing autochanger load slot 6, drive 0 command. 17-Jul 20:32 hunt-sd: 3305 Autochanger load slot 6, drive 0, status is OK. 17-Jul 20:32 hunt-sd: 3301 Issuing autochanger loaded drive 0 command. 17-Jul 20:32 hunt-sd: 3302 Autochanger loaded drive 0, result is Slot 6. 17-Jul 20:32 hunt-sd: Volume 000110 previously written, moving to end of data. 17-Jul 20:35 hunt-sd: Ready to append to end of Volume 000110 at file=46. 17-Jul 20:35 hunt-sd: Spooling data ... dillon-fd: Filesystem change prohibited. Will not descend into /boot dillon-fd: Filesystem change prohibited. Will not descend into /proc dillon-fd: Filesystem change prohibited. Will not descend into /tmp dillon-fd: Filesystem change prohibited. Will not descend into /usr dillon-fd: Filesystem change prohibited. Will not descend into /sys dillon-fd: Filesystem change prohibited. Will not descend into /dev dillon-fd: Filesystem change prohibited. Will not descend into /F 17-Jul 20:56 hunt-sd: Committing spooled data to Volume 000110. Despooling 156,325,510 bytes ... 17-Jul 20:56 hunt-sd: Sending spooled attrs to the Director. Despooling 262,031 bytes ... 17-Jul 20:56 hunt-dir: Bacula 1.38.11 (28Jun06): 17-Jul-2006 20:56:25 JobId: 12215 Job:DillonDupli.2006-07-17_20.30.02 Backup Level: Differential, since=2006-07-15 05:33:01 Client: dillon-fd i686-pc-linux-gnu,gentoo,1.6.14 FileSet:dillonFileset 2004-06-25 20:06:12 Pool: Externalisation Storage:LTOdrive-Multi Scheduled time: 17-Jul-2006 20:30:01 Start time: 17-Jul-2006 20:30:05 End time: 17-Jul-2006 20:56:25 Elapsed time: 26 mins 20 secs Priority: 20 FD Files Written: 1,074 SD Files Written: 1,074 FD Bytes Written: 156,025,349 (156.0 MB) SD Bytes Written: 156,157,656 (156.1 MB) Rate: 98.8 KB/s Software Compression: None Volume name(s): 000110 Volume Session Id: 13 Volume Session Time:1153145171 Last Volume Bytes: 52,145,650,269 (52.14 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK 17-Jul 20:56 hunt-dir: Begin pruning Jobs. 17-Jul 20:56 hunt-dir: No Jobs found to prune. 17-Jul 20:56 hunt-dir: Begin pruning Files. 17-Jul 20:56 hunt-dir: No Files found to prune. 17-Jul 20:56 hunt-dir: End auto prune. 17-Jul 22:00 hunt-dir: Start Backup JobId 12220, Job=sandBackup.2006-07-17_22.00.00 17-Jul 22:01 hunt-sd: 3301 Issuing autochanger loaded drive 0 command. 17-Jul 22:01 hunt-sd: 3302 Autochanger loaded drive 0, result is Slot 6. 17-Jul 22:01 hunt-sd: 3307 Issuing autochanger unload slot 6, drive 0 command. 17-Jul 22:02 hunt-sd: 3304 Issuing autochanger load slot 19, drive 0 command. 17-Jul 22:02 hunt-sd: 3305 Autochanger load slot 19, drive 0, status is OK. 17-Jul 22:02 hunt-sd: 3301 Issuing autochanger loaded drive 0 command. 17-Jul 22:02 hunt-sd: 3302 Autochanger loaded drive 0, result is Slot 19. 17-Jul 22:02 hunt-sd: Volume 000125 previously written, moving to end of data. 17-Jul 22:06 hunt-sd: Ready to append to end of Volume 000125 at file=182. 17-Jul 22:06 sand-fd: Generate VSS snapshots. Driver=VSS Win 2003, Drive(s)=D 17-Jul 22:06 hunt-sd: Spooling data ... 17-Jul 22:22 hunt-sd: Committing spooled data to Volume 000125. Despooling 1,293,232,915 bytes ... 17-Jul 22:23 hunt-sd: Sending spooled attrs to the Director. Despooling 10,127 bytes ... 17-Jul 22:23 sand-fd: VSS Writer (BackupComplete): System Writer, State: 5 (VSS_WS_WAITING_FOR_BACKUP_COMPLETE) 17-Jul 22:23 sand-fd: VSS Writer (BackupComplete): MSDEWriter, State: 1 (VSS_WS_STABLE) 17-Jul 22:23 sand-fd: VSS Writer (BackupComplete): Registry Writer, State: 1 (VSS_WS_STABLE) 17-Jul 22:23 sand-fd: VSS Writer
Re: [Bacula-users] backup size prediction?
Hello Kern, Is it correctly attached now ? Ludovic. Kern Sibbald wrote: Hello Ludovic, Could you send the script as an attachment. As it came, it was line wrapped ... Regards, Kern On Thursday 06 July 2006 20:22, Ludovic Strappazon wrote: Hello Arno, This is the script : #! /bin/sh # Author : Ludovic Strappazon. [EMAIL PROTECTED] # Copyright : Kern Sibbald # Any comment, advice or enhancement are welcome :-) PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MYSQL="/usr/bin/mysql -u bacula --password=X" TMP=/tmp BACULA=/usr/local/bacula PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` STATUS="" . $PROGPATH/utils.sh print_usage() { echo "Usage: $PROGNAME -P pool -M media-type -w warning threshold -c critical threshold [-S]" } print_help() { echo "" print_usage echo "" echo "This plugin checks the space available in the pool against the space required for the next scheduled backups" echo "Example : $PROGNAME -P default -M LTO -w 20 -c 10 will check the default pool, return OK if (available space) 1,20*(required space), WARNING if 1,20*(required space) (available space) 1,10*(required space), and CRITICAL else." echo "" echo "With the -S option, it will check the pool named Scratch and return WARNING instead of CRITICAL if the Scratch pool can save the situation." echo "Example : $PROGNAME -P default -M LTO -w 20 -c 10 -S will check the default pool, return OK if (available space) 1,20*(required space), WARNING if 1,20*(required space) (available space) 1,10*(required space) or if (available space in default and Scratch) 1,10*(required space) (available space in default), and CRITICAL else." echo "" echo "The evaluation of the space required is done by adding the biggest backups of the same level than the scheduled jobs" echo "The available space is evaluated by the number of out of retention tapes and the average VolBytes of these Full tapes" echo "" echo "The Information Status are : \"Required, Available, Volume Errors\" and \"Will use Scratch pool\" if necessary." echo "" echo "I think this plugin should be used in passive mode, and ran by a RunAfterJob" exit 3 } NB_ARGS=$# SCRATCH=0 while getopts :P:M:w:c:hS OPTION do case $OPTION in P) POOL="$OPTARG" ;; M) MEDIA_TYPE="$OPTARG" ;; S) SCRATCH=1 ;; w) WARNING="$OPTARG" ;; c) CRITICAL="$OPTARG" ;; h) print_help exit 3 ;; *) print_usage exit 3 ;; esac done shift $(($OPTIND - 1)) if [ "$NB_ARGS" -ne 8 -a "$NB_ARGS" -ne 9 ]; then print_revision $PROGNAME 13/06/2006 print_usage exit 3 fi LAST_CHECK=`ps -ef | grep check_ba[Cc]ula_pools.sh | awk {'print $5'} | uniq | wc -l` if [ "$LAST_CHECK" -gt 1 ]; then echo "The last check was not complete, you should increase the check_period." exit 3 fi NB_VOLUMES=`$MYSQL EOF USE bacula SELECT COUNT(MediaId) from Media, Pool where Media.PoolId=Pool.PoolId and Pool.Name="$POOL" AND Inchanger = "1"; EOF` NB_VOLUMES=`echo $NB_VOLUMES | cut -f 2 -d ' '` echo "st 1 q" | $BACULA/etc/bconsole | sed -n /Scheduled/,/Running/p | grep Backup | tr -s [:blank:] | tr '[:blank:]' '@' ${TMP}/Scheduled.txt CAPA_REQUIRED=0 for LINE in `cat ${TMP}/Scheduled.txt` do SCHEDULED_JOB=`echo $LINE | awk -F@ '{print $6}'` LEVEL=`echo $LINE | awk -F@ '{print $1}' | cut -c 1` MAX_VOLUME_JOB_FOR_LEVEL=`$MYSQL EOF USE bacula SELECT MAX(JobBytes) from Job, Pool where Level="$LEVEL" AND Job.Name="$SCHEDULED_JOB" AND Job.PoolId=Pool.PoolId AND Pool.Name="$POOL"; EOF ` MAX_VOLUME_JOB_FOR_LEVEL=`echo $MAX_VOLUME_JOB_FOR_LEVEL | cut -f 2 -d ' ' ` CAPA_REQUIRED=$[CAPA_REQUIRED+MAX_VOLUME_JOB_FOR_LEVEL] done rm ${TMP}/Scheduled.txt if [ $NB_VOLUMES -gt 0 ] then NB_VOLUMES_OUT_OF_RETENTION=`$MYSQL EOF USE bacula SELECT COUNT(MediaId) from Media, Pool where Media.PoolId=Pool.PoolId and Pool.Name="$POOL" AND LastWritten "-00-00 00:00:00" AND UNIX_TIMESTAMP()-UNIX_TIMESTAMP(LastWritten)Media.VolRetention AND Inchanger = "1"; EOF ` NB_VOLUMES_OUT_OF_RETENTION=`echo $NB_VOLUMES_OUT_OF_RETENTION | cut -f 2 -d ' '` NB_VOLUMES_ERROR=`$MYSQL EOF USE bacula SELECT COUNT(MediaId) from Media, Pool where Media.PoolId=Pool.PoolId and Pool.Name="$POOL" AND VolStatus="Error" AND Inchanger = "1"; EOF ` NB_VOLUMES_ERROR=`echo $NB_VOLUMES_ERROR | cut -f 2 -d ' '` AVERAGE_CAPA_VOLUME=`$MYSQL EOF USE bacula SELECT SUM(VolBytes)/COUNT(MediaId) FROM Media where VolStatus=&qu
Re: [Bacula-users] backup size prediction?
We also use this one to summarily check (with nagios) the backups. If it can be of any use to someone else... Ludovic. Kern Sibbald a crit: On Friday 07 July 2006 08:17, Ludovic Strappazon wrote: Hello Kern, Is it correctly attached now ? Yes, thanks. I put it in the 1.39 source in examples/database ... Thanks. Ludovic. Kern Sibbald wrote: Hello Ludovic, Could you send the script as an attachment. As it came, it was line wrapped ... Regards, Kern On Thursday 06 July 2006 20:22, Ludovic Strappazon wrote: Hello Arno, This is the script : #! /bin/sh # Author : Ludovic Strappazon. [EMAIL PROTECTED] # Copyright : Kern Sibbald # Any comment, advice or enhancement are welcome :-) PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MYSQL="/usr/bin/mysql -u bacula --password=X" TMP=/tmp BACULA=/usr/local/bacula PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` STATUS="" . $PROGPATH/utils.sh print_usage() { echo "Usage: $PROGNAME -P pool -M media-type -w warning threshold -c critical threshold [-S]" } print_help() { echo "" print_usage echo "" echo "This plugin checks the space available in the pool against the space required for the next scheduled backups" echo "Example : $PROGNAME -P default -M LTO -w 20 -c 10 will check the default pool, return OK if (available space) 1,20*(required space), WARNING if 1,20*(required space) (available space) 1,10*(required space), and CRITICAL else." echo "" echo "With the -S option, it will check the pool named Scratch and return WARNING instead of CRITICAL if the Scratch pool can save the situation." echo "Example : $PROGNAME -P default -M LTO -w 20 -c 10 -S will check the default pool, return OK if (available space) 1,20*(required space), WARNING if 1,20*(required space) (available space) 1,10*(required space) or if (available space in default and Scratch) 1,10*(required space) (available space in default), and CRITICAL else." echo "" echo "The evaluation of the space required is done by adding the biggest backups of the same level than the scheduled jobs" echo "The available space is evaluated by the number of out of retention tapes and the average VolBytes of these Full tapes" echo "" echo "The Information Status are : \"Required, Available, Volume Errors\" and \"Will use Scratch pool\" if necessary." echo "" echo "I think this plugin should be used in passive mode, and ran by a RunAfterJob" exit 3 } NB_ARGS=$# SCRATCH=0 while getopts :P:M:w:c:hS OPTION do case $OPTION in P) POOL="$OPTARG" ;; M) MEDIA_TYPE="$OPTARG" ;; S) SCRATCH=1 ;; w) WARNING="$OPTARG" ;; c) CRITICAL="$OPTARG" ;; h) print_help exit 3 ;; *) print_usage exit 3 ;; esac done shift $(($OPTIND - 1)) if [ "$NB_ARGS" -ne 8 -a "$NB_ARGS" -ne 9 ]; then print_revision $PROGNAME 13/06/2006 print_usage exit 3 fi LAST_CHECK=`ps -ef | grep check_ba[Cc]ula_pools.sh | awk {'print $5'} | uniq | wc -l` if [ "$LAST_CHECK" -gt 1 ]; then echo "The last check was not complete, you should increase the check_period." exit 3 fi NB_VOLUMES=`$MYSQL EOF USE bacula SELECT COUNT(MediaId) from Media, Pool where Media.PoolId=Pool.PoolId and Pool.Name="$POOL" AND Inchanger = "1"; EOF` NB_VOLUMES=`echo $NB_VOLUMES | cut -f 2 -d ' '` echo "st 1 q" | $BACULA/etc/bconsole | sed -n /Scheduled/,/Running/p | grep Backup | tr -s [:blank:] | tr '[:blank:]' '@' ${TMP}/Scheduled.txt CAPA_REQUIRED=0 for LINE in `cat ${TMP}/Scheduled.txt` do SCHEDULED_JOB=`echo $LINE | awk -F@ '{print $6}'` LEVEL=`echo $LINE | awk -F@ '{print $1}' | cut -c 1` MAX_VOLUME_JOB_FOR_LEVEL=`$MYSQL EOF USE bacula SELECT MAX(JobBytes) from Job, Pool where Level="$LEVEL" AND Job.Name="$SCHEDULED_JOB" AND Job.PoolId=Pool.PoolId AND Pool.Name="$POOL"; EOF ` MAX_VOLUME_JOB_FOR_LEVEL=`echo $MAX_VOLUME_JOB_FOR_LEVEL | cut -f 2 -d ' ' ` CAPA_REQUIRED=$[CAPA_REQUIRED+MAX_VOLUME_JOB_FOR_LEVEL] done rm ${TMP}/Scheduled.txt if [ $NB_VOLUMES -gt 0 ] then NB_VOLUMES_OUT_OF_RETENTION=`$MYSQL EOF USE bacula SELECT COUNT(MediaId) from Media, Pool where Media.PoolId=Pool.PoolId and Pool.Name="$POOL" AND LastWritten "-00-00 00:00:00" AND UNIX_TIMESTAMP()-UNIX_TIMESTAMP(LastWritten)Media.VolRetention AND Inchanger = "1"; EOF ` NB_VOLUMES_OUT_OF_RETENTION=`echo $NB_VOLUMES_OUT_OF_RETENTION | cut -f 2 -d ' '` NB_VOLUMES_ERROR=`$MYSQL EOF USE bacula SELECT COU
Re: [Bacula-users] Kern in Munich?
Hi, On 7/4/2006 10:03 PM, Kern Sibbald wrote: ... Bottom line: if you guys are still interested, my wife would be interested in making a trip to Munich in early December for the marché de Noël (Christmas shopping). I would *very* much enjoy meeting as many German users as possible, but my German speaking abilities are rather poor at the moment ... Did your wife consider the marché de Noël de Strasbourg ? So you could speak French and learn German, and even Alsacian ! ;-) Ludovic Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup size prediction?
Hi Mark, I've written a nagios shell script to check my pools in the way you describe. I also remember that Arno Lehmann did something similar in perl (it is distibuted with the bacula sources) Regards, Ludovic Strappazon. [EMAIL PROTECTED] a écrit : Is there any way to have bacula predict how many volumes will be needed for the next night's backup? My goal is to make sure that the autochanger is always loaded with enough tapes to handle the next night's backup, without changing tapes every day. I'm interested in having bacula notify me in advance that it guesses that the following night's backup will require N volumes. I don't want to run estimate for each client (which is a time-consuming and resource intensive action), and then sum the results. It would be great if bacula made use of information that's in the database to get the average of the sizes of the last X backups of the same level that's scheduled for the next backup (ie., full, incremental, differential) for each client, and then added a user-defined fudge-factor (maybe 10%) to guess at the size of the upcoming backup for all scheduled jobs. For example, most of our non-full backups are under 100GB for all clients combined, so our autochanger can run for a long time without manually removing full tapes and putting in new ones. However, full backups can be anywhere from 40GB to over 2TB (depending on the client). To reduce contention, full backups are set up with a staggered schedule--each client does a full on a different night. It would be nice to get some warning from bacula that the next night's backup will probably take 6 volumes, so that I can make sure the enough empty (or over-writeable) tapes are loaded. Any suggestions about scripting such an early warning system? I'm thinking of something like: --- bad pseudo-code --- foreach $client sqlquery(Get list of clients scheduled to backup tonight) { $backup_level=sqlquery(Get level of next backup for $client); $size=average(sqlquery size in GB of all backups for $client of $backup_level); $predictedsize=$total + $size; } $predictedsize=$predictedsize * $fudgefactor; foreach $volsize (sqlquery(Select VolumeSize in GB where VolumeStatus='Full')) { $volsizetotal=$volsize + $volsizetotal; $volcount++; } $average_GB_to_fill_volume=$volsizetotal/$volcount; $volumes_needed=$predictedsize / $average_GB_to_fill_volume; roundup($volumes_needed); print There will be $volumes_needed needed for tonight's backup; EO bad pseudo-code --- Thanks, Mark Mark Bergman [EMAIL PROTECTED] System Administrator Section of Biomedical Image Analysis 215-662-7310 Department of Radiology, University of Pennsylvania http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users check_bacula_pools.sh Description: application/shellscript Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup size prediction?
Arno Lehmann wrote: Ludovic, On 7/6/2006 8:22 PM, Ludovic Strappazon wrote: Hello Arno, This is the script : thanks a lot! This looks like it's meant for use as a Nagios check, is this assumption correct? Arno Yes, we use it with Nagios. Ludovic. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm
Kern Sibbald a écrit : On Monday 10 April 2006 17:29, Ryan Novosielski wrote: John Kodis wrote: On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote: If there are recyclable pool volumes in the changer then use them, else use available scratch pool volumes. Otherwise the size of a tape pool can effectively grow far more rapidly than expected in the absence of a max volumes = pool parameter. I'd second this. I'd like to be able to leave a number of scratch volumes available without having them put into service when there are other eligible volumes available. I'd like to add a third. I don't use scratch pools at all, currently, but I can't see why I'd want a new volume being added to the pool when I've got one in there that's supposed to be used. Wouldn't that mean that it would ALWAYS choose a scratch volume if there is one available and all of your tapes are full (even if one should be recycled)? In my setup, this would be the case anyway. If I remember the argument correctly, it was: Why overwrite volumes if there are scratch volumes available? That is what scratch volumes are for. Hello, In my opinion, the pools should normally cycle on theirs tapes without adding tapes in a stable situation. The scratch pool should be a security to avoid blocking the backups if one volumetry's job increases suddenly, for example. The second advantage of scratch pool is to reach a stable situation automatically : I create all my pools, I put all the tapes in the scratch pool, and let's run Bacula and see what happen. The pools will pick the tapes until they can cycle respecting the retentions periods, so the different pools should be stable. With the new algorithm, I can't use the scratch pool in any of these ways... So please Kern, put it back to the 1.38.5 behavior ! Ludovic Strappazon. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Recycling and scratch pool
Hello, I'm still running 1.38.5, and I agree with Pierre, I think the use of the scratch pool was at the right place in 1.38.5. The last mail I read about the place of scratch pool in the recycling algorithm was this one : Ludovic. Kern Sibbald a écrit : On Monday 28 November 2005 12:26, Ludovic Strappazon wrote: This is maybe more readable : Yes, thanks, it keeps it all on one line. So, thanks for the example, this seems pretty clear. Here is the algorithm that Bacula uses to get the next volume (as written in the manual): 1. Search the Pool for a Volume with VolStatus=Append (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 2. Search the Pool for a Volume with VolStatus=Recycle and the InChanger flag is set true (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 3. Try recycling any purged Volumes. 4. Prune volumes applying Volume retention period (Volumes with VolStatus Full, Used, or Append are pruned). 5. Search the Pool for a Volume with VolStatus=Purged 6. If InChanger was set, go back to the first step above, but this second time, ignore the InChanger flag in step 2. 7. Attempt to create a new Volume if automatic labeling enabled If Python is enabled, a Python NewVolume even is generated before the Label Format check is used. 8. If a Pool named Scratch exists, search for a Volume and if found move it to the current Pool for the Job and use it. 9. Prune the oldest Volume if RecycleOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). This record ensures that all retention periods are properly respected. 10. Purge the oldest Volume if PurgeOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). We strongly recommend against the use of PurgeOldestVolume as it can quite easily lead to loss of current backup data. Please look it over carefully, but it seems to me that if I move item 8 before item 7 (i.e. exchange the two), Bacula will do what you want. I agree this would be much more logical ... Please let me know what you think. I have a pool with two full tapes : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 And a Scratch Pool with Tape_3. If I run a job, this is what happen : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 Tape_3|Append|1 year|1Recycle=yes|LastWritten=23/11/2005 I was expecting : Tape_1|Purged|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 So Bacula don't really need Tape_3 as it can use Tape_1. Ludovic. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Yes, this is a good idea. The Volume should take on the retention period of the new pool. Noted ... Dibon Pierre wrote: Kern Sibbald [EMAIL PROTECTED] a écrit : Hello, There was indeed a change in 1.38.x (perhaps as you say 1.38.6). However, it applies only if the InChanger flag is set in the Media record, which means that in principle we are dealing with an Autochanger, and in that case, I believe that the behavior is correct. There is no way to disable the new behavior except by setting the InChanger flag in each Volume to zero. thanks for your answer but I can't say that i really understand the new way for me the first was the good way : imagine you have a pool big enough to do for example 3 full backup during 3 weeks with a volume retention of 3 weeks, with the first alogrithm when the data remain relatively constant the volumes are recycled normally each 3 weeks, if the amount of data is growing enough (for any reason ) to reach the capacity of the pool before the end of retention period of the oldest volume then bacula will pick a tape in the scratch pool an then continue working from weeks to weeks with the second algorithm bacula will pick and pick tapes in the scratch pools to the end of its capacity without checking the retention date of the normal pool killing the beautifull prevision you make ? this is particularly critical if the goal is to optimise the utilisation of a minimal number of tapes in the autochanger in order to anticipate the future growth of datas is there a thing I misunderstand - Webmail IUT Bayonne, Pays Basque
Re: [Bacula-users] LVM
Hi, It is probably ClientRunBefore... Ludovic Strappazon Davide Corio a écrit : Il giorno lun, 13/03/2006 alle 12.39 +0100, Deim Ágoston ha scritto: RunClientBeforeJob I cannot find this command on the manual, is it correct? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LVM
:-P From http://bacula.org/rel-manual/Configuring_Director.html : *Client Run Before Job = command* This directive is the same as *Run Before Job* except that the program is run on the client machine. The same restrictions apply to Unix systems as noted above for the *Run Before Job*. In addition, for a Windows client on version 1.33 and above, please take careful note that you must ensure a correct path to your script. The script or program can be a .com, .exe or a .bat file. However, if you specify a path, you must also specify the full extension. Unix like commands will not work unless you have installed and properly configured Cygwin in addition to and separately from Bacula. *Special Windows Considerations* The command can be anything that cmd.exe or command.com will recognize as an executable file. Specifying the executable's extension is optional, unless there is an ambiguity. (i.e. ls.bat, ls.exe) The System %Path% will be searched for the command. (under the environment variable dialog you have have both System Environment and User Environment, we believe that only the System environment will be available to bacula-fd, if it is running as a service.) System environment variables can be referenced with %var% and used as either part of the command name or arguments. When specifying a full path to an executable if the path or executable name contains whitespace or special characters they will need to be quoted. Arguments containing whitespace or special characters will also have to be quoted. ClientRunBeforeJob = \C:/Program Files/Software Vendor/Executable\ /arg1 /arg2 \foo bar\ Davide Corio a écrit : Il giorno lun, 13/03/2006 alle 15.52 +0100, Ludovic Strappazon ha scritto: Hi, It is probably ClientRunBefore... Even this command isn't present in the bacula documentation :) --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger with multiple drives
Hi, You should look to this option : *Prefer Mounted Volumes = yes|no* If the Prefer Mounted Volumes directive is set to *yes* (default yes), the Storage daemon is requested to select either an Autochanger or a drive with a valid Volume already mounted in preference to a drive that is not ready. If no drive with a suitable Volume is available, it will select the first available drive. If the directive is set to *no*, the Storage daemon will prefer finding an unused drive, otherwise, each job started will append to the same Volume (assuming the Pool is the same for all jobs). Setting Prefer Mounted Volumes to no can be useful for those sites particularly with multiple drive autochangers that prefer to maximumize backup throughput at the expense of using additional drives and Volumes. As an optimization, when using multiple drives, you will probably want to start each of your jobs one after another with approximately 5 second intervals. This will help ensure that each night, the same drive (Volume) is selected for the same job, otherwise, when you do a restore, you may find the files spread over many more Volumes than necessary. in http://bacula.org/rel-manual/Configuring_Director.html Ludovic Strappazon. Christoph Brunner a écrit : Hi, this week i updated to 1.38.5 (Debian 3.1) and overhauled my config. Now i have an Autochanger resource and some device resources. 20 jobs are running simultaneously, but all on the first device /dev/nst0. Do you have any ideas how to force Bacula to use all available drives? bacula-sd.conf (relevant parts) == Storage { Name = b3m-sd SDPort = 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 } Autochanger { Name = TLS-412180 Device = AIT2-01 Device = AIT2-02 Device = AIT2-03 Device = AIT2-04 Device = AIT2-05 Device = AIT2-06 Device = AIT2-07 Device = AIT2-08 Changer Device = /dev/sg0 Changer Command = /opt/bacula/etc/scripts/mtx-changer %c %o %S %a %d } Device { Name = AIT2-01 MediaType = AIT-2 Archive Device = /dev/nst0 Drive Index = 0 Autochanger = yes AutomaticMount = yes LabelMedia = yes AlwaysOpen = yes Removable Media = yes Spool Directory = /var/spool/bacula/drive01 Maximum Spool Size = 15g } Device { Name = AIT2-02 MediaType = AIT-2 Archive Device = /dev/nst1 Drive Index = 1 Autochanger = yes Autoselect = yes AutomaticMount = yes LabelMedia = yes AlwaysOpen = yes Removable Media = yes Spool Directory = /var/spool/bacula/drive02 Maximum Spool Size = 15g } Device { Name = AIT2-03 MediaType = AIT-2 Archive Device = /dev/nst2 Drive Index = 2 Autochanger = yes Autoselect = yes AutomaticMount = yes LabelMedia = yes AlwaysOpen = yes Removable Media = yes Spool Directory = /var/spool/bacula/drive03 Maximum Spool Size = 15g } ... and so on In bacula-dir.conf === Storage { Name = TLS-412180 Address = b3m SDPort = 9103 Autochanger = yes Password = password Device = TLS-412180 Media Type = AIT-2 Maximum Concurrent Jobs = 20 } Best regards, Christoph Brunner --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purged all jobs for a host
Hi Eric, I think you should restore your catalog Ludovic Strappazon Eric Peterson a écrit : I was trying to recycle a volume following the directions on the website. I guess they are only for newer versions or I didn't do things quite right. I selected 'purge', 'jobs', and then it asked for a file daemon so I chose the file daemon that needed a volume. I thought it would then ask me what jobs to purge. Instead it purged all the jobs for that client. So now that I'm in a bit of trouble, how do I restore my jobs for that client? Thanks. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purged all jobs for a host
I think you are right, but I never had to use bextract, I always keep the 3 last gziped catalogs backups on another server. Ludovic. Eric Peterson a écrit : That's what I was trying to do, but then apparently as part of the catalog restore it started do a backup first and overwrote my last catalog backup with the now purged catalog. So I'm out of luck. At least I should be able to restore using bextract if I have to. Correct me if I'm wrong! I was able to use bls to list the files in the volumes so I'm assuming I'll be able to extract the files using bextract. Live and learn! Thanks, Eric On 2/2/06, *Ludovic Strappazon* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Eric, I think you should restore your catalog Ludovic Strappazon Eric Peterson a écrit : I was trying to recycle a volume following the directions on the website. I guess they are only for newer versions or I didn't do things quite right. I selected 'purge', 'jobs', and then it asked for a file daemon so I chose the file daemon that needed a volume. I thought it would then ask me what jobs to purge. Instead it purged all the jobs for that client. So now that I'm in a bit of trouble, how do I restore my jobs for that client? Thanks. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-devel] About Scratch Pool
Hello Kern, I've done some new tests with volumes files and I have the good behaviour. I don't really understand what happened with the tapes, I will test again. In any case, I think the volumes taken from Scratch Pool should not only take the Volume Retention of the new pool, they should also take its VolUseDuration, MaxVolJobs, MaxVolFiles and MaxVolBytes. I think moving 8 before 7 is a good thing. Best regards, Ludovic. Kern Sibbald a écrit : On Monday 28 November 2005 12:26, Ludovic Strappazon wrote: This is maybe more readable : Yes, thanks, it keeps it all on one line. So, thanks for the example, this seems pretty clear. Here is the algorithm that Bacula uses to get the next volume (as written in the manual): 1. Search the Pool for a Volume with VolStatus=Append (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 2. Search the Pool for a Volume with VolStatus=Recycle and the InChanger flag is set true (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 3. Try recycling any purged Volumes. 4. Prune volumes applying Volume retention period (Volumes with VolStatus Full, Used, or Append are pruned). 5. Search the Pool for a Volume with VolStatus=Purged 6. If InChanger was set, go back to the first step above, but this second time, ignore the InChanger flag in step 2. 7. Attempt to create a new Volume if automatic labeling enabled If Python is enabled, a Python NewVolume even is generated before the Label Format check is used. 8. If a Pool named Scratch exists, search for a Volume and if found move it to the current Pool for the Job and use it. 9. Prune the oldest Volume if RecycleOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). This record ensures that all retention periods are properly respected. 10. Purge the oldest Volume if PurgeOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). We strongly recommend against the use of PurgeOldestVolume as it can quite easily lead to loss of current backup data. Please look it over carefully, but it seems to me that if I move item 8 before item 7 (i.e. exchange the two), Bacula will do what you want. I agree this would be much more logical ... Please let me know what you think. I have a pool with two full tapes : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 And a Scratch Pool with Tape_3. If I run a job, this is what happen : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 Tape_3|Append|1 year|1Recycle=yes|LastWritten=23/11/2005 I was expecting : Tape_1|Purged|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 So Bacula don't really need Tape_3 as it can use Tape_1. Ludovic. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Yes, this is a good idea. The Volume should take on the retention period of the new pool. Noted ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-devel] About Scratch Pool
Hello Ryan, I'm not sure of my understanding of recycle oldest but I think it permit to reuse a volume wich all jobs and files are out of retention regardless of the volume retention. So, it is useless if VolRetentionFileRetention and VolRetentionJobRetention Someone can confirm/correct ? Ludovic. Ryan Novosielski a écrit : I would like to echo this question... not sure why both of those steps would be needed. My guess is because either of them might be on or off (AutoPrune and Prune Oldest Volume). _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Ludovic Strappazon wrote: I agree with you about moving 8 before 7. But from my test, I think that 8 is currently between 3 and 4. There is something I don't understand : Is there something the 9 can do that the 4 couldn't ? (ie : prune oldest is included in prune all, no ?) Ludovic. Kern Sibbald wrote: On Monday 28 November 2005 12:26, Ludovic Strappazon wrote: This is maybe more readable : Yes, thanks, it keeps it all on one line. So, thanks for the example, this seems pretty clear. Here is the algorithm that Bacula uses to get the next volume (as written in the manual): 1. Search the Pool for a Volume with VolStatus=Append (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 2. Search the Pool for a Volume with VolStatus=Recycle and the InChanger flag is set true (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 3. Try recycling any purged Volumes. 4. Prune volumes applying Volume retention period (Volumes with VolStatusFull, Used, or Append are pruned). 5. Search the Pool for a Volume with VolStatus=Purged 6. If InChanger was set, go back to the first step above, but this second time, ignore the InChanger flag in step 2. 7. Attempt to create a new Volume if automatic labeling enabled If Python is enabled, a Python NewVolume even is generated before the Label Format check is used. 8. If a Pool named Scratch exists, search for a Volume and if found move it to the current Pool for the Job and use it. 9. Prune the oldest Volume if RecycleOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). This record ensures that all retention periods are properly respected. 10. Purge the oldest Volume if PurgeOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). We strongly recommend against the use ofPurgeOldestVolume as it can quite easily lead to loss of current backup data. Please look it over carefully, but it seems to me that if I move item 8 before item 7 (i.e. exchange the two), Bacula will do what you want. I agree this would be much more logical ... Please let me know what you think. I have a pool with two full tapes : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 And a Scratch Pool with Tape_3. If I run a job, this is what happen : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 Tape_3|Append|1 year|1Recycle=yes|LastWritten=23/11/2005 I was expecting : Tape_1|Purged|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 So Bacula don't really need Tape_3 as it can use Tape_1. Ludovic. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Yes, this is a good idea. The Volume should take on the retention period of the new pool. Noted ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click
Re: [Bacula-users] bacula-web 1.2
Would it be possible to have the famous Mongol Birthday Song in Private :-D Happy birthday Juan ! Ludovic. Phil Stracchino a écrit : Juan Luis Frances wrote: You are welcome. Your comments are a great birthday gift and, in a open source project as this, the incentive of the work. (yes, my birthday is today :) ) Happy birthday! (I'll refrain from the Mongol Birthday Song. Don't want to frighten innocent users on the lists.) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] About Scratch Pool
Hello, I've just tried the Scratch Pool feature. I'm very happy to have it in Bacula. However, I think there is two problems, unless I'm missing something : - Bacula takes a Scratch Pool volume when it can't find any appendable volume, but it should (in my opinion) look before if there's any recyclable volume. I think it should use Scratch Pool only when a pool can't cycle on its volumes. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Ludovic --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-devel] About Scratch Pool
This is maybe more readable : I have a pool with two full tapes : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 And a Scratch Pool with Tape_3. If I run a job, this is what happen : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 Tape_3|Append|1 year|1Recycle=yes|LastWritten=23/11/2005 I was expecting : Tape_1|Purged|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 So Bacula don't really need Tape_3 as it can use Tape_1. Ludovic. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Yes, this is a good idea. The Volume should take on the retention period of the new pool. Noted ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-devel] About Scratch Pool
I agree with you about moving 8 before 7. But from my test, I think that 8 is currently between 3 and 4. There is something I don't understand : Is there something the 9 can do that the 4 couldn't ? (ie : prune oldest is included in prune all, no ?) Ludovic. Kern Sibbald wrote: On Monday 28 November 2005 12:26, Ludovic Strappazon wrote: This is maybe more readable : Yes, thanks, it keeps it all on one line. So, thanks for the example, this seems pretty clear. Here is the algorithm that Bacula uses to get the next volume (as written in the manual): 1. Search the Pool for a Volume with VolStatus=Append (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 2. Search the Pool for a Volume with VolStatus=Recycle and the InChanger flag is set true (if there is more than one, the Volume with the oldest date last written is chosen. If two have the same date then the one with the lowest MediaId is chosen). 3. Try recycling any purged Volumes. 4. Prune volumes applying Volume retention period (Volumes with VolStatus Full, Used, or Append are pruned). 5. Search the Pool for a Volume with VolStatus=Purged 6. If InChanger was set, go back to the first step above, but this second time, ignore the InChanger flag in step 2. 7. Attempt to create a new Volume if automatic labeling enabled If Python is enabled, a Python NewVolume even is generated before the Label Format check is used. 8. If a Pool named Scratch exists, search for a Volume and if found move it to the current Pool for the Job and use it. 9. Prune the oldest Volume if RecycleOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). This record ensures that all retention periods are properly respected. 10. Purge the oldest Volume if PurgeOldestVolume=yes (the Volume with the oldest LastWritten date and VolStatus equal to Full, Recycle, Purged, Used, or Append is chosen). We strongly recommend against the use of PurgeOldestVolume as it can quite easily lead to loss of current backup data. Please look it over carefully, but it seems to me that if I move item 8 before item 7 (i.e. exchange the two), Bacula will do what you want. I agree this would be much more logical ... Please let me know what you think. I have a pool with two full tapes : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 And a Scratch Pool with Tape_3. If I run a job, this is what happen : Tape_1|Full|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 Tape_3|Append|1 year|1Recycle=yes|LastWritten=23/11/2005 I was expecting : Tape_1|Purged|1 week|Recycle=yes|LastWritten=5/11/2005 Tape_2|Full|1 week|Recycle=yes|LastWritten=23/11/2005 So Bacula don't really need Tape_3 as it can use Tape_1. Ludovic. - The retention of the volume added from the Scratch Pool should be the retention of its new pool instead of one year. Yes, this is a good idea. The Volume should take on the retention period of the new pool. Noted ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pool
Hi, I don't know if this could make a miracle, but did you think about modifying your Night pool like this ? Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Use Duration = 24h Volume Retention = 13 days (LabelFormat = ${Pool}_$NumVols) Maximum Volumes = 10 } Ludovic. Gilberto Nunes Ferreira a écrit : Sir Kern and Ryan I understand what you said, but I ask for my company to by more tape and the answer is NO WAY, MAKE A MIRACLE :-) ... I have only 10 tape for my all jobs... I need that bacula recycling a tape after 10 days of used. I keep my data for 7 days in a single tape. Acording to manual, a tape is recycling only if your status is Full, right?!?!? How set bacula to change the status to Full?!?! My company almost want change your software backup to another solution, but I try to keep bacula working on my net... Please any help is welcome. Thanks so much! On Wed, 23 Nov 2005 17:07:24 +0100, Kern Sibbald wrote On Wednesday 23 November 2005 16:52, Ryan Novosielski wrote: Exactly -- read the manual and look for the config parameters that I mentioned below. Perhaps this doesn't apply to Gilberto, but I suspect so: I would add to what Ryan says because we have seen a lot of similar complaints lately, and the bottom line of all of them is that most of you are running on the ragged edge. This means, in general, that you have no margin of safety. Most of you are asking Bacula to destroy a previous backup that is still valid. I.e. you want to write over a tape that has the only full backup say from last week. Bacula won't normally do this without a lot of arm twisting. The features exist, you just need to read the document to find them. Some of them are marked The use of this directive is not recommended If you find yourself in this situation, you may be risking your company's data, and the simple solution is to buy more tapes and use a longer cycle so you are sure you are not writing over the last full backup made a week ago. All this is in the manual. The manual is big, so sometimes it is hard to find, but look at the table of contents and the index, and read, read, read. For those of you who do not easily read English -- I'm sorry, its our only manual at the current time ... :-( _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Gilberto Nunes Ferreira wrote: Well The resume is this: My Pool don't recycling any tape, because the volume stay in append status... I have to change the status for Full manually and I not want to do so... How can I set bacula to do this automatic?!?!? On Tue, 22 Nov 2005 22:16:28 -0500, Ryan Novosielski wrote I don't know what you're writing to the tapes -- you really haven't said (not what, really, but how much and how many times). Try looking into the Maximum Volume Jobs and Volume Use Duration (I may be hazy on the names). This should be a clue. Gilberto Nunes Ferreira wrote: Hi all My problem is so quiet simple (I hope): I have this pool in bacula-dir.conf: Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Maximum Volumes = 10 } # Default pool definition Pool { Name = Saturday Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Maximum Volumes = 2 } I have 10 tapes in the Night Pool, with this labels: monday tuesday wednesday thursday friday monday-2 tuesday-2 wednesday-2 thursday-2 friday-2 I use the five first tapes to one week and the other five tape for the next week immediately following... The backup runs every night, execpt Saturday and Sunday night, at 23hs00. And the saturday pool, i have two tapes, whit this labels: Saturday Saturday-2 I use this two tape one saturday yes and one saturday no... The backup runs every saturday, at 13hs00. The Pool called Saturday work very well... But the Pool Night is so complicated... The night pool backup the file very well. But when the schedule Catalog runs, the tape is not mark whit Full Status... How can I set bacula to mark tape whit Full status, by recycling the volume to used the same volume that to be use another day? Thanks Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome:
Re: [Bacula-users] Two Directors, one Storage Daemon and one Catalog
Kern Sibbald a écrit : On Tuesday 15 November 2005 22:07, Ludovic Strappazon wrote: Hello, For some reasons, we are thinking about migrating our Bacula config to something like : - Two Bacula-dirs, one for each side of a firewall - One SD - One Catalog. I join a schema. From the tests I've done today, everything seems ok, except that any Director can restore any client to one of its own clients, but we can leave with that. I 'd be happy to know if someone already has done something similar, and/or if someone can see a problem I messed in this config. I would recommend against running two directors with a single catalog. It is not currently designed to work that way, and you will *very* likely have problems. You can use the same MySQL or PostgreSQL server, but you will need to use different database names ... Ok, many thanks for your answer. My problem is to find a good way to manage the volumes from the same library in two catalogs. Ludovic. Thanks for any help. Best regards, Ludovic. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Two Directors, one Storage Daemon and one Catalog
Hello, For some reasons, we are thinking about migrating our Bacula config to something like : - Two Bacula-dirs, one for each side of a firewall - One SD - One Catalog. I join a schema. From the tests I've done today, everything seems ok, except that any Director can restore any client to one of its own clients, but we can leave with that. I 'd be happy to know if someone already has done something similar, and/or if someone can see a problem I messed in this config. Thanks for any help. Best regards, Ludovic. Schema2DIRS.pdf Description: Adobe PDF document
Re: [Bacula-users] Release 1.38.0
Hello, Just few words to dissipate a misunderstanding. I finished my studies few years ago, and I'm an employee of the Marc Bloch University of Strasbourg since 09/2002, and we use Bacula to backup our servers since 12/2002. This is not important. My contribution's amount is 10% of the personal profit I've done last year on a small independant mission (installation of Bacula, of course). I'll try to continue this way if I ever have other such missions. Ludovic. Kern Sibbald wrote: So far, Ludovic Strappazon is the only individual to make a contribution directly to Bacula. This is all the more significant because Ludovic just finished his studies (so he is not a commercial company). Thanks Ludovic. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with AutomaticMount
Hi, Did you try to activate/increase the sleep time in the mtx-changer script ? Ludovic. Kanwar Ranbir Sandhu wrote: On Fri, 2005-21-10 at 16:10 +0200, Hendrik Weimer wrote: I've done a fresh installation of Bacula 1.3.36 on a server with a tape drive. Backup works fine, but I have a problem with restoring. Bacula asks for the correct volume, however after inserting it I have to do a manual mount despite AutomaticMount is set to 'yes' in the SD config. Do you have any idea how I can perform restore jobs without manual intervention? I've noticed that too - I don't know what I'm doing wrong. Perhaps Automatic Mount doesn't actually mean auto mounting of the tape?! Regards Ranbir --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Listing of remote files
Hi Fred, Maybe estimate ? Ludovic. http://bacula.org/rel-manual/Bacula_Console.html#SECTION000205000 *estimate* Using this command, you can get an idea how many files will be backed up, or if you are unsure about your Include statements in your FileSet, you can test them without doing an actual backup. The default is to assume a Full backup. However, you can override this by specifying a *level=Incremental* or *level=Differential* on the command line. A Job name must be specified or you will be prompted for one, and optionally a Client and FileSet may be specified on the command line. It then contacts the client which computes the number of files and bytes that would be backed up. Please note that this is an estimated calculated from the number of blocks in the file rather than by reading the actual bytes. As such, the estimated backup size will generally be larger than an actual backup. Optionally you may specify the keyword *listing* in which case, all the files to be backed up will be listed. Note, it could take quite some time to display them if the backup is large. The full form is: estimate job=job-name listing client=client-name fileset=fileset-name level=level-name Specification of the *job* is sufficient, but you can also override the client, fileset and/or level by specifying them on the estimate command line. As an example, you might do: @output /tmp/listing estimate job=NightlySave listing level=Incremental @output which will do a full listing of all files to be backed up for the Job *NightlySave* during an Incremental save and put it in the file */tmp/listing*. ** Fred Pierrot a écrit : Hi, i'm making an 'administration tool' and i would like to allow user to select which files to backup, is it possible to list remote files ? ( i can auth and send commands to the file daemon but i don't see commands which return a list of files) thx. Fred PIERROT - E-LOGIQ SA. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Listing of remote files
I can't see anything else. You could first use a generic backup everything fileset just to first get the list via estimate, then adjust ? Ludovic Fred Pierrot a écrit : hi, At 11:42 20/10/2005, you wrote: Hi Fred, Maybe estimate ? The 'problem' with estimate is that it lists files in a fileset (you can get an idea how many files will be backed up) I would like to list all files on the filedaemon's host in order to create a fileset with selected files/folders but didn't see something like that in documentation. Ludovic. http://bacula.org/rel-manual/Bacula_Console.html#SECTION000205000 *estimate* Using this command, you can get an idea how many files will be backed up, or if you are unsure about your Include statements in your FileSet, you can test them without doing an actual backup. The default is to assume a Full backup. However, you can override this by specifying a *level=Incremental* or *level=Differential* on the command line. A Job name must be specified or you will be prompted for one, and optionally a Client and FileSet may be specified on the command line. It then contacts the client which computes the number of files and bytes that would be backed up. Please note that this is an estimated calculated from the number of blocks in the file rather than by reading the actual bytes. As such, the estimated backup size will generally be larger than an actual backup. Optionally you may specify the keyword *listing* in which case, all the files to be backed up will be listed. Note, it could take quite some time to display them if the backup is large. The full form is: estimate job=job-name listing client=client-name fileset=fileset-name level=level-name Specification of the *job* is sufficient, but you can also override the client, fileset and/or level by specifying them on the estimate command line. As an example, you might do: @output /tmp/listing estimate job=NightlySave listing level=Incremental @output which will do a full listing of all files to be backed up for the Job *NightlySave* during an Incremental save and put it in the file */tmp/listing*. ** Fred Pierrot a écrit : Hi, i'm making an 'administration tool' and i would like to allow user to select which files to backup, is it possible to list remote files ? ( i can auth and send commands to the file daemon but i don't see commands which return a list of files) thx. Fred PIERROT - E-LOGIQ SA. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Fred PIERROT - E-LOGIQ SA. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is There A Way To Restore Only Missing Files?
Hello, A restore with replace = never would'nt do what you need ? Ludovic Drew Tomlinson a écrit : Is there a way to build a restore job that compares the all the files associated with a particular job with the ones currently on a disk and then only restore those that are missing? I was unable to turn anything up with Google. So if this is possible, any nudges toward documentation would be appreciated Thanks, Drew --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is There A Way To Restore Only Missing Files?
Drew Tomlinson a écrit : On 10/10/2005 12:59 PM Ludovic Strappazon wrote: Hello, A restore with replace = never would'nt do what you need ? Yes, I guess that would do it. Being as these backups are on tape, will a job like that require me to feed all the tapes through or will Bacula only ask for the tapes that are needed? It will only ask the needed tapes. Still new to bacula but beginning to learn enough to become dangerous. :) You should also consider replace if older/newer, and re-backup the where folder before experiment... Thanks, Drew Drew Tomlinson a écrit : Is there a way to build a restore job that compares the all the files associated with a particular job with the ones currently on a disk and then only restore those that are missing? I was unable to turn anything up with Google. So if this is possible, any nudges toward documentation would be appreciated Thanks, Drew --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-devel] Re: [Bacula-users] Re: Open Source Funding idea (Kern Sibbald)
Arno Lehmann a écrit : Phil Stracchino wrote: Kern Sibbald wrote: If we want, we could implement a donor only list where subscription would be conditional on making a donation or being a Bacula support provider. For such a list to work, I'll need Bacula support providers. This is just a thought. In fact, it wouldn't require any more commitment than what you guys are doing today, just that enough of you are willing to be designated as a support provider. I'm not planning to implement this idea unless I get sufficient positive feedback and and a good number of support providers. I'd be willing to commit to being a support provider, ... Me too. Arno And me too. Ludovic. --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: disaster recovery windows
Hi Romain, As I said you in french, I think Bacula is not better nor worst than the others softwares concerning open files in Windows. You can always use an open transfer manager, as you would with another softare. I'm a little more anxious and surprised about the service packs and updates as you says they are not restored. I hope to try this friday. Regards, Ludovic Strappazon. Kern Sibbald a écrit : On Wednesday 13 July 2005 16:40, Romain Charlon wrote: Hello Kern, Excuse me for boring you once again, but I believe in Bacula, and I'd like to succeed in using it. I'd like to know if for you it's a normal thing that I can't save files like SYSTEM or SOFTWARE in the directory c:/winnt/system32/config, or if I am doing something wrong? Please ask the list. Thanks. Best regards. Romain Charlon Eolas, Business Decision Grenoble : +33 (4) 76 44 50 50 - fax : +33 (4) 76 44 00 41 L'Internet au complet : Portail Internet et SI Intranet, Trafic web, Hébergement Avion à Saint Exupéry ? rendez-vous sur Achat-Lyon.com, Lyon Aéroport OU sur la zone boutique du site de l'aéroport --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fwd: disaster recovery windows
Hi, I did'nt took care of service packs and updates during my tests. I'll try this as soon as possible. Ludovic Strappazon Kern Sibbald a écrit : Hello, I think someone from the list can help you. -- Forwarded Message -- Subject: disaster recovery windows Date: Tuesday 12 July 2005 11:55 From: Romain Charlon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello Kern, I am actually studying Bacula for my company EOLAS (in France), but I didn't find any way to restore a whole OS windows. I need on line backups, and I don't know how to backup system files. I tried, as said in the manual, to use the systemstate of windows, but after a restore, there aren't anymore the service pack and the updates! Have you any solution for disaster recovery for windows on line ? Best regards Romain [EMAIL PROTECTED] --- --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SSH tunnel
Hello Jonas, I think you need the -g option. Ludovic Strappazon. Jonas Björklund a écrit : Hello, I have created a SSH tunnel to one of my client. And it works fine with the following command: ssh -fN -l root -L 19102:localhost:9102 -R 9103:localhost:9103 myclient But now I would like to run it from the RunBeforeJob command. Bacula starts the tunnel. But it seems that Bacula just waiting for the command to exit. When I kill the tunnel Bacula continues but fail since the tunnel is down. Any ideas to get Bacula not wait wait until RunBeforeJob is finnished? --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Amazon's patent
Hello, There is a demonstration in Strasbourg tomorrow. I'll be there. Ludovic. http://wiki.noepatents.eu.org/index.php/StbDemo050604 Kern Sibbald a écrit : Hello, After having skimmed over the Corrdinating Delivery of a Gift patent recently issued to Jeff Bezos of Amazon, I take back what I said about patents affecting Bacula. If the US patent office allows patents of crap like that, we are all in *deep* trouble. We can only hope that the European Union does not follow the US's lead. However given the huge amount of money involved who knows. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] isolating users
Hello Marco, I think you need to use ACL's. Take look there : http://bacula.org/rel-manual/Configuring_Director.html#SECTION0001413000 Ludovic. marco wrote: Hi all, I am currently trying to find a backup solution that allows my clients to backup on my storage space (eg; disk set) and allow them to perform restore operations without risking our own data and or other clients. Would I just need to run multiple per client instances of the backup server, or would I need also need to have seperate storage daemons as well? From what I gather from the documentation, and my own tests a few months back, it is possible for anyone who has director access to arbitarily restore any data to almost anywhere What have other list members done in a multi-user dont-trust-anyone environment? TIA , Marco -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Script nagios
Arno Lehmann wrote: Now, if only you could rely on the scheduled jobs output, concerning tape requirement... I, at least, can't, and even if I see why that doesn't help me a lot... Do you mean rely on an estimate for each scheduled job ? No, I mean that the volume given in sta dir for the scheduled jobs does not consider job overrides or schedule overrdes, like Incremental Pool in a job definition or Pool= in the schedule. Nor an upgrade from Incremental to Full, I suppose. This is very far from my poor programming capacities, and I don't know how to get these infos from Bacula. I hope you will succeed. Oops, you misunderstood me - I'm not trying to do that, because that would require redoing all the considerations the director has to do when it starts a job. And I really don't intend to either rework the director status output or add such a capapility to my script, starting with parsing the bacula-dir.conf... no, I'll wait till Kern asks for possible improvements and then suggest this issue :-) Arno Good strategy :-D Ludovic. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.0.0 - Release Date: 27/05/2005 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] hi all ...
Hi Alessio, You should verify that your clients can resolve your backup server. Ludovic. l'Alessio wrote: I'm starting up with bacula on gentoo box, the db is mysql. asking via bconsole the status of director, of the storage and of the 2 clinet configured it seams to be al right, but running a job i get is waiting for Client web1italcom-fd to connect to Storage File ... after some minutes it times out. the clients are windwos 2000 server --- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Concurrent Job Behaviour
Hi Sean, It is possible to have Concurrent Jobs running and spooling in the second scenario :-) You can send more details. Ludovic Sean O'Grady wrote: Hello, I'm trying to get a better understanding of Concurrent Job behaviour and how it relates to multiple jobs going to a single Storage Device. The basics of my setup are multiple clients and a single Storage device. I specify that all Jobs will be spooled and that there is a Maximum Concurrent Job number of 20. What I would like to have happen is if 5 Jobs start @ 23:00 the first one started spools its data and then writes to tapes when its finished spooling. The additional 4 Jobs meanwhile start spooling their data from the client while the first job is running and then write to tape when the Storage Device becomes available. The order of Job completion can be FIFO as long as the data can be spooled concurrently from all clients (assuming there is enough disk space). As an alternative which would be even better - All 5 Jobs start @ 23:00 spooling data from the client, the first Job to complete the spooling from the client starts writing to the Storage Device. Remaining Jobs queue for the Storage Device as it becomes available and as their spooling completes. Instead what I'm seeing is while the first job executes the additional jobs all have a status of is waiting on max Storage jobs and will not begin spooling their data until that first Job has spooled-despooled-written to the Storage Device. My question is of course is this possible to have Concurrent Jobs running and spooling in one of the scenarios above (or another I'm missing). If so I'll send out more details of my config to see if anyone can point out what I'm doing wrong. Thanks, Sean -- Sean O'Grady System Administrator Sheridan College Oakville, Ontario --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 17/05/2005 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Device is BLOCKED waiting for appendable media.
Hi Evelyne, From the manual : *My Catalog is Full of Test Runs, How Can I Start Over? * If you are using MySQL do the following: cd bacula-source/src/cats ./drop_mysql_tables ./make_mysql_tables If you are using SQLite, do the following: Delete bacula.db from your working directory. cd bacula-source/src/cats ./drop_sqlite_tables ./make_sqlite_tables Then write an EOF on each tape you used with *Bacula* using: mt -f /dev/st0 rewind mt -f /dev/st0 weof where you need to adjust the device name for your system. Ludovic Evelyne Cangini wrote: Hello, I use an Exabyte EZ17 autoloader.7 tapes. I tested it. All was OK. I cleaned the database (drop_bacula_tables + make_bacula_tables) after testing and I run a first job. The bconsole command status dir displays the message waiting for an appendable Volume The label commande fails because the tape has already be labeled during the precedent tests. The bconsole command status storage displays the message Device is BLOCKED waiting for appendable media. How can I unblock the device and append the Volume ? During my tests, the Volume was automatically appended with the label command, which doesn't work now. Thanks in advance. Evelyne --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with concurrent jobs, pools, volumes.... ;-)
Hello, - setup pools as in the example Kern gave in Using Pools to Manage Volumes with some changes: volume retention for full is only 2 month. Another thing i would like was to have uniqe name for the volumes created according to the job-name (is this a good idea?) Why not, but unless I'm wrong, your volumes will remain on your disk as they will not be reused, tou will need to delete them yourself. Running Jobs: JobId Level Name Status == 7 Increme sunserv-data.2005-05-02_08.09.35 is waiting on max Storage jobs 6 Increme sunserv-system.2005-05-02_08.09.32 is waiting execution 5 Fullsonne-data.2005-05-02_08.09.03 is running 4 Increme sonne-system.2005-05-02_08.08.59 is waiting for higher priority jobs to finish 3 Fullatpc4ujc-data.2005-05-02_08.06.14 is running sonne-data, sunserv-data and sunserv-system will all use the same pool and same storage but why are the sunserv-jobs waiting for sonne to complete? I think they are waiting because they need a volume from Incr-Pool while the storage device is busy with a volume from Full-Pool. Best regards, Ludovic. --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-dir crashes daily
Good new ! I will wait few days before saying it works for me... Ludovic. Soeren Sonnenburg wrote: On Thu, 2005-04-07 at 17:23 +0200, Ludovic Strappazon wrote: Hi Soeren, I think you should look at the bugs 257 and 270... http://bugs.bacula.org/ ok after applying the patches bacula-dir did no longer crash :) Hope it also works for you. Soeren. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Road Map for Next Release
Kern Sibbald wrote: On Thursday 24 March 2005 00:13, Arno Lehmann wrote: Rick, Rick Meyer wrote: Hi Kern, Do you have any idea on the release date for Bacula 1.37? 1.37 is already available. 1.37 is the development version. You get it via cvs from sourceforge. That said, your question might fit better into the developers list. 1.38 might be available sometime this summer (on the northern hemisphere). Kern did not, to my knowledge, give any fixed date, and I guess he knows why. I'm doing this for the pleasure and have no boss so why put myself under pressure and possibly release a poor product by specifying a fixed date? And it's why we like it ! Ludovic Strappazon. --- This SF.net email is sponsored by Microsoft Mobile Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) Windows Mobile(tm) platforms, applications content. Register by 3/29 save $300 http://ads.osdn.com/?ad_id=6883alloc_id=15149op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users