11-15-2008 08:06 AM
now how can i know that backup is completed successfully or not?
is there any log message where these information stores?
i have checked already /var/adm/syslog/syslog.log, /var/mail/root and dmesg, but nothing found.
can anybody tell me how can i confirm about the backup.
11-15-2008 08:41 AM
Safe thing to assume without data is the backup failed. If you need it and its not there the disappointment will be large.
What you can do is this:
# This is a return code. zero means successful.
if [ $rc -eq 0 ]
echo "Backup succeeded"
echo "Backup failed"
Owner of ISN Corporation
11-15-2008 11:40 AM
I suppose it could have worked but the stderr output indicating any issues was lost. You could redirect the output and use nohup to put it in the background.
>is there any log message where these information stores?
Only to your terminal, if you didn't redirect it.
>can anybody tell me how can i confirm about the backup.
dd(1) isn't really a backup utility, it is a raw copying command.
It's not like there is a length on the target so you can see how much was copied.