Hello,
I'm trying to backup a filesystem from a storage array, I noticed that the update of the subclient content using this syntax :
subclient.content = ["My_storage_array:/My_Filesystem"]
This syntax is not executed correctly, we can write anything in the content even if it is not present in the storage array, no validation is done by commvault.
The output of the backup job fails and returns the following error:
"File system scan failed - there is nothing to back up. A possible cause is that none of the subclient contents exist.".
the code that i'm using to do my backup is bellow :
commcell = Commcell('My_commcell', commcell_login ,commcell_password)
client = commcell.clients.get('My_storage_array')
agent = client.agents.get('My_Agent')
backupset = agent.backupsets.get('My_Backupset')
backupset.subclients.add("backup_tmp", storage_policy="My_storage_policy")
subclient = backupset.subclients.get("backup_tmp")
subclient.content = ["My_storage_array:/My_Filesystem"]
subclient.enable_backup()
job_backup = subclient.backup(backup_level='Full')
Thank you in advance for your answers.