Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

TAR fails a cron backup only when using the device library /etc/default/ltar. Why is this happening and how do I fix this?

0
Posted

TAR fails a cron backup only when using the device library /etc/default/ltar. Why is this happening and how do I fix this?

0

1. Everything works fine from ‘ltmenu’. 2. Everything works fine from the command line. 3. Add the following entry to ‘root’ crontab file: 30 15 * * * exec lone-tar cv8 /tmp >>>>> FAILS! 4. Add the following entry to ‘root’ crontab file: 30 15 * * * exec lone-tar cvfb /dev/rStp0 20 /tmp Works! 5. Eliminate lone-tar by using a ‘tar’ command: 30 15 * * * exec tar cv8 /tmp Works! 6. Since ‘tar’ worked using archive8, copied ‘/etc/default/tar’ –> ‘/etc/default/ltar’ just in case ‘/etc/default/ltar’ was corrupt, and this did not solve the problem. 7. We have compared permisions on /etc, /etc/default, /etc/default/ltar, /bin, /bin/lone-tar, /etc/cron, the complete directory structure of /usr/spool/cron/crontabs/root, and everything is set correctly.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.