I need netbackup to run a script, which was created on a Linux server
Hello, I have the following problem. I would like netbackup to run a script, which was created on a Linux server (Redhat) The script is already ready, I just need the netbackup through a schedule to run this script I created. How could I do this, is it possible?Solved1.5KViews0likes4CommentsVSR Scripting - How to get Image Job Network User
Hi, I have successfully used the example powershell scripts that come with VSR 18 to script creating backup jobs, that back up to a network drive. I am now trying to write a script to get each ImageJobs NetworkUser and then change the NetworkPassword. I have spent a day trying to find how to get an ImageJobs NetworkUser but have failed. Please will someone help me out. See below for the script I am trying to get to work. Many Thanks, Josonic # I have got the system volume as $oVolume, and therefore its ID ForEach($ImageJob in $v2iAuto.ImageJobs) { Write-Host $ImageJob.Displayname # shows displayname correctly Write-Host $ImageJob.Location # shows 'IImageLocation Location (string) {get} {set}' Write-Host $ImageJob.Location($oVolume.ID) # shows 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' Write-Host $ImageJob.Location($oVolume.ID).Path # shows 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' }Solved1.4KViews0likes1CommentNeed help on how to script an "alternate location" backup for a specific server (VM) weekly
Hello, this is my first post, I do browse the forums everyweek though. ;) Here's my problem, I do this very manual "restore" to an alternate location for a server that needs a second backup copy every single week, (with different host (VM), different display name, etc). I was wondering if it was possible to script/schedule this sort of backup to happen weekly. Right now it is very time consuming and laborous to do this every week and was wondering if any shortcuts were available. Let me know if its possible to script something like that! Thanks, etn861Views0likes2CommentsAutomate / Script System Recovery Policy Creation
Hi Gurus, Would like to seek for your advice regarding our current situation - deploy VSR 2016 on 3 sites with about 80 - 200 machines each. No VSR central management. Backup will be dumped to shared drive. We've gone past the installation part, but I would like to ask for your advice / suggestions how to go about automating / scripting creation of backup policies. Only a handful will have peculiar backup selection/destination/retention, so it would be extremely helpful if we can automate creation of policies for similar machines.2.2KViews0likes7CommentsAbout bpstart_notify.bat.
Hi all. I want to netbackup running to backup and then bpstart_notify script create test folder or file(example -> test.txt) which in C:\etc. What should i add sentence to bpstart_notify.bat file? Help! Let me know... @REM $ Id: bpstart_notify.bat, V 1.3 8 January 2006 PM 08 hour 46 minutes 43 seconds $ @REM ************************************************ *************************** @REM * $ VRTScprght: Copyright (C) 2016 Veritas Technologies LLC. All rights reserved VT25-0977-2658-84-51-3 $ * reserves @REM ************************************************ *************************** @REM Ecpyrght @REM @REM Bpstart_notify.bat @REM @REM This script when bpbkar to have been started on the client is called by NetBackup @REM To do a backup or archive. @REM @REM This script, will receive the six parameters. @ REM% 1 = CLIENT_NAME @ REM% 2 = POLICY_NAME @ REM% 3 = SCHEDULE_NAME @ REM% 4 = SCHEDULE_TYPE, following one: FULL, INCR, CINC, UBAK, UARC @ REM% 5 = STATUS, always 0 @ REM% 6 = RESULT_FILE @REM This script must be present on the inner in the same directory as the other parts of the NetBackup @REM @REM Client binary files (bpstart_notify.bat of install_path \ NetBackup of \ bin \ of). @REM Also, must be the root user can run. @REM Is terminated with a 0 if successful @REM @REM Naming conventions: There are three versions of the name that @REM script can be used. Start notifies a script that can be used 1 version, termination, notification that the script used @REM @REM Another, or they will be able to both use the same version. @REM Use "" that have been NetBackup policies and @REM substitute "of sched policy" @REM Schedule name. "Bpstart" can be replaced with a "bpend". @REM Bpstart_notify.policy.sched.bat @REM Bpstart_notify.policy.bat @REM Bpstart_notify.bat @REM @REM Result file: @REM Result file name, it will be dependent on the script file name. @REM Example: @REM Script name: Result file name: @REM Bpstart_notify.policyA.schedB.bat BPSTART_RES.policyA.schedB @REM Bpstart_notify.policyB.bat BPSTART_RES.policyB BPEND_RES bpend_notify.bat @REM @REM @REM Note: You can write what is the standard output and standard error output, backup problems. @REM Output, you need to redirect the results to a file. @REM @REM ------------------------------------------------ -------------------- @REM Main script starts here @REM Is a simple script that records the type of backup to be performed along the this And @REM with other relevent information (client name, such as policy name) @REM Adds the information to the results file @REM ------------------------------------------------ -------------------- @if "%4" == "FULL" goto FULL @if "%4" == "CINC" goto CINC @if "%4" == "" goto FAIL Backup, full, and since not a cumulative incremental, print @ REM general message @echo backup / restore, and began BP_RES.txt \ bpres =% 6 >> bottle to schedule% 3 and status% 5 Use the policy% 2% 1 @echo 0 >>% 6 @GOTO: EOF @REM Exit 0 : FULL @echo full backup, it began BP_RES.txt \ bpres =% 6 >> bottle to schedule% 3 and status% 5 Use the policy% 2% 1 @echo 0 >>% 6 @GOTO: EOF @REM Exit 0 @: CINC @echo cumulative incremental backup, began BP_RES.txt \ bpres =% 6 >> bottle to% 1 using the policy% 2% 3 schedule and status% 5 @echo 0 >>% 6 GOTO: EOF @REM Exit 0 : It will fail @REM No schedule type of information was not sent. Failure has occurred. Writes the status 1 to the result file. @echo 1 >>% 6 @GOTO: EOF @REM Exit 02.7KViews0likes10CommentsHow to use SSR 2013 R2 SP3 with PowerShell ?
Hello, I want to use symantec system recovery 2013 R2 SP3 with PowerShell. I use the following Management Console : SSR 2013 R2 SP3 MS. I saw the script on ...\SSR 2013 R2 SP3\Sym_System_Recovery_2013R2_11.1.3.55088_Multilingual_Product\Docs\Automation\PowershellScripts but how is it possible to run successfully ? I want use the scripts to running the backups failed. Thanks for your response. SamirSolved1.3KViews0likes2CommentsAfter PST Migration Completed End User Can't Open Outlook
Enterprise Vault 11.0.1 CHF1, On Windows 2008 R2, Exhange 2013 CU8, End user uses outlook 2013. After PST migration completed when end user trys to open his outlook he faces with error which PST Outlook data file can not be found. By manuelly I can remove PST file which is migrated and solve this issue. But this is "Server driven pst migration" method and more than thousand end users. Are there any settings, policy or parameters on Enterprise Vault side to solve this issue automatically.Solved683Views2likes2CommentsConfiguring or getting dbclient log name
Hi, I'm trying to automate SqlServer Backups by executing from control-m, which is a 3rd party schedule software. To do this, I have created a .bat file that call the Netbackup exec file (dbbackex.exe). I use this code to do this: echo "Starting SqlServer Backup on %COMPUTERNAME% " > C:\backuplog.log "C:\Program Files\Veritas\NetBackup\bin\dbbackex" -f C:\bcktest.bch -p nopr_bdd_msql_all -s back -np >> C:\backuplog.log echo %date% %time% >> C:\backuplog.log echo "Backup Finished " >> C:\backuplog.log IF %ERRORLEVEL% GTR 0 echo "Backup Finished with ERROR [%ERRORLEVEL%]" >> C:\backuplog.log IF %ERRORLEVEL% EQU 0 echo "Backup Finished SUCCESSFULLY" >> C:\backuplog.log echo "Review log file: C:\Program Files\Veritas\NetBackup\logs\user_ops\MsSql\Logs" >> C:\backuplog.log I would like to get the ERROR message, not only the code, using this script and if not possible, get dbclient log name to complete the last line and show something like: Review log file: C:\Program Files\Veritas\NetBackup\logs\user_ops\MsSql\Logs\0714115143814-55584-20776-000-000-prg Does anyone know if this is possible and how could I do this? Or is it possible to configure de path and logfile name? Other posibility I'm thinking of is manage error codes on my own, but I would need Error code list and cannot find it. Does anyone know if this exist? I would accept any other suggestion to get error information. I cannot use any other code but cmd/bat. Thanks in Advance, ElenaSolved4KViews0likes12Comments