bosh snapshot


kieran robinson
 

Hi There,

I have been working on automating a bosh snapshot my initial issue was resolved by setting this parameter in the bosh config

```properties:
director:
enable_snapshots: true
```

With snapshots enabled, once i run [ bosh take snapshot [JOB] [INDEX] ] all seems fine and it says snapshot taken successfully. However once i run [bosh snapshots] it shows there are none...

Any ideas?

Cheers,
Kieran


Alexander Lomov
 

Could you tell what is an output of `bosh task <snapshot-task-number> --debug` command?

I have seen the same issue, I was able to run snapshot command, but logs contain the error. Also it is possible that your CPI does not have implemented snapshot_disk function. What CPI do you use?

On Jan 10, 2017, at 1:26 PM, Kieran Robinson <kieran.robinson7(a)gmail.com> wrote:

Hi There,

I have been working on automating a bosh snapshot my initial issue was resolved by setting this parameter in the bosh config

```properties:
director:
enable_snapshots: true
```

With snapshots enabled, once i run [ bosh take snapshot [JOB] [INDEX] ] all seems fine and it says snapshot taken successfully. However once i run [bosh snapshots] it shows there are none...

Any ideas?

Cheers,
Kieran


kieran robinson
 

Hi Alexander,

We are using VmWare, when you say `bosh task <snapshot-task-number> --debug` where can i find the snapshot-task-number?

Cheers,
Kieran


Alexander Lomov
 

On Jan 12, 2017, at 7:23 AM, Kieran Robinson <kieran.robinson7(a)gmail.com> wrote:

Hi Alexander,

We are using VmWare, when you say `bosh task <snapshot-task-number> --debug` where can i find the snapshot-task-number?

Cheers,
Kieran


kieran robinson
 

That explains it then, thanks for the prompt response Alexander :)