Requirements
Requirements
Recommended
Understand the prerequisites for creating Custy template backups.
Command
custy backupCategory
Backup
Quick Command
custy backup commitOverviewâ
The backup command operates on files generated or managed by Custy.
Before creating backups, ensure that the required template files already exist within your project.
Prerequisites
Required Environment
Initialized Project
The project should already contain Custy's generated configuration and template files.
Template Files
Commit message and tag message templates should exist before they can be backed up.
Writable Backup Directory
Custy must be able to create backup files inside the configured backup directory.
Project Configuration
Backup locations and related settings are resolved from your project's configuration whenever available.
Recommended Preparation
Before creating backups, it is recommended to:
- Run
custy initif the project has not been initialized. - Review your project's
config.tomlconfiguration. - Verify that the template files you want to back up already exist.
- Ensure the configured backup directory is writable.
These steps help ensure backups are created successfully.
What Is Not Required?
The backup command does not require:
- staged Git changes,
- existing Git tags,
- remote repositories,
- published releases.
It only requires the files that will be backed up.
What's Next?
Continue to the Syntax page to learn how to create commit, tag, and combined backups using the available backup subcommands.