1panel-dev / docs Goto Github PK
View Code? Open in Web Editor NEW1Panel 在线文档
Home Page: https://1panel.cn/docs/
License: GNU General Public License v3.0
1Panel 在线文档
Home Page: https://1panel.cn/docs/
License: GNU General Public License v3.0
在文档的计划任务 - 5 备份目录部分提到
支持设置排除文件,但是系统要求必须以英文分号隔开,如*.log;*.sql;
但是我使用 *.ogg;*.mp3;*.flac;*.lrc
的格式填写排除类型时,报错
[2023-12-30 14:40:56] [INFO] start to handle remove expired, retain copies: 0
[2023-12-30 14:46:49] [INFO] add directory job data备份 successful
[2023-12-30 14:46:49] [INFO] start cronjob entryID: 9
[2023-12-30 14:46:56] [INFO] start to backup directory data备份 to OneDrive
[2023-12-30 14:46:56] [INFO] handle tar /opt/1panel/backup/directory/data备份 to directory_data_20231230144656.tar.gz
[2023-12-30 14:46:56] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/backup/directory/data备份/directory_data_20231230144656.tar.gz --exclude *.ogg;*.mp3;*.flac;*.lrc; --exclude *.sock -C / data
[2023-12-30 14:46:56] [ERROR] do handle tar failed, stdout: stderr: tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
bash: line 1: *.mp3: command not found
bash: line 1: *.flac: command not found
bash: line 1: *.lrc: command not found
bash: line 1: --exclude: command not found
, err: exit status 127
而我改用一行一个时,备份正常运行
*.ogg
*.mp3
*.flac
*.lrc
正常运行日志
[2023-12-30 14:49:06] [INFO] add directory job data备份 successful
[2023-12-30 14:49:06] [INFO] start cronjob entryID: 10
[2023-12-30 14:49:09] [INFO] start to backup directory data备份 to OneDrive
[2023-12-30 14:49:09] [INFO] handle tar /opt/1panel/backup/directory/data备份 to directory_data_20231230144909.tar.gz
[2023-12-30 14:49:09] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/backup/directory/data备份/directory_data_20231230144909.tar.gz --exclude *.ogg --exclude *.mp3 --exclude *.flac --exclude *.lrc --exclude *.sock -C / data
[2023-12-30 14:50:18] [INFO] start to handle remove expired, retain copies: 7
updata:才发现面板有提示,与文档内容不一样
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.