← 返回
安全合规 中文

3-Tier Auto-Backup Daily Snapshots, Drive Mirror & Emergency Recovery

Automated backup in 3 layers: daily timestamped snapshots, secondary drive mirror, and emergency conversation export.
三层自动备份:每日时间戳快照、次级硬盘镜像、紧急对话导出。
theshadowrose
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 530
下载
💾 2
安装
1
版本
#auto-backup#backup#disaster-recovery#latest#mirror#snapshots#windows#workspace-protection

概述


Never lose your AI workspace again. Three independent backup layers, each protecting against different failure modes.

The 3 Tiers

TierWhatProtects AgainstFrequency
----------------------------------------
1. Daily SnapshotsTimestamped zip of workspaceAccidental deletions, bad editsDaily (3 AM)
2. Drive MirrorFull copy to secondary drivePrimary drive failureDaily (after Tier 1)
3. Emergency ExportStandalone HTML chat backupTotal system failureAlways available

Setup

Tier 1: Daily Snapshots

Edit daily-backup.ps1 and set your paths:

$WorkspacePath = "{YOUR_WORKSPACE_PATH}"
$BackupDir = "{YOUR_BACKUP_DIR}"

Register as a scheduled task:

$action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-File {PATH_TO}\daily-backup.ps1"
$trigger = New-ScheduledTaskTrigger -Daily -At 3AM
Register-ScheduledTask -TaskName "AI Workspace Backup" -Action $action -Trigger $trigger

Tier 2: Drive Mirror

If you have a secondary drive (D:, external USB, NAS), the backup script auto-syncs after creating the daily snapshot.

Edit the mirror path in daily-backup.ps1:

$MirrorPath = "D:\WorkspaceBackup"

Tier 3: Emergency Chat

emergency-chat.html is a standalone file that works in any browser with zero dependencies. It connects directly to your local Ollama instance.

Copy it to:

  • Your Desktop
  • Your secondary drive
  • A USB stick

If everything else breaks, double-click this file.

Restore Procedures

From Daily Snapshot:

Expand-Archive -Path "{BACKUP_DIR}\backup-YYYY-MM-DD.zip" -DestinationPath "{WORKSPACE}"

From Drive Mirror:

robocopy "D:\WorkspaceBackup" "{WORKSPACE}" /MIR

From Emergency Chat:

Open the HTML file in a browser. Your conversation history won't be there, but you can communicate with your local AI immediately.

Retention

Default: keeps last 7 daily snapshots. Older ones are auto-deleted. Change $RetentionDays in the script.


⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from

the use or misuse of this software — including but not limited to financial loss,

data loss, security breaches, business interruption, or any indirect/consequential damages.

  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for

their use case, environment, and risk tolerance.

  • No guarantee is made regarding accuracy, reliability, completeness, or fitness

for any particular purpose.

  • The author(s) are not responsible for how third parties use, modify, or distribute

this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read

this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system.

The author(s) are not responsible for data loss, corruption, or unauthorized access

resulting from software bugs, system failures, or user error. Always maintain

independent backups of important data. This software does not transmit data externally

unless explicitly configured by the user.


Support & Links

------
🐛 Bug ReportsTheShadowyRose@proton.me
Ko-fiko-fi.com/theshadowrose
🛒 Gumroadshadowyrose.gumroad.com
🐦 Twitter@TheShadowyRose
🐙 GitHubgithub.com/TheShadowRose
🧠 PromptBasepromptbase.com/profile/shadowrose

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr

Installation Note

The daily-backup.ps1 PowerShell script is described in README.md. Create it manually in your workspace using the template provided. ClawHub does not distribute .ps1 files directly.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:07 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

content-creation

SocialPack Multi-Platform Social Media Generator

theshadowrose
通过单一简报生成多平台社交媒体帖子。支持Twitter话题串、LinkedIn、Instagram和Reddit。一次输入,覆盖所有平台。
★ 0 📥 1,967
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,584
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,697