Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-11-2012
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
is there a backup running

Hi

The answer to this question will probably be "How long is a piece of string?"... but i'll ask anyway... The tech who was looking after admin on the only linux box in the office is no longer here, so it falls on me to maintain it.

Apparently there's a daily backup running, but i can't find anything in /etc/cron.daily which refers to backups. The overall result/summary of the backup is supposed to be emailed to the manager, but this stopped working and wasn't fixed before the previous guy left...

Where can i look/what can i look at to determine what backups are scheduled? any help greatly appreciated.
Sponsored Links
    #2  
Old 07-12-2012
Registered User
 
Join Date: Mar 2008
Location: Italy - EU
Posts: 172
Thanks: 5
Thanked 35 Times in 35 Posts
Hi,

try to collect some additional infos, i.e.:
- look inside /var/spool/cron in order to read all the system users' crontabs;
- does the company use a centralized backup software? if yes, it may be a backup agent/client installed on the machine: look at the official documentation for that client and your specific platform;
- as root user, launch a
Code:
ps -eaf

and look at long running processes in the 'TIME' column at various times in the course of the 24 hours: it may be that the process responsible for backups shows in the output (i.e.: it may be a daemon or a script).
Tell us what you found.

see ya
fra
Sponsored Links
    #3  
Old 07-12-2012
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
If you have sample email from when the backup worked, check the real source address of the email (look at the email headers with your email reader) and also look for clues in the mail body.
If you still have the server mail logs going back to when it worked, check whether the destination email address ever appeared in the mail log.
If other backups still work, look at how they are configured.
    #4  
Old 07-18-2012
Registered User
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your assistance. /var/spool/cron had a single line calling a script from another directory. In that script, the line doing all the work is:


Code:
find . -path './mnt' -prune -o -path './tmp' -prune -o -path './sys' -prune -o -path './proc' -prune -o -print | cpio -ocB >$TAPE 2>&1

TAPE is /dev/st0

Any ideas on how to verify/view the contents of the archive?

Last edited by Noewon; 07-18-2012 at 02:40 AM.. Reason: included code tags
Sponsored Links
    #5  
Old 07-23-2012
Registered User
 
Join Date: Mar 2008
Location: Italy - EU
Posts: 172
Thanks: 5
Thanked 35 Times in 35 Posts
ok, it seems that the previous guy was backing up with cpio directly to a tape device.

You may find infos about the execution and outcomes of the backup with ps -eaf (and looking for the presence of commands related to 'find' or 'cpio', and looking at logs in /var/log/messages or /var/log/cron.

In order to have info about how to manage cpio tape backups, have a look at:
Solaris UNIX Tape Backup And Recovery With tar And cpio Commands
the part showing cpio usage.

tell us how you-re doing
see ya
fra
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Backup script / Test if script is already running freddie50 Shell Programming and Scripting 2 05-22-2012 03:38 PM
rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment? MVEERA Shell Programming and Scripting 0 11-23-2011 11:27 AM
Issues with running IGNITE Tape backup lodey HP-UX 2 09-19-2008 06:31 AM
pmon and tnslsnr - how to check when they are back running after a backup GRUBBERR Shell Programming and Scripting 1 01-30-2008 04:53 PM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 11:41 AM



All times are GMT -4. The time now is 08:56 AM.