]> git.sur5r.net Git - bacula/rescue/log
bacula/rescue
20 years agoSee kes-1.33; restore fixes, cleanups, must update regress
Kern Sibbald [Wed, 24 Dec 2003 20:26:29 +0000 (20:26 +0000)]
See kes-1.33; restore fixes, cleanups, must update regress

20 years agoAdd more error messages to bsmtp
Kern Sibbald [Tue, 23 Dec 2003 22:48:38 +0000 (22:48 +0000)]
Add more error messages to bsmtp

20 years agoAdd new files from Nic
Kern Sibbald [Tue, 23 Dec 2003 20:58:05 +0000 (20:58 +0000)]
Add new files from Nic

20 years agoNic's watchdog code + cleanup jcr locking/use_count
Kern Sibbald [Tue, 23 Dec 2003 20:23:15 +0000 (20:23 +0000)]
Nic's watchdog code + cleanup jcr locking/use_count

20 years agoremove comments expressing doubt. adjust whitespace
Dan Langille [Tue, 23 Dec 2003 16:50:35 +0000 (16:50 +0000)]
remove comments expressing doubt. adjust whitespace

20 years agoAdd my_postgresql_max_length which caculates the maximum width for all values in...
Dan Langille [Tue, 23 Dec 2003 16:44:32 +0000 (16:44 +0000)]
Add my_postgresql_max_length which caculates the maximum width for all values in a field.

20 years agoStore an array of POSTGRESQL_FIELD, one for each field.
Dan Langille [Tue, 23 Dec 2003 16:41:31 +0000 (16:41 +0000)]
Store an array of POSTGRESQL_FIELD, one for each field.

20 years agowhitespace changes
Dan Langille [Tue, 23 Dec 2003 13:38:13 +0000 (13:38 +0000)]
whitespace changes
remove incorrect comment

20 years agolots of whitespace changes
Dan Langille [Tue, 23 Dec 2003 01:00:14 +0000 (01:00 +0000)]
lots of whitespace changes
remove commented out code

20 years agocorrect date
Dan Langille [Tue, 23 Dec 2003 00:46:47 +0000 (00:46 +0000)]
correct date

20 years agoadd missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 21:49:44 +0000 (21:49 +0000)]
add missing E to $POSTGRSQL_LFLAGS

20 years agoadd missing E to $POSTGRSQL_LFLAGS
Dan Langille [Mon, 22 Dec 2003 21:39:33 +0000 (21:39 +0000)]
add missing E to $POSTGRSQL_LFLAGS

20 years agoold-onfigure => old-configure
Dan Langille [Mon, 22 Dec 2003 20:41:08 +0000 (20:41 +0000)]
old-onfigure => old-configure

20 years agoNew configure from changed aclocal.m4
Kern Sibbald [Mon, 22 Dec 2003 20:11:06 +0000 (20:11 +0000)]
New configure from changed aclocal.m4

20 years agoChange SQLite reference to PostgreSQL
Dan Langille [Mon, 22 Dec 2003 19:59:57 +0000 (19:59 +0000)]
Change SQLite reference to PostgreSQL

20 years agostart using @DB_NAME@
Dan Langille [Mon, 22 Dec 2003 19:24:44 +0000 (19:24 +0000)]
start using @DB_NAME@
organize the file names

20 years agoFix configure.in + build new configure
Kern Sibbald [Mon, 22 Dec 2003 16:35:07 +0000 (16:35 +0000)]
Fix configure.in + build new configure

20 years ago$(RMF) mysql postgresql sqlite => $(RMF) mysql sqlite
Dan Langille [Mon, 22 Dec 2003 15:14:39 +0000 (15:14 +0000)]
$(RMF) mysql postgresql sqlite => $(RMF) mysql sqlite
We have no postgresql.

20 years agodeal with grant_bacula_privileges
Dan Langille [Mon, 22 Dec 2003 15:14:00 +0000 (15:14 +0000)]
deal with grant_bacula_privileges

20 years agoAdd file
Dan Langille [Mon, 22 Dec 2003 14:58:22 +0000 (14:58 +0000)]
Add file

20 years agoAdd file
Dan Langille [Sun, 21 Dec 2003 23:23:52 +0000 (23:23 +0000)]
Add file

