Update a Synology Container Manager project while protecting persistent data

Updating a container image and preserving application data are separate tasks. Before changing a project, identify its persistent storage, take an application-consistent backup and establish a usable rollback.

Applies to: Supported DSM systems running Container Manager with a Compose-based Project. Legacy Docker packages and individually created containers use different controls.

1. Identify What Must Survive

Open the project details and review YAML Configurations, mounted paths, named volumes and settings. Distinguish a bind mount on the NAS from data written only inside a replaceable container. Record the current image tag or digest and the application version.

Keep the working Compose file, environment configuration and secrets in an appropriately restricted backup. Do not paste environment files or connection strings into a public ticket.

2. Make a Recovery Copy for the Application

Use the application or database backup/export process where required. Copying live database files can produce a set that does not restore consistently. Arrange a maintenance window if a supported backup needs the application to stop.

Test recovery using a separate folder, project and non-conflicting ports where practical. An exported container definition alone does not establish that its persistent data was captured.

3. Check the Upgrade Path

Read the image publisher release notes for the exact source and target versions. Check supported CPU architecture, configuration changes and database migrations. A newer container can change its on-disk database format, making a simple image downgrade insufficient.

Prefer an explicit supported image version for a controlled change. Do not assume a tag named latest always resolves to the same build.

4. Use the Project Controls Deliberately

  1. Arrange the approved interruption and stop the project through its normal control.
  2. Use Details > YAML Configurations to review the intended image/configuration change and deploy through the controls offered by that Container Manager release.
  3. Understand the action before confirming it. Start starts existing containers; Restart restarts them. Neither is proof that a newer image was obtained and deployed.
  4. Do not use Clean or Delete as a routine update shortcut. Synology documents that project cleanup/deletion can remove project-created resources or data.
  5. Start the intended revision and inspect its startup logs. Confirm the actual application version and the expected mount paths.

5. Validate More Than the Login Screen

Open a known existing record, make an authorised small test change, restart the application normally and verify the change persists. Check its scheduled work and required integrations. Use a disposable record rather than altering customer data for a test.

If the application is empty, a mount is missing or a migration fails, stop further writes. Roll back through the documented application/data recovery route. Do not point two active database containers at the same writable data directory.

Support Information

Provide model, DSM/Container Manager versions, image tags, the failure stage and redacted logs. Keep the before-state and backup until the revised service has been verified.

Related guidance: Container Manager mapped-folder permissions.

Updated 261117

Please Wait!

Please wait... it will take a second!