]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/butil.c
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / stored / butil.c
index 6a1446582b6b31d99959858710861edbc4b6d25e..249a503c5c5a82da9da8324c221222466aef1594 100644 (file)
@@ -219,8 +219,8 @@ JCR *setup_jcr(char *name, char *device, BSR *bsr, char *VolumeName)
    pm_strcpy(&jcr->fileset_name, "Dummy.fileset.name");
    jcr->fileset_md5 = get_pool_memory(PM_FNAME);
    pm_strcpy(&jcr->fileset_md5, "Dummy.fileset.md5");
-   jcr->JobId = 1;
-   jcr->JobType = JT_BACKUP;
+   jcr->JobId = 0;
+   jcr->JobType = JT_CONSOLE;
    jcr->JobLevel = L_FULL;
    jcr->JobStatus = JS_Terminated;
    jcr->dev_name = get_pool_memory(PM_FNAME);