20 years agoWhen invoking the mysql script, pass in $*
Dan Langille [Sun, 21 Dec 2003 22:18:32 +0000 (22:18 +0000)]
When invoking the mysql script, pass in $*

20 years agotidy up make clean and ensure we have all the create/drop etc files
Dan Langille [Sun, 21 Dec 2003 22:16:06 +0000 (22:16 +0000)]
tidy up make clean and ensure we have all the create/drop etc files
for each database variant.

20 years agoTake Dan's new configure.in and generate configure
Kern Sibbald [Sun, 21 Dec 2003 21:13:22 +0000 (21:13 +0000)]
Take Dan's new configure.in and generate configure

20 years agoMinor updates after backporting to 1.32e
Kern Sibbald [Sun, 21 Dec 2003 15:41:47 +0000 (15:41 +0000)]
Minor updates after backporting to 1.32e

20 years agoOops, remove media.drive added in errror
Dan Langille [Sat, 20 Dec 2003 23:26:41 +0000 (23:26 +0000)]
Oops, remove media.drive added in errror

20 years agoAdd volreadtime and volwritetime to media table.
Dan Langille [Sat, 20 Dec 2003 21:46:36 +0000 (21:46 +0000)]
Add volreadtime and volwritetime to media table.

20 years agochange DEAULT -> DEFAULT
Dan Langille [Sat, 20 Dec 2003 21:40:15 +0000 (21:40 +0000)]
change DEAULT -> DEFAULT

20 years agoApply Dan's fix to Makefile.in
Kern Sibbald [Sat, 20 Dec 2003 19:30:48 +0000 (19:30 +0000)]
Apply Dan's fix to Makefile.in

20 years agoAdd missing ;
Dan Langille [Sat, 20 Dec 2003 19:06:43 +0000 (19:06 +0000)]
Add missing ;
line up a function call

20 years agoSQL updates + Vol read/write times
Kern Sibbald [Sat, 20 Dec 2003 18:40:14 +0000 (18:40 +0000)]
SQL updates + Vol read/write times

20 years agoFix configuration of default SQLite
Kern Sibbald [Sat, 20 Dec 2003 17:25:17 +0000 (17:25 +0000)]
Fix configuration of default SQLite

20 years agoError check arg to config
Kern Sibbald [Sat, 20 Dec 2003 16:47:02 +0000 (16:47 +0000)]
Error check arg to config

20 years agoUse @scriptdir@ not . ./
Dan Langille [Sat, 20 Dec 2003 16:27:25 +0000 (16:27 +0000)]
Use @scriptdir@ not . ./

20 years agoAllow for optional parameter which specifies the database target.
Dan Langille [Sat, 20 Dec 2003 03:41:41 +0000 (03:41 +0000)]
Allow for optional parameter which specifies the database target.
reinstate create_bacula_database.

20 years agoMerge Dan's and my code to add PostgreSQL detection to configure.in
Kern Sibbald [Fri, 19 Dec 2003 19:59:31 +0000 (19:59 +0000)]
Merge Dan's and my code to add PostgreSQL detection to configure.in

20 years agoignore grant_bacula_privileges grant_sqlite_privileges
Dan Langille [Fri, 19 Dec 2003 17:51:43 +0000 (17:51 +0000)]
ignore grant_bacula_privileges  grant_sqlite_privileges

20 years agoAdd grant_bacula_privileges to configure.in and Makefile.in
Kern Sibbald [Fri, 19 Dec 2003 15:30:08 +0000 (15:30 +0000)]
Add grant_bacula_privileges to configure.in and Makefile.in

20 years agoPut configure back in sync
Kern Sibbald [Fri, 19 Dec 2003 11:21:04 +0000 (11:21 +0000)]
Put configure back in sync

20 years agoAdd user config files
Kern Sibbald [Fri, 19 Dec 2003 11:11:58 +0000 (11:11 +0000)]
Add user config files

20 years agoAdd in --with-tcp-wrappers but without =/usr/lib
Dan Langille [Fri, 19 Dec 2003 00:22:27 +0000 (00:22 +0000)]
Add in --with-tcp-wrappers but without =/usr/lib

20 years agoAdd PostgreSQL support droppped in revision 1.88.
Dan Langille [Fri, 19 Dec 2003 00:18:13 +0000 (00:18 +0000)]
Add PostgreSQL support droppped in revision 1.88.
While here, add a "checking for embedded SQL" so we don't see just a "no".

