Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Introduction to Versioning

Spinup S3 buckets allow versioning of objects, which is disabled by default but can be enabled. Versioning creates separate versions of each object upon modification and retains the latest version even after deletion. This provides the flexibility to view or revert to any version but uses more storage as objects are never fully deleted. Versioning can be suspended, which only affects future changes, not existing versions. For more on S3 versioning, visit AWS's versioning documentation.

Manage via AWS CLI

Manage Versioning via AWS CLI

  1. Check Versioning Status:

    Code Block
    languagebash
    aws s3api --profile spinup000123-mybucket get-bucket-versioning --bucket spinup000123-mybucket

    Look for "Status": "Suspended" or absence of status, indicating versioning is disabled.

  2. Enable Versioning:

    Code Block
    languagebash
    aws s3api --profile spinup000123-mybucket put-bucket-versioning --bucket spinup000123-mybucket --versioning-configuration Status=Enabled

  3. Disable Versioning:

    Code Block
    languagebash
    aws s3api --profile spinup000123-mybucket put-bucket-versioning --bucket spinup000123-mybucket --versioning-configuration Status=Suspended

  4. List All Versions: Use the following command to list all versions of an object:

    Code Block
    languagebash
    aws s3api --profile spinup100-old-style list-object-versions --bucket spinup100-old-style --prefix beta.png

Managing Versioning in Cyberduck

For a UI-based approach:

  1. Open Cyberduck and connect to your Spinup S3 bucket.

  2. Navigate to the desired bucket.

  3. Right-click the bucket and select 'Info' or 'Properties'.

  4. Find the Versioning section in the bucket properties.

  5. Enable versioning by changing the versioning status to 'Enabled'.

  6. Manage individual file versions by right-clicking on the file and selecting 'Show Versions'.

This process in Cyberduck allows you to visually manage and restore specific versions easily.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@ca98fe5d
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "s3" , "bucket" ) and type = "page" and space = "spinup"
labelsspinup selfservice


Page Properties
hiddentrue


Related issues