Kern's ToDo List
- 18 April 2003
+ 22 April 2003
Documentation to do: (a little bit at a time)
- Document running a test version.
- Document new transparent Console commands and wait command.
- Document new immediate File save configuration (walk user
- through first save to file Volume with automatic Volume
- labeling?).
+ through first save to file Volume with automatic Volume labeling?).
- Document OPTIMIZE TABLE in MySQL
- Document labeling a whole magazine using "cat"
- Document Lutz Kittler's trick of using "Run Before Job" to
- Document Ludovic Strappazon's Win32 raw device save/restore.
- Document not to restore .journal .autofsck
- Document logrotate
-- Document default file backup
-- Document . command
+- Document . and @ commands
- Document run when.
- Figure out how to use ssh or stunnel to protect Bacula communications.
- Do not ignore SIGCHLD
- Add Cleaning to list of volume statuses
- Implement run at "xxx"
-
# If you backup the root directory, the following two excluded
# files can be useful
#
- Exclude = { /proc; /tmp }
+ Exclude = { /proc /tmp /.journal /.fsck }
}
#
jcr->catalog->db_port, jcr->catalog->db_socket);
if (!db_open_database(jcr, jcr->db)) {
Jmsg(jcr, M_FATAL, 0, "%s", db_strerror(jcr->db));
- db_close_database(jcr, jcr->db);
set_jcr_job_status(jcr, JS_ErrorTerminated);
free_jcr(jcr);
return;
jcr->jr.JobStatus = jcr->JobStatus;
if (!db_create_job_record(jcr, jcr->db, &jcr->jr)) {
Jmsg(jcr, M_FATAL, 0, "%s", db_strerror(jcr->db));
- db_close_database(jcr, jcr->db);
set_jcr_job_status(jcr, JS_ErrorTerminated);
free_jcr(jcr);
return;
case JT_BACKUP:
jcr->JobLevel = L_INCREMENTAL;
break;
+ case JT_RESTORE:
+ case JT_ADMIN:
+ jcr->JobLevel = L_FULL;
+ break;
default:
break;
}
*/
#include "bacula.h"
+#undef DEV_BSIZE
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <resolv.h>
#endif
+
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
#ifdef HAVE_LIBWRAP