Forum Discussion

cwstad's avatar
cwstad
Level 2
12 years ago
Solved

Export and import Backup exec 2012 jobs

Hi guys, im looking to install about 40 servers with Backup exec and the jobs will be exactly the same albeit the server name that backup exec will be installed. is there an easy way to export the settings via powershell and import in to the new server

  • You can use these BEMCLI cmdlet to get what you want

    Get-BEBackupDefinition | Export-BEBackupDefinition

    The last cmdlet will generate a script which you can modify and then run on your new server to recreate the jobs.

    See my article below on how to use BEMCLI

    https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

  • You can use these BEMCLI cmdlet to get what you want

    Get-BEBackupDefinition | Export-BEBackupDefinition

    The last cmdlet will generate a script which you can modify and then run on your new server to recreate the jobs.

    See my article below on how to use BEMCLI

    https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

  • Thanks looks awesome. The script has exported but whats the best way to import?

  • I was testing export/import of jobs some time ago. I found it is not possible to export/import selections of the backup job. At least you can recreate the job for server which you could then modify the selections. I was able to import jobs (separately, one by one) by using this command:

    & '<full_path_and_name_of_exported_settings>.ps1' -AgentServer (Get-BEAgentServer "<server_name>") | save-BEBackupdefinition

    Test it before on a test environment to see what are the results

  • Hi W-D so this command & '<full_path_and_name_of_exported_settings>.ps1 is would i have to run the command that phk sent then save the jobs indivudaully then run your script with the path to the separate command?  thanks

  • Hi cawstad, were you able to follow these suggestions?

  • If you need an update, send the user a PM