Quote:
Originally Posted by cilbuper
tar: /: file changed as we read it
|
It appears that the directory / changed. That is because the tar file was added to it. Perhaps you could avoid that error by the following method, or something like it:
Code:
cd /
tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/root/dnd *
I'm not sure, you may need to change that to relative paths, like so:
Code:
cd /
tar -cvpzf backup.tar.gz --exclude=backup.tar.gz --exclude=root/dnd *