20 years agoRemember to install grant_bacula_privileges
Dan Langille [Thu, 18 Dec 2003 20:50:18 +0000 (20:50 +0000)]
Remember to install grant_bacula_privileges

20 years agoRemove conio kludge
Kern Sibbald [Thu, 18 Dec 2003 20:49:48 +0000 (20:49 +0000)]
Remove conio kludge

20 years agoApply Dan's fix to conio.c
Kern Sibbald [Thu, 18 Dec 2003 19:41:29 +0000 (19:41 +0000)]
Apply Dan's fix to conio.c

20 years agoifdef off conio.c if not configured -- should not be necessary
Kern Sibbald [Thu, 18 Dec 2003 19:33:54 +0000 (19:33 +0000)]
ifdef off conio.c if not configured -- should not be necessary

20 years agoFinal fixes to new scheduler
Kern Sibbald [Thu, 18 Dec 2003 18:16:43 +0000 (18:16 +0000)]
Final fixes to new scheduler

20 years agoCater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 17:32:19 +0000 (17:32 +0000)]
Cater for grant_sqlite_privileges

20 years agoreplace references to sqlite scripts with generic bacula scripts.
Dan Langille [Thu, 18 Dec 2003 17:12:14 +0000 (17:12 +0000)]
replace references to sqlite scripts with generic bacula scripts.

20 years agoignore weird-files2
Dan Langille [Thu, 18 Dec 2003 17:10:22 +0000 (17:10 +0000)]
ignore weird-files2

20 years agoRemove calls to sql_table_name()
Dan Langille [Thu, 18 Dec 2003 17:05:31 +0000 (17:05 +0000)]
Remove calls to sql_table_name()
Add table name to sql_insert_id() calls.

20 years agouse bstrncpy instead of strcpy. Simlarly for bstrncat.
Dan Langille [Thu, 18 Dec 2003 17:04:33 +0000 (17:04 +0000)]
use bstrncpy instead of strcpy.  Simlarly for bstrncat.
Alter my_postgresql_currval to take a table name.

20 years agoreplace sql_table_name() with an extra parameter on sql_insert_id().
Dan Langille [Thu, 18 Dec 2003 17:03:13 +0000 (17:03 +0000)]
replace sql_table_name() with an extra parameter on sql_insert_id().

20 years agonumornull becomes edit_num_or_null
Dan Langille [Thu, 18 Dec 2003 17:01:35 +0000 (17:01 +0000)]
numornull becomes edit_num_or_null
and takes uint32_t instead of int

20 years agoadd missing fi
Dan Langille [Thu, 18 Dec 2003 17:00:23 +0000 (17:00 +0000)]
add missing fi

20 years agocater for grant_sqlite_privileges
Dan Langille [Thu, 18 Dec 2003 16:59:15 +0000 (16:59 +0000)]
cater for grant_sqlite_privileges

20 years agogrant sqlite privileges
Dan Langille [Thu, 18 Dec 2003 13:35:29 +0000 (13:35 +0000)]
grant sqlite privileges

20 years agoAdd skeleton SuSe platform files
Kern Sibbald [Thu, 18 Dec 2003 12:26:27 +0000 (12:26 +0000)]
Add skeleton SuSe platform files

20 years agoUpdate Cygwin build version documentation + increment Bacula version
Kern Sibbald [Thu, 18 Dec 2003 07:10:26 +0000 (07:10 +0000)]
Update Cygwin build version documentation + increment Bacula version

20 years agoAdd back config.h.in, which is needed by ./configure -- apparently
Kern Sibbald [Thu, 18 Dec 2003 06:54:17 +0000 (06:54 +0000)]
Add back config.h.in, which is needed by ./configure -- apparently

20 years agoIntegration with Dan's PostgreSQL code
Kern Sibbald [Wed, 17 Dec 2003 21:38:21 +0000 (21:38 +0000)]
Integration with Dan's PostgreSQL code

20 years agoadd do_all script
Kern Sibbald [Wed, 17 Dec 2003 21:23:26 +0000 (21:23 +0000)]
add do_all script

20 years agoUpdate from week away
Kern Sibbald [Wed, 17 Dec 2003 18:40:53 +0000 (18:40 +0000)]
Update from week away

