Git Product home page Git Product logo

openbackrestore's Introduction

iStoreOS/OpenWrt一键备份与恢复脚本 GitHub release (by tag)

🤔 这是什么?

该项目可以轻松备份iStoreOS已安装的软件和配置,当系统恢复出厂设置或重置后,可以一键恢复原来的软件和配置。

特别说明:对于iStoreOS系统而言,docker的数据分区基本上被用户主动迁移到另一个分区,因此无需备份,因为重置系统并不会删除用户自己新建的分区。若用户没有迁移docker的数据分区,那么我们的备份已经包含!

💡 特色功能

  • 💻 支持一键生成备份档案 包括已安装软件及其配置
  • 💻 支持一键恢复备份档案 包括已安装软件及其配置
  • 💻 支持已安装软件及其配置:包含应用商店和第三方安装的ipk/run
  • 🔑 支持同时支持终端命令行方式和iStore应用商店手动安装方式
  • 支持的OpenWrt系统列表如下
  • 1、软路由iStoreOS(x86_64 | ARM64) ✅
  • 2、兼容机型:MT3000/2500/6000 ✅
  • 3、OpenWrt(squashfs-combined)✅
  • 4、OpenWrt(ext4-combined)❌

只要是squashfs-combined类型的openwrt固件,理论上都可以兼容的。因为它们都是用了overlayfs文件系统的。

特别说明:GL-iNET这三款机型的恢复工作是分两步走。
1、执行sh restore.run 后先恢复到iStoreOS风格,执行完毕后会提示用户上传你的备份档案。
2、再次执行sh restore.run 后,提示恢复成功并重启,方可完成✅

🚀 方法一 命令行方式

1. 生成备份/tmp/upload/backup.tar.gz

wget -O backup.run https://raw.githubusercontent.com/wukongdaily/OpenBackRestore/master/backup/backup.run && sh backup.run

备份仓库

wget -O backup.run https://mirror.ghproxy.com/https://raw.githubusercontent.com/wukongdaily/OpenBackRestore/master/backup/backup.run && sh backup.run

每次备份都是完整的,可以经常备份,比如每月备份一次

🤔 如何自定义备份的路径?方法如下

https://github.com/wukongdaily/OpenBackRestore/wiki

2. 恢复备份

使用前提 将备份档案提前上传到 /tmp/upload/ 目录,如图

huifu

确定备份文件已经上传了 再执行如下命令即可恢复,恢复完成后会自动重启

❤️恢复命令如下

wget -O restore.run https://raw.githubusercontent.com/wukongdaily/OpenBackRestore/master/backup/restore.run && sh restore.run

备份仓库

wget -O restore.run https://mirror.ghproxy.com/https://raw.githubusercontent.com/wukongdaily/OpenBackRestore/master/backup/restore.run && sh restore.run

🚀 方法二 手动方式

1、在release页面下载backup.run或restore.run
https://github.com/wukongdaily/OpenBackRestore/releases/latest
2、打开iStore应用商店,点击手动安装,将run文件拖拽上去即可执行。
image

💰打赏作者💰

openbackrestore's People

Contributors

wukongdaily avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.