This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ⚠️ 请先停止 Emby 服务,确保数据库文件不在使用中(非常重要) | |
| # ✅ 此脚本需安装 sqlite3 命令行工具: | |
| # Ubuntu 安装:sudo apt update && sudo apt install sqlite3 | |
| # 或从官网下载安装:https://www.sqlite.org/download.html | |
| # 第一步:进入 Emby 配置目录 | |
| cd /mnt/user/appdata/emby-linuxserver | |
| # 第二步:将原始 library.db 导出为 SQL 文件备份 | |
| sqlite3 data/library.db ".dump" > data/backup.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Nginx daemon control script. | |
| # Written for Slackware Linux by Cherife Li <cherife-#-dotimes.com>. | |
| # limetech: modified for Unraid | |
| # reference: | |
| # LANNAME 'tower' | |
| # LANMDNS 'tower.local' |