1827453 Members
4641 Online
109965 Solutions
New Discussion

Re: Backup question

 
SOLVED
Go to solution
sanman_2
Occasional Contributor

Backup question

Hi All,

I know this might be a silly question that I'm asking here. I do my nightly backups through SAM and I was just wondering is there a way to see whats being backed up as the backup is taking place. Or is there a command that I can type on the command line that will show me what is currently being backed up. Your time and help will be greatly appreciated.
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: Backup question

If you are going through SAM then you are probably using fbackup. I believe fbackup generates a log file and you can also have fbackup generate an Index Log of the files it backs up (go to the Set Additional Parameters dialogue in the Add an Automated Backup menu in SAM). I don't recall where this file is located, but when you locate it, you can do a 'tail -f filename' and it will give you a running tally of what is backed up as it is logged to the file.
James R. Ferguson
Acclaimed Contributor

Re: Backup question

Hi:

If you have setup your backup to generate a index file, the standard SAM call to fbackup will generate a list of all files backed up. This file will be /var/sam/log/br_index.full if you are doing a full backup, or /var/sam/log/br_index.incr if you are doing an incremental.

...JRF...
CHRIS_ANORUO
Honored Contributor

Re: Backup question

If it is automatic backup (through cron) you can check the cron log file (/var/adm/cron/log) or /var/adm/sam/log
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Victor BERRIDGE
Honored Contributor

Re: Backup question

Hi,
I agree with Patrick, whatever log is the output if you want to see the current execution you should read the log with tail -f (that will look as an interractive session of log scrolling on you screen...)
all the best
Victor
sanman_2
Occasional Contributor

Re: Backup question

Maybe I didn't ask a clear question. If I am doing a backup--say right now, what can I use in SAM that will show me as my backup is currently running.
Victor BERRIDGE
Honored Contributor
Solution

Re: Backup question

Well there is in the menu backup and recovery, the choice to:
Under action =>View log files=> Choose the type Full-backup - history log - incremental log - recovery log. Tick automatic scrolling...
It will point at for full backup, at /var/sam/log/br_index.full...

Regards

Victor
James R. Ferguson
Acclaimed Contributor

Re: Backup question

Hi:

You asked how you could see if a backup was currently running. Why bother to use SAM -- at a shell prompt, do:

# ps -ef|grep fbackup

...JRF...
Patrick Wallek
Honored Contributor

Re: Backup question

Do you manually initiate your backups from SAM every night? If so, that seems like an awful lot of work.

If you want to see what is being backed up, as it is being backed up, then Victor is right in his recommendation.

SAM->Backup and Recovery->Interactive Backup and Recovery-> Actions->View Log Files->(Select whichevery log file you want to view).

If you want to just check whether or not a backup is running, then James is correct, just do a 'ps -ef | grep fbackup'.

If none of this is what you want, then I guess I don't understand the question.