wsldl-pg / CentWSL

[DISCONTINUED] CentOS based WSL distribution
MIT License
1.13k stars 182 forks source link

CentOS7.exe backup >> not working #30

Closed won5572 closed 4 years ago

won5572 commented 4 years ago

C:\CentOS7>CentOS7.exe backup Running backup Script. If a password is requested, please enter the root password.

tar: Cowardly refusing to create an empty archive Try tar --help' ortar --usage' for more information. bash: line 1: --exclude: command not found bash: line 2: --exclude: command not found

How can I fix it?

won5572 commented 4 years ago

I done. tar -zcpf /mnt/e/centos7.backup.tar.gz --exclude=/proc --exclude=/dev --exclude=/mnt --exclude=/media --exclude=/lost+found --exclude=/tmp --exclude=/sys --exclude=/run /