bash-backup-rotation-script icon indicating copy to clipboard operation
bash-backup-rotation-script copied to clipboard

Script Failure

Open dinosaw opened this issue 9 years ago • 0 comments

After setting up the configuration file and running the script, I get the following error:

root@kraken:~/backups# bash backup_rotation.sh
Removing expired backups...
Creating backup dir..
Copy backup to local dir..
mv: cannot stat `/tmp/backup.incoming/*': No such file or directory
Finish..

However the directory does exist:

root@kraken:~/backups# ls -ahl /tmp/backup.incoming/
total 8.0K
drwxr-xr-x 2 root root 4.0K Dec  1 16:30 .
drwxrwxrwt 9 root root 4.0K Dec  1 16:30 ..

Any idea what could be happening

dinosaw avatar Dec 01 '16 21:12 dinosaw