backup-and-restore

Back up and restore dotfiles in Unix-like environments with timestamped manifests.

Updated Feb 6, 2013
One-click install
npx skills add https://github.com/bfowle/dotfiles --skill backup-and-restore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backup-and-restore
Source: https://github.com/bfowle/dotfiles/tree/main/.claude/skills/backup-and-restore
Command: npx skills add https://github.com/bfowle/dotfiles --skill backup-and-restore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Experimenting with new configurations or updating your development environment can lead to unexpected issues. This Skill eliminates the anxiety of breaking your setup by providing robust backup and restore capabilities for your critical dotfiles and configurations.

Core Features & Use Cases

  • Automated Configuration Backups: Creates timestamped backups of your Neovim, Tmux, Bash, and plugin configurations.
  • Effortless Rollbacks: Easily restore your entire development environment to a previous stable state.
  • Use Case: Before installing a major Neovim plugin update, use this Skill to create a backup. If the update causes issues, simply restore your previous working configuration in minutes.

Quick Start

Backup my current dotfiles configuration with the reason "pre-major-update".

Frequently Asked Questions about backup-and-restore

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I back up my dotfiles before making configuration changes?

Back up dotfiles by creating a timestamped snapshot of your Neovim, tmux, Bash, and plugin configurations stored in ~/.dotfiles, ~/.tmux/plugins, and ~/.local/share/nvim. The Skill generates a manifest recording the timestamp, git commit hash, file list, reason, and next steps for reliable restoration.

Can I restore my development environment to a previous state if a configuration update breaks it?

Yes, restore your entire dev setup by retrieving a previous timestamped backup. The Skill verifies integrity, prompts for confirmation, copies files back to their original locations, re-runs installation steps, and confirms environments load correctly.

What dotfiles and configurations does this Skill back up?

The Skill backs up Neovim and tmux configurations, shell profiles like ~/.bashrc and ~/.bash_profile, plugin directories including ~/.tmux/plugins and ~/.local/share/nvim, and dotfiles stored in ~/.dotfiles across Unix-like environments.

What information does the backup manifest include?

The manifest records the backup timestamp, git commit hash at backup time, complete list of backed-up files, the reason for the backup, and next steps for restoration or reference.

When should I create a backup of my development setup?

Create backups before major Neovim or tmux plugin updates, significant shell configuration changes, or any experimental modifications to dotfiles where rollback may be necessary.

Does this Skill work on Windows or only Unix-like systems?

The Skill targets Unix-like environments. It supports systems with standard Unix directory structures like ~/.bashrc, ~/.dotfiles, and ~/.local/share/nvim.