Forum Discussion

Liffeyman's avatar
Liffeyman
Level 3
14 years ago
Solved

Scheduling EV services to go into backup mode

Folks,

 

We have the following maintenance plan in place the run weekly http://www.symantec.com/business/support/index?page=content&id=TECH74666

Question is, do i need to create a task to place the services in backup mode before this maintenance starts, or will the linked maintenance plan automatically place the services in backup mode?

Have found the following article  http://www.symantec.com/docs/HOWTO37613 which showes me how to place the services into backup mode but i haven't being able to find a way to schedule this task.

 

Any help would be great

 

thanks

Paul

 

 

  •  

     
    powershell -psconsolefile "C:\Program Files\Enterprise
    Vault\EVShell.psc1" 
     
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 1
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 2
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 3
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 4
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 5
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 6
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 7
     
     
    -command "& {set-vaultstorebackupmode -name
    'Default Upgrade Group' -evservername Server evobjecttype
    vaultstoregroup}"
     
     
    powershell -psconsolefile "C:\Program Files\Enterprise
    Vault\EVShell.psc1" 
     
     
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 1
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 2
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 3
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 4
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 5
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 6
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 7
     
    -command "& clear-vaultstorebackupmode -name
    'Default Upgrade Group' -evservername Server -evobjecttype
    vaultstoregroup}"
     
     
    But you kind find all of this in the administrator guide. 
  • Hi Liffeyman

    What backup software are you using? If you are using Backup Exec or Net Backup with their EV Agent it will automatically place the items into backup mode. 

     

    But if it is just for SQL or other maintenance I would recommend doing the scheduled task. 

     

    What version of EV are you running? If your using EV 8 onwards you have to use the powershell commads, they are pretty straigh forward and you can find them in the Administrators guide. 

  • sounds like rob covered everything for you in his post. if you're using the EV backup agent for BE or NBU then it puts the system in backup mode for you. otherwise, if you're just running sql scrips you'll need to schedule tasks to do it for you.

    did you need anything else?

  • The version of enterprise vault is 9.0.2.1061

    We are using backup exec so we can close that bit out.

    With regards to the SQL jobs I was able to use the powershell commands to manually put the vault into backup mode but was having difficulty automating this. Is there a sample script or batch file I can work off so I can just double click and it can put the vault in and out of backup mode

    Any help would be appreciated

    Thanks

  • Hi there

    You can find the information in the admin guide 

    "Generating PowerShell backup commands for your environment"

     

    "Using PowerShell cmdlets in backup scripts"

    Here are some Script examples from the admin guide

    powershell -psconsolefile "C:\Program Files\Enterprise Vault\EVShell.psc1" -command "& {clear-vaultstorebackupmode -name 'Express Vault Store Group' -evservername EVserver -evobjecttype vaultstoregroup}"

    You can put this into a BAT file and then run as a schedule task.

     

    Hope this helps

  •  

     
    powershell -psconsolefile "C:\Program Files\Enterprise
    Vault\EVShell.psc1" 
     
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 1
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 2
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 3
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 4
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 5
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 6
    Set-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 7
     
     
    -command "& {set-vaultstorebackupmode -name
    'Default Upgrade Group' -evservername Server evobjecttype
    vaultstoregroup}"
     
     
    powershell -psconsolefile "C:\Program Files\Enterprise
    Vault\EVShell.psc1" 
     
     
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 1
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 2
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 3
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    Clear-IndexLocationBackupMode  EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 4
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 5
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 6
    Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath
    f:\enterprise vault index location\index location 7
     
    -command "& clear-vaultstorebackupmode -name
    'Default Upgrade Group' -evservername Server -evobjecttype
    vaultstoregroup}"
     
     
    But you kind find all of this in the administrator guide.