20 years agoTest unified diff
Kern Sibbald [Wed, 17 Dec 2003 14:49:34 +0000 (14:49 +0000)]
Test unified diff

20 years agoUpdate kernstodo and test syncmail
Kern Sibbald [Wed, 17 Dec 2003 14:45:17 +0000 (14:45 +0000)]
Update kernstodo and test syncmail

20 years agoDefine the DelCandidates, temp, and temp1 tables differently on PostgreSQL.
Dan Langille [Fri, 12 Dec 2003 16:18:55 +0000 (16:18 +0000)]
Define the DelCandidates, temp, and temp1 tables differently on PostgreSQL.
Remove the GROUP BY on uar_list_temp and uar_sel_fileset

20 years agoFine tuning of the PostgreSQL items needed for regression testing.
Dan Langille [Fri, 12 Dec 2003 16:15:51 +0000 (16:15 +0000)]
Fine tuning of the PostgreSQL items needed for regression testing.

20 years agoAdd numornull which retuns NULL if the value is zero, or the value.
Dan Langille [Fri, 12 Dec 2003 16:12:25 +0000 (16:12 +0000)]
Add numornull which retuns NULL if the value is zero, or the value.
This function was needed because Job.{PoolId|FileSetId|ClientId} are
foreign keys.

20 years agoremove GROUP BY on db_get_job_volume_names. REVIEW.
Dan Langille [Fri, 12 Dec 2003 16:09:56 +0000 (16:09 +0000)]
remove GROUP BY on db_get_job_volume_names.  REVIEW.

20 years agoAdd this for symmetry
Dan Langille [Fri, 12 Dec 2003 16:08:33 +0000 (16:08 +0000)]
Add this for symmetry

20 years agoWhen creating a new Job, don't grab the JobId in advance.
Dan Langille [Fri, 12 Dec 2003 16:06:19 +0000 (16:06 +0000)]
When creating a new Job, don't grab the JobId in advance.
Add calls to sql_table_name before each call to INSERT_DB.
special case the creation of new Media for PostgreSQL.  (review later)

20 years agoStart including postgres_ext.h for max field name value
Dan Langille [Fri, 12 Dec 2003 15:58:28 +0000 (15:58 +0000)]
Start including postgres_ext.h for max field name value
bug fixes arising from regression testing.
Add my_postgresql_currval

20 years agoAdjust some field names to their correct values.
Dan Langille [Fri, 12 Dec 2003 15:57:17 +0000 (15:57 +0000)]
Adjust some field names to their correct values.
Add missing default values.
Allow for null values on job.{clientid|starttime|endtime}
Add database changes for 1.33

20 years agoFix broken DDL
Dan Langille [Fri, 12 Dec 2003 15:48:24 +0000 (15:48 +0000)]
Fix broken DDL

20 years agoadd PostgreSQL support
Dan Langille [Fri, 12 Dec 2003 15:47:59 +0000 (15:47 +0000)]
add PostgreSQL support

20 years agohardcode the database name for PostgreSQL
Dan Langille [Fri, 12 Dec 2003 15:46:16 +0000 (15:46 +0000)]
hardcode the database name for PostgreSQL

20 years agogrant select on sequences
Dan Langille [Fri, 12 Dec 2003 15:45:43 +0000 (15:45 +0000)]
grant select on sequences

20 years agoget regression tests working by hardcoding a bacula database name for PostgreSQL
Dan Langille [Fri, 12 Dec 2003 15:43:34 +0000 (15:43 +0000)]
get regression tests working by hardcoding a bacula database name for PostgreSQL

20 years ago- Add sql_table_name which keeps track of the table name being updated.
Dan Langille [Fri, 12 Dec 2003 15:41:11 +0000 (15:41 +0000)]
- Add sql_table_name which keeps track of the table name being updated.
  This is needed by PostgreSQL.  macro does nothing under MySQL/SQLite
- Add table_name to the PostgreSQL db structure
- remove LastID from the PostgreSQL structure as it is no longer needed
- ensure sql_num_rows, sql_affected_rows, and sql_num_fields return
  unsigned values

