Visit The New, Modern Unix Linux Community

is there a backup running

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers is there a backup running
# 1  
is there a backup running


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... Smilie

Where can i look/what can i look at to determine what backups are scheduled? any help greatly appreciated.
# 2  

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
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
# 3  
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  
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:

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 03:40 AM.. Reason: included code tags
# 5  
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

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #947
Difficulty: Medium
Malware a portmanteau for malicious hardware.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

CRON JOB not running - for tape backup from root user

I am trying a cron on root user to backup to tape using TAR command here is the cron entry 11 08 * * 6 /erdhot1cron 2>&1 >> /test3/scripts/dba/erdhot1cron.log here is script inside - edhot1cron #!/bin/bash vsysdt=`date +%d%m%y` date tar -cvf /dev/st0... (4 Replies)
Discussion started by: vijaymec50
4 Replies

2. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

3. Shell Programming and Scripting

Backup script / Test if script is already running

Hello everyone, I have 2 questions : 1) I have a backup shell script, let's call it, that is called every hour as a cron job. As a matter of fact a backup could last more than one hour. It mounts a NAS and then do some rsync on important directories, so really I don't want to... (2 Replies)
Discussion started by: freddie50
2 Replies

4. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

5. UNIX for Advanced & Expert Users

backup a file and keep every version of the backup

I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab. 0 0 * * 0,3 cat .bash_history > boo 0 0 * * 0,3 cp .bash_history boo I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies

6. Solaris

Running from Shell Vs running from RC script

Hi, i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell. How do i distinguish whether my script is run by init process or by shell?? Will the command /proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Discussion started by: vickylife
2 Replies

7. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

8. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

9. UNIX for Advanced & Expert Users

How to prevent job1 from running while job2 is running..

Hi, Please I need your expert advise on how to prevent/lock from execution job1 while job2 is still running in Unix... THanks:) (3 Replies)
Discussion started by: tikang
3 Replies

Featured Tech Videos