Overview
Enable versioning on a container to retain all previous versions of objects. Each time an object is overwritten, the previous version is preserved in a linked archive container. This protects against accidental overwrites and provides a manual recovery mechanism.Prerequisites
- An active Xloud account with appropriate permissions
- Access to the Xloud Dashboard (
https://connect.<your-domain>) or CLI configured with credentials - API credentials sourced (
source admin-openrc.sh)
How Versioning Works
Enable Versioning
- Dashboard
- CLI
Create the archive container
Create a separate container to store previous versions. Navigate to
Project → Object Store → Containers and click + Container.
Name it
app-backups-versions (or similar).Create the archive container before enabling versioning on the primary container.
The archive container must already exist.
Recover a Previous Version
When an object is overwritten, the previous version is stored in the archive container with a name that includes the original object name and a timestamp prefix.List archived versions
Download a specific archived version
Restore an archived version
Disable Versioning
Disable versioning
Next Steps
Upload Objects
Upload and manage objects within versioned containers
Access Control
Configure ACLs on both primary and archive containers
Large Objects
Handle files over 5 GB with SLO and DLO mechanisms
Troubleshooting
Resolve versioning configuration and recovery issues