Hi All,
Can anyone tell what this script does?
I have a webserver linux box. The tech has left the company and never tell us if the backup tape is running or not.
I'm newbie to linux and try to investigate if we have backup running or not.
I did run : "mt -f /dev/tape status" command and the result is:
SCSI 2 tape drive:
File number=28, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x40 (no translation).
Soft error count since last status=0
General status bits on (81010000):
EOF ONLINE IM_REP_EN
I try to see what files has been backup up. But because i'm a newbie, i don't know how to find it.
I did some reading and some poeple use "TAR" method. But i don't think my webserver uses "TAR" method.
I found this script below on "ROOT" folder. Not really understand
#!/bin/bash
/sbin/dump -0ua /backup
/sbin/dump -0ua /var
/sbin/dump -0ua /home
/sbin/dump -0ua /
/sbin/dump -0ua /logs
/sbin/dump -0ua /boot
Please help me
I'm stuck