Changing media pool using omnib command line
I would like to change my backup job media pool. From what i have gathered the command to use is as below
omnib -filesystem Client:MountPoint Label -device BackupDevice [MIRROR_OPTIONS...] [GENERAL_OPTIONS] [FILESYSTEM_OPTIONS] [-public]
I can see the option to change pool under GENERAL_OPTIONS, but what do I put in for the Client, MountPoint, Label? Could anyone give me a working example for the command above?
Command you are referring to “omnib” will trigger backup. I suggest using GUI if you are not familiar with DP CLI usage.
- Go to backup context and check you backup specification and what device it is using
- Go to device and media context and modify device you are using in a way that will suit your needs and available hardware.
Hope this helps & Regards AlesKol
I know and understand how to do it using GUI. No issue there. But right now I'm in a situation where I need to change my media pool on weekly basis. I would prefer to do that instead of having to create 4 different job pointing to 4 different pool.
I don't really see why you would 'not' create 4 different backup specs for this. It sounds like you want to use 4 different pools ... that was your original request: how to change the media pool. So, if you have 4 different pools then just copy your existing datalist, change the media pool and the schedule and you're done!
Regarding "Client:MountPoint Label", this triplet is what defines the object. In the GUI, you can find this in the Backup Object Summary tab as Client, Source and Description. There are plenty of examples in the omnidb manual page also.
I am not sure what would you like to achieve? With omnib command you will trigger only one backup. How is this better than have it scheduled?
I would suggest creating backup spec and not scheduling it -> now you can call “omnib -datalist”.
Anyway: “Client:MountPoint Label” would stand for “dataprotector.client.com:/tmp myLabel” for an example.