WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: backup problem  (Read 4893 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
backup problem
« 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: backup problem
« Reply #1 on: February 08, 2009, 05:02:29 AM »
Check your filetool.lst, there might be some weird line there.
The only barriers that can stop you are the ones you create yourself.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: backup problem
« Reply #2 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 ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: backup problem
« Reply #3 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
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: backup problem
« Reply #4 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. 

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: backup problem
« Reply #5 on: February 08, 2009, 12:09:35 PM »
I will add a deletion of empty line(s).
10+ Years Contributing to Linux Open Source Projects.