Skip to main content
Glama

backup

Create timestamped zip backups of directories with configurable exclusions for version control and temporary files. Preview backups before creation to verify included content.

Instructions

Creates a timestamped zip backup of a directory. Output: {dirname}_{YYYYMMDD_HHMMSS}.zip Default excludes: .git, node_modules, pycache, binaries. Custom excludes can be added via the excludes parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesAbsolute path to the directory to backup
output_dirNoAbsolute path to the backup output directory. Default: ./backups/
excludesNoGlob patterns to exclude (e.g. node_modules, *.log, .git)
excludes_fileNoAbsolute path to a file containing exclude patterns (one per line). Lines starting with # are comments. Patterns are appended to excludes list
dry_runNoPreview backup without creating archive. Shows summary with directory counts, exclude pattern matches, and largest files (default false)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/knewstimek/agent-tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server