- g_printf(" application \"%s\"\n", application_name(dp->application));
- if (dp->exclude_file != NULL && dp->exclude_file->nb_element > 0) {
- g_printf(" exclude file");
- for(excl = dp->exclude_file->first; excl != NULL; excl = excl->next) {
- g_printf(" \"%s\"", excl->name);
- }
- g_printf("\n");
- }
- if (dp->exclude_list != NULL && dp->exclude_list->nb_element > 0) {
- g_printf(" exclude list");
- if(dp->exclude_optional) g_printf(" optional");
- for(excl = dp->exclude_list->first; excl != NULL; excl = excl->next) {
- g_printf(" \"%s\"", excl->name);
- }
- g_printf("\n");
- }
- if (dp->include_file != NULL && dp->include_file->nb_element > 0) {
- g_printf(" include file");
- for(excl = dp->include_file->first; excl != NULL; excl = excl->next) {
- g_printf(" \"%s\"", excl->name);
- }
- g_printf("\n");
- }
- if (dp->include_list != NULL && dp->include_list->nb_element > 0) {
- g_printf(" include list");
- if (dp->include_optional) g_printf(" optional");
- for(excl = dp->include_list->first; excl != NULL; excl = excl->next) {
- g_printf(" \"%s\"", excl->name);
- }
- g_printf("\n");
- }
- g_printf(" priority %d\n", dp->priority);
- g_printf(" dumpcycle %d\n", dp->dumpcycle);
- g_printf(" maxdumps %d\n", dp->maxdumps);
- g_printf(" maxpromoteday %d\n", dp->maxpromoteday);
- if (dp->bumppercent > 0) {
- g_printf(" bumppercent %d\n", dp->bumppercent);
- }
- else {
- g_printf(" bumpsize %lld\n",
- (long long)dp->bumpsize);
- }
- g_printf(" bumpdays %d\n", dp->bumpdays);
- g_printf(" bumpmult %lf\n", dp->bumpmult);
-
- g_printf(" strategy ");
- switch(dp->strategy) {
- case DS_SKIP:
- g_printf("SKIP\n");
- break;
- case DS_STANDARD:
- g_printf("STANDARD\n");
- break;
- case DS_NOFULL:
- g_printf("NOFULL\n");
- break;
- case DS_NOINC:
- g_printf("NOINC\n");
- break;
- case DS_HANOI:
- g_printf("HANOI\n");
- break;
- case DS_INCRONLY:
- g_printf("INCRONLY\n");
- break;
- }
- g_printf(" ignore %s\n", (dp->ignore? "YES" : "NO"));
- g_printf(" estimate ");
- switch(dp->estimate) {
- case ES_CLIENT:
- g_printf("CLIENT\n");
- break;
- case ES_SERVER:
- g_printf("SERVER\n");
- break;
- case ES_CALCSIZE:
- g_printf("CALCSIZE\n");
- break;
- }
-
- g_printf(" compress ");
- switch(dp->compress) {
- case COMP_NONE:
- g_printf("NONE\n");
- break;
- case COMP_FAST:
- g_printf("CLIENT FAST\n");
- break;
- case COMP_BEST:
- g_printf("CLIENT BEST\n");
- break;
- case COMP_SERVER_FAST:
- g_printf("SERVER FAST\n");
- break;
- case COMP_SERVER_BEST:
- g_printf("SERVER BEST\n");
- break;
- }
- if(dp->compress != COMP_NONE) {
- g_printf(" comprate %.2lf %.2lf\n",
- dp->comprate[0], dp->comprate[1]);
- }
-
- g_printf(" encrypt ");
- switch(dp->encrypt) {
- case ENCRYPT_NONE:
- g_printf("NONE\n");
- break;
- case ENCRYPT_CUST:
- g_printf("CLIENT\n");
- break;
- case ENCRYPT_SERV_CUST:
- g_printf("SERVER\n");
- break;
- }
-
- g_printf(" auth %s\n", dp->security_driver);
- g_printf(" kencrypt %s\n", (dp->kencrypt? "YES" : "NO"));
- g_printf(" amandad_path %s\n", dp->amandad_path);
- g_printf(" client_username %s\n", dp->client_username);
- g_printf(" ssh_keys %s\n", dp->ssh_keys);
-
- g_printf(" holdingdisk ");
- switch(dp->to_holdingdisk) {
- case HOLD_NEVER:
- g_printf("NEVER\n");
- break;
- case HOLD_AUTO:
- g_printf("AUTO\n");
- break;
- case HOLD_REQUIRED:
- g_printf("REQUIRED\n");
- break;
- }
-
- g_printf(" record %s\n", (dp->record? "YES" : "NO"));
- g_printf(" index %s\n", (dp->index? "YES" : "NO"));
- g_printf(" starttime %04d\n", (int)dp->starttime);
- if(dp->tape_splitsize > (off_t)0) {
- g_printf(" tape_splitsize %lld\n",
- (long long)dp->tape_splitsize);
- }
- if(dp->split_diskbuffer) {
- g_printf(" split_diskbuffer %s\n", dp->split_diskbuffer);
- }
- if(dp->fallback_splitsize > (off_t)0) {
- g_printf(" fallback_splitsize %lldMb\n",
- (long long)(dp->fallback_splitsize / (off_t)1024));
- }
- g_printf(" skip-incr %s\n", (dp->skip_incr? "YES" : "NO"));
- g_printf(" skip-full %s\n", (dp->skip_full? "YES" : "NO"));