Tiny Core Base > TCB Bugs

backup problem

(1/2) > >>

jpeters:
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: ---Backup produced errors
Shutdown Aborted
--- End code ---
     
                 
/tmp/backup_status

--- Code: ---tar: : No such file or directory
tar: error exit delayed from previous errors
--- End code ---

curaga:
Check your filetool.lst, there might be some weird line there.

jpeters:

--- Quote from: curaga on February 08, 2009, 05:02:29 AM ---Check your filetool.lst, there might be some weird line there.

--- End quote ---

Nice call... a blank line at the end (hard to see ;)

curaga:
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
--- End quote ---

Jason W:
This is nice to know as I always by habit create an empty line at the end of each file as a normal protocol. 

Navigation

[0] Message Index

[#] Next page

Go to full version