Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: jpeters on February 08, 2009, 04:35:33 AM

Title: backup problem
Post by: jpeters on February 08, 2009, 04:35:33 AM
I've tried rebooting several times, with the same result. It's been a while since I backed up, so I don't
know when the problem started.

Code: [Select]
Backup produced errors
Shutdown Aborted
     
                 
/tmp/backup_status
Code: [Select]
tar: : No such file or directory
tar: error exit delayed from previous errors
Title: Re: backup problem
Post by: curaga on February 08, 2009, 05:02:29 AM
Check your filetool.lst, there might be some weird line there.
Title: Re: backup problem
Post by: jpeters on February 08, 2009, 05:32:49 AM
Check your filetool.lst, there might be some weird line there.

Nice call... a blank line at the end (hard to see ;)
Title: Re: backup problem
Post by: curaga on February 08, 2009, 06:02:51 AM
This is a problem for many. Perhaps a cleanup of that file should be added to the backup script, to be done right before backup. Something like
Quote
cd /
rm /tmp/newfiletool
for i in `cat /opt/.filetool.lst`; do
[ -e "$i" ] && echo "$i" >> /tmp/newfiletool
done
mv /tmp/newfiletool /opt/.filetool.lst
Title: Re: backup problem
Post by: Jason W on February 08, 2009, 11:03:13 AM
This is nice to know as I always by habit create an empty line at the end of each file as a normal protocol. 
Title: Re: backup problem
Post by: roberts on February 08, 2009, 12:09:35 PM
I will add a deletion of empty line(s).