Class: Aws::BackupExternal::Types::ServerFilesystemPreBackupScript

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/types.rb

Overview

Script to run before a backup.

Constant Summary collapse

SENSITIVE =
[:script_path]

Instance Attribute Summary collapse

Instance Attribute Details

#continue_backup_on_script_failure ⇒ Boolean

Specifies whether to continue the backup if the pre-backup script fails.

Returns:

  • (Boolean)


2546
2547
2548
2549
2550
2551
2552
2553
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/types.rb', line 2546

class ServerFilesystemPreBackupScript < Struct.new(
  :continue_backup_on_script_failure,
  :script_params,
  :script_path,
  :timeout_in_minutes)
  SENSITIVE = [:script_path]
  include Aws::Structure
end

#script_params ⇒ String

The parameters to pass to the backup script.

Returns:

  • (String)


2546
2547
2548
2549
2550
2551
2552
2553
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/types.rb', line 2546

class ServerFilesystemPreBackupScript < Struct.new(
  :continue_backup_on_script_failure,
  :script_params,
  :script_path,
  :timeout_in_minutes)
  SENSITIVE = [:script_path]
  include Aws::Structure
end

#script_path ⇒ String

A relative path to a script within the user_scripts folder in the agent installation directory on the server.

Returns:

  • (String)


2546
2547
2548
2549
2550
2551
2552
2553
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/types.rb', line 2546

class ServerFilesystemPreBackupScript < Struct.new(
  :continue_backup_on_script_failure,
  :script_params,
  :script_path,
  :timeout_in_minutes)
  SENSITIVE = [:script_path]
  include Aws::Structure
end

#timeout_in_minutes ⇒ Integer

The timeout for the backup script, in minutes.

Returns:

  • (Integer)


2546
2547
2548
2549
2550
2551
2552
2553
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/types.rb', line 2546

class ServerFilesystemPreBackupScript < Struct.new(
  :continue_backup_on_script_failure,
  :script_params,
  :script_path,
  :timeout_in_minutes)
  SENSITIVE = [:script_path]
  include Aws::Structure
end