20 years agocater for create_bacula_database and grant_bacula_privileges
Dan Langille [Fri, 12 Dec 2003 15:36:16 +0000 (15:36 +0000)]
cater for create_bacula_database and grant_bacula_privileges

20 years agoignore create_bacula_database
Dan Langille [Fri, 12 Dec 2003 15:35:43 +0000 (15:35 +0000)]
ignore create_bacula_database

20 years agoSupply a PostgreSQL option
Dan Langille [Fri, 12 Dec 2003 15:33:51 +0000 (15:33 +0000)]
Supply a PostgreSQL option

20 years agoFor generic creation of a database
Dan Langille [Thu, 11 Dec 2003 19:55:10 +0000 (19:55 +0000)]
For generic creation of a database

20 years agoUse ' instead of " when quoting strings.
Dan Langille [Wed, 10 Dec 2003 22:49:27 +0000 (22:49 +0000)]
Use ' instead of " when quoting strings.
PostgreSQL cannot handle " and thinks they are attributes.
MySQL can handle ' and so can SQLite.

20 years agoIt is maxvolbytes, not mavvolbytes
Dan Langille [Wed, 10 Dec 2003 21:52:33 +0000 (21:52 +0000)]
It is maxvolbytes, not mavvolbytes

20 years agoAdd some more missing postgresql.in files
Dan Langille [Wed, 10 Dec 2003 19:18:47 +0000 (19:18 +0000)]
Add some more missing postgresql.in files

20 years agoAdd drop_postgresql_tables and update_postgresql_tables
Dan Langille [Wed, 10 Dec 2003 19:12:37 +0000 (19:12 +0000)]
Add drop_postgresql_tables and update_postgresql_tables

20 years agouse -f -
Dan Langille [Wed, 10 Dec 2003 19:11:36 +0000 (19:11 +0000)]
use -f -
use \c not /c for selecting the database.

20 years agoUse -f -
Dan Langille [Wed, 10 Dec 2003 19:10:54 +0000 (19:10 +0000)]
Use -f -

20 years agoFor symmetry, add this file. At present, all it does is update the version table.
Dan Langille [Wed, 10 Dec 2003 19:09:37 +0000 (19:09 +0000)]
For symmetry, add this file.  At present, all it does is update the version table.

20 years agoensure the postgresql *.in files get processed
Dan Langille [Wed, 10 Dec 2003 18:41:30 +0000 (18:41 +0000)]
ensure the postgresql *.in files get processed

20 years agoAdd PostgreSQL Support.
Dan Langille [Tue, 9 Dec 2003 22:18:46 +0000 (22:18 +0000)]
Add PostgreSQL Support.
correct typo: DaemonGroup => Storage Daemon Group

20 years agoAdd PostgreSQL support
Dan Langille [Tue, 9 Dec 2003 22:06:10 +0000 (22:06 +0000)]
Add PostgreSQL support

20 years agoIgnore Makefile bacula-dir bacula-fd bacula-sd
Dan Langille [Tue, 9 Dec 2003 22:04:13 +0000 (22:04 +0000)]
Ignore Makefile bacula-dir bacula-fd bacula-sd

20 years agoignore configure.lineno
Dan Langille [Tue, 9 Dec 2003 22:03:11 +0000 (22:03 +0000)]
ignore configure.lineno

20 years agoSupport for PostgreSQL.
Dan Langille [Tue, 9 Dec 2003 22:00:36 +0000 (22:00 +0000)]
Support for PostgreSQL.

20 years agoSupport for PostgreSQL
Dan Langille [Tue, 9 Dec 2003 21:58:58 +0000 (21:58 +0000)]
Support for PostgreSQL

20 years agoignore Makefile bacula btraceback fd startit startmysql stopit stopmysql
Dan Langille [Tue, 9 Dec 2003 21:57:59 +0000 (21:57 +0000)]
ignore Makefile bacula btraceback fd startit startmysql stopit stopmysql

20 years agoModifications to take advantage of PostgreSQL support.
Dan Langille [Tue, 9 Dec 2003 21:28:50 +0000 (21:28 +0000)]
Modifications to take advantage of PostgreSQL support.

20 years agoAdd PostgreSQL support. Coding and testing is incomplete.
Dan Langille [Tue, 9 Dec 2003 21:27:09 +0000 (21:27 +0000)]
Add PostgreSQL support.  Coding and testing is incomplete.