I have to change my library, my old library and my new library have the same partirions, more than 400 replication jobs use this library.
the jobs use different partitions, for example, weekend 1 uses partition 1, weekend 2 uses partition 2 ...
after making a copy of the backupexec directories, i tried deleting the old library and then told to redirect the jobs to the new one. the problem is that the job targets the new library but doesn't indicate the partition. i'd like to keep the original partitions in jobs on the new library. how can i do this without modifying each job by hand.
Here are the steps on how to keep the original partitions in jobs on the new library without modifying each job by hand:
Here are some additional things to keep in mind:
I hope this helps! Let me know if you have any other questions.
Here are the commands that you can use to perform the steps above:
# Create a backup of the old library bpbackup -s old_library # Delete the old library bpdelete -s old_library # Create a new library with the same name and partitions as the old library bpcreate -s new_library -p <partition_1> -p <partition_2> ... # Restore the backup of the old library to the new library bprestore -s new_library -b <backup_file> # Edit the jobs to point to the new library bpedit -s <job_name> -l new_library # Set the "Use Default Partition" option to "No" for the jobs that need to use specific partitions bpedit -s <job_name> -p <partition_name> -u # Set the "Partition" option for the jobs that need to use specific partitions bpedit -s <job_name> -p <partition_name> -p <partition_value>