
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://github.com/book000/server-backup-v2/blob/master/README-ja.md
A tool for backup Linux servers on a regular basis. This is a rewrite of https://github.com/book000/server-backup in Python3 to make it easier to divert to others.
https://github.com/book000/server-backup-v2
DBBackup: Database backup for MySQL and MariaDBFullBackup: Reverse differential full backup using SSH and rsyncPyMySQLgit clone https://github.com/book000/server-backup-v2.gitrequirements.txt: pip install -U -r requirements.txtThe default config file is config.json. If not specified, string type and required.
discord: *** notification settings
token: Bot tokenchannel: Channel ID for notificationdir: Data storage directory setting
backup: Backup destination directory (Default: backup/)logs: Logs destination directory (Default: logs/)db: Database backup settings
enable: If enable database backup (boolean、Default: false)keep_days: Number of days to keep the backup (int、Default: 30)hostname: DB Hostnameport: DB Port numberusername: DB Usernamepassword: DB Passwordignores: Ignore settings
db: Database name to exclude if included (list、Default: [])table: Table name to exclude if included (list、Default: [])full: Full backup settings
enable: If enable full backup (boolean、Default: false)keep_days: Number of days to keep the backup (int、Default: 30)hostname: Hostnameport: Portusername: Usernamepassword: Passwordidentity: Public key pathpassphrase: Passphrase of the public keyfrom: Directory to back up (Default: /)ignores: Directory files to exclude (list、Default: [])DB Backup
The following permissions need to be set globally for the backup user account.
Full Backup
Backups are done with rsync and sudo is used to back up all files.
For this reason, you need to be able to use sudo rsync with no-tty and no-password.
Add the following to the sudoers file on the remote server with visudo.
Defaults!/usr/bin/rsync !requiretty USERNAME ALL=(ALL) NOPASSWD: /usr/bin/rsync
USERNAME must be the username to log in to the remote server.
This setting will allow you to retrieve all files that can be viewed as root (sudo) in the event of a successful SSH login with this account. If you are concerned about security issues, we recommend that you do not use this feature.
The license for this project is MIT License.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务