s3 support for backup/restore command
Author: makhovCreated Sep 8, 2026Updated Sep 11, 2026
Labelsenhancement
Is your feature request related to a problem? Please describe.
Backup and restore commands are very useful, but they work with local filesystem, so don't help in case of a disk loss. Putting it to s3 bucket is what users do anyway but they have to use a separate scripts to do that
Describe the solution you would like
Something like k0s backup --save-path=s3://my-bucket/backups with support of standard AWS credentials env vars and explicit flags as well
Describe alternatives you've considered
A custom shell script
Additional context
The downside is adding new dependencies (+ ~2MBs) and another thing to support.
I'd be happy to send a PR if the team thinks it's a viable feature
Source: k0sproject/k0s