Skip to content
Snippets Groups Projects
  1. Sep 15, 2009
  2. Sep 14, 2009
  3. Sep 07, 2009
  4. Sep 04, 2009
  5. Sep 03, 2009
  6. Aug 31, 2009
  7. Aug 28, 2009
  8. Aug 26, 2009
  9. Aug 24, 2009
  10. Aug 18, 2009
  11. Aug 17, 2009
  12. Aug 14, 2009
  13. Aug 13, 2009
  14. Aug 10, 2009
  15. Aug 06, 2009
  16. Aug 05, 2009
    • Iustin Pop's avatar
      export: add meaningful exit code · 084f05a5
      Iustin Pop authored
      
      Currently ‘gnt-backup export’ always returns exit code zero, even in the
      face of complete failure during backup (only failure to stop/start the
      instance will cause job failure and thus non-zero exit code). This is
      bad, since one cannot script the backup.
      
      This patch adds some simple results from the LU so that the command line
      script can return good exit code. It will:
        - return zero for full success (snapshot removal errors are ignored
          though)
        - return one for full failure (finalize export failure or all disks
          failure)
        - return two for partial failure (some disks backed up, some not)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      084f05a5
  17. Aug 04, 2009
  18. Aug 03, 2009
  19. Jul 31, 2009
  20. Jul 22, 2009
  21. Jul 19, 2009
Loading