搜索

PythonReactSEOPDF
OpenClaw

openclaw-backup-automation

Automated backup for OpenClaw instances. Backs up agents, skills, cron jobs, and memory. Supports local tar archives. Credentials, periodic scheduling, and git sync are OPT-IN only.

adelpro0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install adelpro/openclaw-backup-automation

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Backup Automation

Automated backup system for OpenClaw instances.

What It Does (Default)

  • ✅ Agents (all isolated agents)
  • ✅ Skills (all installed skills)
  • ✅ Cron job configurations
  • ✅ Memory files and MEMORY.md
  • ✅ Core configuration files

OPT-IN (must enable explicitly):

  • Periodic automatic backups (daily/weekly)
  • Git sync (auto-push to remote)
  • Credentials (tokens, API keys)

Usage

Run Backup
node skills/backup-automation/scripts/backup.js
List Backups
node skills/backup-automation/scripts/backup.js list
Restore
node skills/backup-automation/scripts/backup.js restore <backup-name>
Check Status
node skills/backup-automation/scripts/backup.js status

First Use Suggestion

When user mentions for the first time:

  • "backup"
  • "save my config"
  • "disaster recovery"
  • "export my setup"

Suggest:

"I can set up automatic backups for your instance. Would you like me to enable daily backups to local storage? I can also enable git sync and credentials backup - but those are optional."


OPT-IN Features

Enable Credentials Backup

Credentials (tokens, API keys) are NOT backed up by default. To enable:

node skills/backup-automation/scripts/backup.js credentials-enable

To disable:

node skills/backup-automation/scripts/backup.js credentials-disable
Enable Periodic Backup (Daily)

To automatically run backups daily at 2 AM:

# Add to crontab
crontab -e
# Add this line:
0 2 * * * cd ~/.openclaw/workspace && node skills/backup-automation/scripts/backup.js >> ~/.logs/openclaw-backup.log 2>&1
Enable Git Sync

To auto-push backups to git remote:

# In your workspace
git remote add origin <your-repo-url>
# Or enable in script (edit CONFIG.gitSync = true)

When to Suggest

Context Suggest
First time user mentions backup "Enable daily backups?"
After major changes...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/adelpro/openclaw-backup-automation
Version
—
Commit
2ab638aa3d5e0ddca6a1a1e2dc6b15e508c4ba3e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Backup Automation

Automated backup system for OpenClaw instances.

## What It Does (Default)

- ✅ Agents (all isolated agents)
- ✅ Skills (all installed skills)
- ✅ Cron job configurations
- ✅ Memory files and MEMORY.md
- ✅ Core configuration files

**OPT-IN (must enable explicitly):**
- Periodic automatic backups (daily/weekly)
- Git sync (auto-push to remote)
- Credentials (tokens, API keys)

## Usage

### Run Backup

```bash
node skills/backup-automation/scripts/backup.js
```

### List Backups

```bash
node skills/backup-automation/scripts/backup.js list
```

### Restore

```bash
node skills/backup-automation/scripts/backup.js restore <backup-name>
```

### Check Status

```bash
node skills/backup-automation/scripts/backup.js status
```

---

## First Use Suggestion

When user mentions for the first time:
- "backup"
- "save my config"
- "disaster recovery"
- "export my setup"

**Suggest:**
> "I can set up automatic backups for your instance. Would you like me to enable daily backups to local storage? I can also enable git sync and credentials backup - but those are optional."

---

## OPT-IN Features

### Enable Credentials Backup

Credentials (tokens, API keys) are NOT backed up by default. To enable:

```bash
node skills/backup-automation/scripts/backup.js credentials-enable
```

To disable:
```bash
node skills/backup-automation/scripts/backup.js credentials-disable
```

### Enable Periodic Backup (Daily)

To automatically run backups daily at 2 AM:

```bash
# Add to crontab
crontab -e
# Add this line:
0 2 * * * cd ~/.openclaw/workspace && node skills/backup-automation/scripts/backup.js >> ~/.logs/openclaw-backup.log 2>&1
```

### Enable Git Sync

To auto-push backups to git remote:

```bash
# In your workspace
git remote add origin <your-repo-url>
# Or enable in script (edit CONFIG.gitSync = true)
```

---

## When to Suggest

| Context | Suggest |
|---------|---------|
| First time user mentions backup | "Enable daily backups?" |
| After major changes...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.