ubuntu backup "The file changed while we read it in"



cd /
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys  /


tar: /: the file changed while we read it in
tar: will exit with the last error status due to the previous error

tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys --exclude=/run  /

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326642219&siteId=291194637