Skip to search

BackupSession

stash.appscode.com / v1beta1

apiVersion: stash.appscode.com/v1beta1 kind: BackupSession metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
invoker object
Invoker refers to the BackupConfiguration or BackupBatch being used to invoke this backup session
apiGroup string
APIGroup is the group for the resource being referenced
kind string required
Kind is the type of resource being referenced
name string required
Name is the name of resource being referenced
retryLeft integer
RetryLeft specifies number of retry attempts left for the session. If this set to non-zero, Stash will create a new BackupSession if the current one fails.
format: int32
status object
conditions []object
Conditions shows condition of different operations/steps of the backup process
lastTransitionTime string required
Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
message string
A human-readable message indicating details about the transition. This field may be empty.
observedGeneration integer
If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
reason string
The reason for the condition's last transition in CamelCase. The specific API may choose whether this field is considered a guaranteed API. This field may not be empty.
severity string
Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.
status string required
Status of the condition, one of True, False, Unknown.
type string required
Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary util can be useful (see .node.status.util), the ability to deconflict is important.
nextRetry string
NextRetry specifies the time when Stash should retry the current failed backup. This field will exist only if the `retryConfig` has been set in the respective backup invoker.
format: date-time
phase string
Phase indicates the overall phase of the backup process for this BackupSession. Phase will be "Succeeded" only if phase of all hosts are "Succeeded". If any of the host fail to complete backup, Phase will be "Failed".
enum: Pending, Skipped, Running, Succeeded, Failed, Unknown
retried boolean
Retried specifies whether this session was retried or not. This field will exist only if the `retryConfig` has been set in the respective backup invoker.
sessionDeadline string
SessionDeadline specifies the deadline of backup. BackupSession will be considered Failed if backup does not complete within this deadline
format: date-time
sessionDuration string
SessionDuration specify total time taken to complete current backup session (sum of backup duration of all targets)
targets []object
Targets specify the backup status of individual targets
conditions []object
Conditions shows condition of different operations/steps of the backup process for this target
lastTransitionTime string required
Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
message string
A human-readable message indicating details about the transition. This field may be empty.
observedGeneration integer
If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
reason string
The reason for the condition's last transition in CamelCase. The specific API may choose whether this field is considered a guaranteed API. This field may not be empty.
severity string
Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.
status string required
Status of the condition, one of True, False, Unknown.
type string required
Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary util can be useful (see .node.status.util), the ability to deconflict is important.
phase string
Phase indicates backup phase of this target
enum: Pending, Succeeded, Running, Failed
postBackupActions []string
PostBackupActions specifies a list of actions that the backup process should execute after taking backup
preBackupActions []string
PreBackupActions specifies a list of actions that the backup process should execute before taking backup
ref object
Ref refers to the backup target
apiVersion string
kind string
name string
namespace string
stats []object
Stats shows statistics of individual hosts for this backup session
duration string
Duration indicates total time taken to complete backup for this host
error string
Error indicates string value of error in case of backup failure
hostname string
Hostname indicate name of the host that has been backed up
phase string
Phase indicates backup phase of this host
enum: Succeeded, Failed
snapshots []object
Snapshots specifies the stats of individual snapshots that has been taken for this host in current backup session
fileStats object
FileStats shows statistics of files of this snapshot
modifiedFiles integer
ModifiedFiles shows total number of files that has been modified since last backup
format: int64
newFiles integer
NewFiles shows total number of new files that has been created since last backup
format: int64
totalFiles integer
TotalFiles shows total number of files that has been backed up
format: int64
unmodifiedFiles integer
UnmodifiedFiles shows total number of files that has not been changed since last backup
format: int64
name string
Name indicates the name of the backup snapshot created for this host
path string
Path indicates the directory that has been backed up in this snapshot
processingTime string
ProcessingTime indicates time taken to process the target data
totalSize string
TotalSize indicates the size of data to backup in target directory
uploaded string
Uploaded indicates size of data uploaded to backend for this snapshot
totalHosts integer
TotalHosts specifies total number of hosts for this target that will be backed up for a BackupSession
format: int32

No matches. Try .spec.invoker for an exact path