- Update volume=Test01 requests pool, then lists volumes.
- Add IP address to authentication failures. Implement M_SECURITY
message class.
-- Remove kern and kelvin from mysql_grant...
-- Install grant_mysql...
- Look at Python for a Bacula scripting language -- www.python.org
- add #define ENABLE_NLS for Gnome compile on SuSE.
- Figure out how to use ssh to protect Bacula communications.
- Restore to a particular time -- e.g. before date, after date.
- Implement disk spooling
- Solaris -I on tar for include list
-- Enable avoid backing up archive device (findlib/find_one.c:128)
+- Prohibit backing up archive device (findlib/find_one.c:128)
- Need a verbose mode in restore, perhaps to bsr.
- bscan without -v is too quiet -- perhaps show jobs.
- Add code to reject whole blocks if not wanted on restore.
- Add JobLevel in FD status (but make sure it is defined).
- Make Pool resource handle Counter resources.
- Remove NextId for SQLite. Optimize.
-- Strip trailing / from Include
- Move all SQL statements into a single location.
- Add UA rc and history files.
- put termcap (used by console) in ./configure and
- Implement bar code reader for autochangers
- Document new MaximumConcurrentJob records (Job, Client, Storage)
- Write up how to use/manage disk Volume Storage. ******
-
+- Remove kern and kelvin from mysql_grant...
+- Install grant_mysql...
+- Strip trailing / from Include
$(INSTALL_SCRIPT) make_bacula_tables $(DESTDIR)$(scriptdir)/make_bacula_tables
$(INSTALL_SCRIPT) make_catalog_backup $(DESTDIR)$(scriptdir)/make_catalog_backup
$(INSTALL_SCRIPT) delete_catalog_backup $(DESTDIR)$(scriptdir)/delete_catalog_backup
+ $(INSTALL_SCRIPT) grant_mysql_privileges $(DESTDIR)$(scriptdir)/grant_mysql_privileges
uninstall:
(cd $(DESTDIR)$(scriptdir); $(RMF) create_@DB_NAME@_database)
(cd $(DESTDIR)$(scriptdir); $(RMF) make_bacula_tables)
(cd $(DESTDIR)$(scriptdir); $(RMF) make_catalog_backup)
(cd $(DESTDIR)$(scriptdir); $(RMF) delete_catalog_backup)
+ (cd $(DESTDIR)$(scriptdir); $(RMF) grant_mysql_privileges)
# Semi-automatic generation of dependencies:
#!/bin/sh
#
-# shell script to create Bacula database(s)
+# shell script to grant privileges to the bacula database
#
-
bindir=@SQL_BINDIR@
if $bindir/mysql $* -u root -f <<END-OF-DATA
use mysql
-grant all privileges on *.* to kern@localhost with grant option;
-grant all privileges on *.* to kern@"%" with grant option;
-grant all privileges on *.* to kelvin@localhost with grant option;
-grant all privileges on *.* to kelvin@"%" with grant option;
-grant all privileges on *.* to bacula@localhost with grant option;
-grant all privileges on *.* to bacula@"%" with grant option;
+grant all privileges on bacula.* to bacula@localhost with grant option;
+grant all privileges on bacula.* to bacula@"%" with grant option;
select * from user;
flush privileges;
END-OF-DATA
then
- echo "Privileges for kern, kelvin, and bacula granted."
+ echo "Privileges for bacula granted."
exit 0
else
echo "Error creating privileges."