Print this page
NEX-13374 NDMP should be able to backup unmounted ZFS filesystems
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-2994 memory leaks when setting ndmp SMF property
Reviewed by: Dan Fields <dan.fields@nexenta.com>
NEX-2989 Missing const qualifiers for strings in libndmp
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-894 Default location of NDMP log file should be under /var/log

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpadm/ndmpadm_main.c
          +++ new/usr/src/cmd/ndmpadm/ndmpadm_main.c
   1    1  /*
   2    2   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
   3      - * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
        3 + * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
   4    4   */
   5    5  
   6    6  /*
   7    7   * BSD 3 Clause License
   8    8   *
   9    9   * Copyright (c) 2007, The Storage Networking Industry Association.
  10   10   *
  11   11   * Redistribution and use in source and binary forms, with or without
  12   12   * modification, are permitted provided that the following conditions
  13   13   * are met:
↓ open down ↓ 80 lines elided ↑ open up ↑
  94   94  #define NCOMMAND        (sizeof (command_table) / sizeof (command_table[0]))
  95   95  
  96   96  static char *prop_table[] = {
  97   97          "debug-path",
  98   98          "dump-pathnode",
  99   99          "tar-pathnode",
 100  100          "ignore-ctime",
 101  101          "token-maxseq",
 102  102          "version",
 103  103          "dar-support",
      104 +        "autosync-support",
      105 +        "hpr-support",
 104  106          "tcp-port",
 105  107          "backup-quarantine",
 106  108          "restore-quarantine",
 107  109          "overwrite-quarantine",
 108      -        "zfs-force-override",
 109  110          "drive-type",
 110  111          "debug-mode"
 111  112  };
 112  113  
 113  114  #define NDMPADM_NPROP   (sizeof (prop_table) / sizeof (prop_table[0]))
 114  115  
 115  116  typedef struct ndmp_auth {
 116  117          const char *auth_type;
 117  118          const char *username;
 118  119          const char *password;
↓ open down ↓ 637 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX