Snapshot
Stoobly Snapshot CLI - Questions & Answers
Understanding Snapshots
Q: What are snapshots in Stoobly?
# Create snapshot of a request
stoobly-agent request snapshot "<REQUEST-KEY>"
# Create snapshot of a scenario
stoobly-agent scenario snapshot "<SCENARIO-KEY>"
# Snapshots are stored in .stoobly/snapshots/
ls .stoobly/snapshots/requests/
ls .stoobly/snapshots/scenarios/Q: Why should I use snapshots?
Q: What's the difference between requests in the database and snapshots?
Listing Snapshots
Q: How do I view all snapshots?
Q: How do I list only request snapshots?
Q: How do I list only scenario snapshots?
Q: How do I search for specific snapshots?
Q: How do I filter snapshots by scenario name?
Q: How do I list pending (unprocessed) snapshots?
Q: How do I limit the number of snapshots displayed?
Q: How do I format snapshot list output?
Q: How do I select specific columns to display?
Applying Snapshots
Q: How do I apply all snapshots?
Q: How do I apply a specific snapshot?
Q: What happens when I apply a snapshot?
Q: How do I force apply snapshots with hard delete?
Q: What's the difference between apply and reset?
Updating Snapshots
Q: How do I update an existing snapshot?
Q: How do I update a snapshot without verification?
Q: What does snapshot verification do?
Q: How do I format the output when updating?
Copying Snapshots
Q: How do I copy snapshots to a different directory?
Q: How do I copy multiple requests at once?
Q: How do I copy multiple scenarios at once?
Q: How do I copy both requests and scenarios together?
Q: Why would I copy snapshots to a different directory?
Pruning Snapshots
Q: How do I clean up deleted snapshots?
Q: How do I preview what will be pruned without deleting?
Q: When should I prune snapshots?
Migrating Snapshots
Q: How do I migrate snapshots with custom transformations?
Q: How do I migrate snapshots for a specific scenario only?
Q: What can I do in a migration script?
Q: How do I debug migration scripts?
Version Control Workflows
Q: How do I set up snapshots for Git?
Q: How do team members use snapshots from Git?
Q: How do I update existing snapshots in Git?
Q: How do I handle merge conflicts in snapshots?
Q: Should I commit snapshot files or the database?
Advanced Snapshot Operations
Q: How do I export snapshots for backup?
Q: How do I share snapshots across projects?
Q: How do I create snapshots in CI/CD?
Q: How do I validate snapshots in CI/CD?
Troubleshooting
Q: What do I do if snapshot apply fails?
Q: How do I verify snapshot integrity?
Q: How do I find which snapshot corresponds to a request?
Best Practices
Q: When should I create snapshots?
Q: How often should I prune snapshots?
Q: When should I decode snapshots?
Quick Reference
Q: What are the most common snapshot commands?
Integration Examples
Q: How do I automate snapshot creation?
Q: How do I sync snapshots across environments?
Last updated