Giter Site home page Giter Site logo

docs's People

Contributors

anyexyz avatar luyang351 avatar maninhill avatar ssongliu avatar wan92hen avatar wanghe-fit2cloud avatar zhengkunwang223 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docs's Issues

文档描述问题 / 文档与面板提示不一致

在文档的计划任务 - 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:才发现面板有提示,与文档内容不一样

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.