a month ago
We need Railway staff confirmation before performing a production recovery.
An SMTP password update triggered a deployment of newer repository code. We want to restore the previous deployment's exact existing image while retaining the current environment variables, including the newly rotated SUPPORT_SMTP_PASS.
- Does redeploying a specific older deployment reuse its existing image without rebuilding?
- Does it use today's environment variables or that deployment's historical variable snapshot?
- Which supported operation preserves the current variables while restoring the exact older image?
- How can we verify the selected image and variable snapshot before activation, without exposing secret values?
Your documentation says rollback restores both the image and historical custom variables, so a standard rollback could restore an obsolete password.
Please provide instructions only. Do not perform any deployment or configuration changes.
1 Reply
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
Redeploying an older deployment from its menu does not reuse that deployment's stored image. It starts a new build from that deployment's source code and build/deploy configuration, and the new deployment runs with the service's current variables, including the rotated SUPPORT_SMTP_PASS.
Rollback is the operation that reuses the stored image without rebuilding, and it also restores that deployment's custom variables, as you noted. There is no dashboard operation that combines the exact older image with today's variables. Redeploy keeps current variables but rebuilds, and Rollback keeps the exact image but brings back the historical variables.
To check what a past deployment ran with, open it from the service's deployment list. Its Details tab has a section listing the variables that deployment used. Values are shown unmasked there, so it does not keep secrets hidden. Sealed variables are the exception and show an empty value.
Status changed to Awaiting User Response sam-a • about 1 month ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago