Backup remote file
backup_fileCreates a timestamped backup of a remote file, placing it next to the original. Use it to safely preserve versions before making changes.
Instructions
Create a timestamped dotfile backup next to a remote file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the configured domain root. | |
| label | No | Backup label used in the generated filename. | |
| domain | Yes | Configured domain root to operate under. | |
| server_id | No | Server profile id. Defaults to config.defaultServer. |