1831477 Members
3622 Online
110025 Solutions
New Discussion

Backup problem on 10.20

 
Jeff Tolly
Advisor

Backup problem on 10.20

Have a daily cron job running and have included the text from there concerning the backups.

What happens is that a dump of the actual backup is written to file within our /home/fbackupfiles inconsistently

When this happens our /home volume is at 100% utilization due to the volume only being 63MB's. Usually the /home is around 12% utilization.

Not sure why this file gets created and any thoughts to why?

Thought I would add a line to the cron to delete this but would like to figure out why it happens here and there?

Thank you

15 1 * * /usr/bin/nice /home/fbackupfiles/fullback >> /home/fbackupfiles/log/m
onday_backup&
15 1 * * 2 /usr/bin/nice /home/fbackupfiles/fullback >> /home/fbackupfiles/log/t
uesday_backup&
15 1 * * 3 /usr/bin/nice /home/fbackupfiles/fullback >> /home/fbackupfiles/log/w
ednesday_backup&
15 1 * * 4 /usr/bin/nice /home/fbackupfiles/fullback >> /home/fbackupfiles/log/t
hursday_backup&
15 1 * * 5 /usr/bin/nice /home/fbackupfiles/fullback >> /home/fbackupfiles/log/f
riday_backup&
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: Backup problem on 10.20

The key to understanding your problem is not the crontab but rather the script that is invoked. You really need to look at /home/fbackupfiles/fullback for the answer. It's also rather unusual to invoke a cronjob in the background (&). Note that the logs are always appended so that if not truncated periodically then filling up the filesystem is guaranteed to happen.

If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: Backup problem on 10.20

1) Run this backup command manually and see what happens. Post the errors you get

2) What type of backup are you doing? (tar, cpio, fbackup etc).

3) Check the file type and content of dump file with 'file' or 'strings' command.

4) Redirect the log files to another file system which has enough space available.
Life is a promise, fulfill it!
Joshua Scott
Honored Contributor

Re: Backup problem on 10.20

Well, I assume this is just a typo, but to be sure...

on the monday backup line, there's no weekday field for the cron. it just says

15 1 * * /usr....

This might cause problems.

Probably just a typo in your message though.

-Josh
What are the chances...
Paula J Frazer-Campbell
Honored Contributor

Re: Backup problem on 10.20

Hi
a common probel is a typo

om intead of 0m (Oh M instrad of Zero M)

Check out your backup script for device name.

Using om (OH m) will push the backup to a file instrad of the device 0m (Zero m).


HTH

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: Backup problem on 10.20

Corrected typos - Been a long day.

Hi
a common problem is a typo

om instead of 0m (Oh M instead of Zero M)

Check out your backup script for device name.

Using om (OH m) will push the backup to a file instead of the device 0m (Zero m).


HTH

Paula
If you can spell SysAdmin then you is one - anon