Hmm.. but it still does. maybe a bug ?
snapshot.backup.rightafterbackup snapshot right after snapshot is takenfalse
Primary storage is Ceph/RDB, Secondary is NFS. I restarted both the
management server and the nodes.
not really sure if this helps:
management-server.log:2013-09-30 12:48:48,196 DEBUG
[agent.transport.Request] (Job-Executor-7:job-77 = [
379cc53b-1b43-4a6e-b080-3396daa08187 ]) Seq 1-1254424614: Sending { Cmd ,
MgmtId: 148417590936615, via: 1, Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"vms/5065da10-4d2d-426a-a794-f02f29ca57ed/18ef0d32-1c56-4d5e-89df-9b5a0f5ef798","volume":{"uuid":"a84300b2-189f-4a55-9232-a048ae94f7fb","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"3e937dc8-0dfc-3bf4-8910-8a17aa6a3344","id":5,"poolType":"RBD","host":"10.30.40.2","path":"vms","port":6789}},"name":"ROOT-13","size":8589934592,"path":"5065da10-4d2d-426a-a794-f02f29ca57ed","volumeId":23,"vmName":"i-2-13-VM","accountId":2,"format":"RAW","id":23,"hypervisorType":"KVM"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"3e937dc8-0dfc-3bf4-8910-8a17aa6a3344","id":5,"poolType":"RBD","host":"10.30.40.2","path":"vms","port":6789}},"vmName":"i-2-13-VM","name":"5b49e069-41ae-4acf-a042-5d8f43dbe665_ROOT-13_20130930104846","hypervisorType":"KVM","id":12}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/23","volume":{"uuid":"a84300b2-189f-4a55-9232-a048ae94f7fb","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"3e937dc8-0dfc-3bf4-8910-8a17aa6a3344","id":5,"poolType":"RBD","host":"10.30.40.2","path":"vms","port":6789}},"name":"ROOT-13","size":8589934592,"path":"5065da10-4d2d-426a-a794-f02f29ca57ed","volumeId":23,"vmName":"i-2-13-VM","accountId":2,"format":"RAW","id":23,"hypervisorType":"KVM"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
10.30.31.14/export/secondary","_role":"Image"}},"vmName":"i-2-13-VM","name":"5b49e069-41ae-4acf-a042-5d8f43dbe665_ROOT-13_20130930104846","hypervisorType":"KVM","id":12}},"executeInSequence":true,"wait":21600}}]
}
--Sebastian
2013/9/30 Sanjay Tripathi <[email protected]>
> That's correct.
>
> Setting up the mentioned global config parameter to false will not copy
> the snapshot to secondary storage, snapshot will be available in primary
> storage.
>
> --Sanjay
>
> > -----Original Message-----
> > From: Sebastian Igerl [mailto:[email protected]]
> > Sent: Monday, September 30, 2013 4:08 PM
> > To: [email protected]
> > Subject: Disable copy snapshot to secondary storage in CS 4.2
> >
> > Hi All,
> >
> > i'm trying to disable that a snapshots get copied to secondary storage
> right
> > after it's creation.
> > I thought if i set "snapshot.backup.rightafter" to false this should
> work ?
> >
> > Any thoughts ?
> >
> >
> > Thanks
> >
> > Sebastian
>