12-03-2012 09:01 PM
Good Day
Hi Everyone,
Anybody could help me resolve this issue? I already add/specify the client in the policy.
the command that i issued was:
/usr/openv/netbackup/bin/bparchive -p <Policy> -s <archive_schedule> -L <progresslog> -S <masterserver> -t 0 -w 23:59:59 -f <arch path>
Thanks in advance!
Solved! Go to Solution.
12-03-2012 09:34 PM
What is CLIENT_NAME in /usr/openv/netbackup/bp.conf?
Does this name correspond with Client name in the policy that contains User Archive Schedule?
Can Master server resolve Client's IP address to hostname in policy?
12-03-2012 09:34 PM
To userarchive you have to create a policy with schedule - user backup/user archive. If that is not set you won't be able to archive the client. Also make sure the you have the backup window set up correctly.
12-03-2012 09:34 PM
What is CLIENT_NAME in /usr/openv/netbackup/bp.conf?
Does this name correspond with Client name in the policy that contains User Archive Schedule?
Can Master server resolve Client's IP address to hostname in policy?
12-03-2012 09:39 PM
Is the client policy name and the client name the same - Could be something like the fully qualified domain name ?
srv1.acme.com & srv1 is not the same name in Netbackup term.
I you need a really fast help post the output from the bparchive command (-L) and a screen shot from the activity monitor in a post.
Best Regards
Nicolai
Update: 2 answers while I was typing
12-04-2012 12:33 AM
Thanks guys..i just change the client name from th bp.conf and it works for the command, except there is an error : none of the files in the file list exist. How should i put the file list path..for example my file list path is /tmp/test..it will appear /tmp/@ in the job details.
kindly assist!
12-04-2012 01:48 AM
-f <arch path> seems to be incorrect usage.
Either -f <filename> where filename contains a list of files/folders that need to be archived, else without '-f' <arch_path> where arch_path is path to be archived.
12-04-2012 02:26 AM
? /tmp/@
You may have a null byte at the lend of line - This look like “^@” in vi. bplist is known to terminate each line with a null byte.
http://www.mass.dk/netbackup/quick-hints/88-remove-null-byte-from-bplist-output.html
12-04-2012 03:43 AM
Nicolai , which line has the "^@" ? i just run a bparchive command and select the archive file path location /tmp/test. The result from the job details and progress log will appear /tmp/@.
BTW, I have tried to terminate the null byte using bplist, turn result 227, No entity was found. Should I run it from my media server?
12-04-2012 04:00 AM
Do you need to archive /tmp/test?
Or is this a text file containing list of files to be archived?
If text file, your command will be :
bparchive -f /tmp/test
If path to be archived:
bparchive /tmp/test
12-04-2012 04:49 AM
Thanks Marrianne! Its helpful!
12-04-2012 09:14 PM
Dear Marrianne,
Thanks for the knowledge you taught. I already test and the result was successfully completed.Ive made the path to be archived bparchive /tmp/test. My intention is to archive all files in the /tmp/test only, not together with the directory. What should i do? If I use bparchive -f command, should i put all the files in a text file in /tmp/test directory?
Im a nbu dummy..sorry for such silly question!
12-04-2012 09:30 PM
Try /tmp/test/*.
This is how all of us learned - reading manuals plus 'trial and error'.
Your approach is good - test with some dummy files in a temp folder. Only when results are what we expect do we apply in production.
If your query was answered, please select the post that has helped you most and Mark as Solution.
This will then help other users with similar issues.
12-04-2012 09:40 PM
Thank you so much! It was really helpful.
You give me a fish the I can eat for today, You teach me to fish then I can eat for lifetime!
12-04-2012 10:58 PM
12-04-2012 11:59 PM
This article solve two things :
1. How to use bparchive
2. resolve bp.conf
Thanks Guys!