Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save logs per backup #40

Merged
merged 16 commits into from
Sep 11, 2017
Merged

Save logs per backup #40

merged 16 commits into from
Sep 11, 2017

Commits on Sep 6, 2017

  1. Add script for dep

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    3110292 View commit details
    Browse the repository at this point in the history
  2. Doc dep mgmt

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    ac8dc5e View commit details
    Browse the repository at this point in the history
  3. Remove hack/godep-save.sh

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    3c945e3 View commit details
    Browse the repository at this point in the history
  4. Switch to dep & update dependencies

    Switch to dep.
    
    Update the following:
    - azure-sdk-for-go to 10.2.1-beta
    - go-autorest to 8.1.1
    - client-go to 4.0.0
    
    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    742f458 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2017

  1. Match Azure sdk changes

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    860eb7e View commit details
    Browse the repository at this point in the history
  2. Work around glog flag.Parse issue

    Due to a change in glog, if you don't call flag.Parse, every log line
    prints out 'ERROR: logging before flag.Parse'. This works around that
    change. Ultimately we need to switch to a different logging library.
    
    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    b50a78c View commit details
    Browse the repository at this point in the history
  3. Save backup log file to object storage

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    9848a7a View commit details
    Browse the repository at this point in the history
  4. Add 'ark backup logs' command for retrieval

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    03dde45 View commit details
    Browse the repository at this point in the history
  5. Regen docs last

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    ee38a94 View commit details
    Browse the repository at this point in the history
  6. Renerate files

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    5c9ffae View commit details
    Browse the repository at this point in the history
  7. Add ListObjects (for backup dir deletions)

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    193000e View commit details
    Browse the repository at this point in the history
  8. Delete all objects in backup dir

    Delete all objects in backup "dir" when deleting a backup, instead of
    hard-coding individual file names/types. This way, we'll be able to
    delete log files and anything else we add without having to update our
    deletion code.
    
    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    50a95d0 View commit details
    Browse the repository at this point in the history
  9. Add ActionContext so backup actions can log

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    a583f22 View commit details
    Browse the repository at this point in the history
  10. Clarify Backup() param names

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    71fadf3 View commit details
    Browse the repository at this point in the history
  11. Use ioutil.Discard in unit test

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    3bb02ac View commit details
    Browse the repository at this point in the history
  12. Update backup and log file name formats

    Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
    ncdc committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    ab99fcc View commit details
    Browse the repository at this point in the history