Hi Im trying to use xcp for deleting a huge amount of old files on a volume with 127963385 used indoes. xcp seems a good option for this task as the speed of deletion is high, but I need to get a list of all files the have been deleted. For reference: scan -l - is listing files that matched the criteria, I want the same for the delete. Tried to increase -loglevel to DEBUG but it doesnt give me the output I need. Is there any workaround / solution for this ? Scanning it first and then deleting will take too long ... * Another thing that missing in the delete command is defining the threads as copy/verify/sync command have (-parallel) - what is the default for the delete command ? Thanks
... View more
Hello, everyone. You want to configure syncmirror from Pool0 (aggr1) to None-ADP (Pool1) configured with ADP. Could you give me a TR document or advice on whether this configuration is possible? Thank you. Have a nice day.
... View more
For some reason we have a lot of old backups in snapdrive SQL databases... We would like to delete all backups older than a specific date, but only from the primary location. (we have two snapvault targets)... I suspect we need a PS script for this task, because doing this in the GUI is a pain 🙂 If someone has done this script already and is willing to share, it would be most useful... Thanks!
... View more
Hello, I am trying to clone a backup of some SQL-Server databases to another server and everything works great when i let SnapCenter controle the mountpoint with AutoAssignMountPoint. Full command: New-SmClone -BackupName "SQL01_USRDB1_SQL01_01-08-2023_19.30.04.9781" -Resources @{"Host"="SQL01.domain.com";"Type"="SQL Database";"Names"="SQL01\TestDatabase,SQL01\Provar,SQL01\EfterPolicy"} -CloneToInstance "SQL02" -AutoAssignMountPoint -Suffix "_PS-Clone" -LogRestoreType None -AppPluginCode "SMSQL" But i want to controle the mountpoint, so i try to use AssignMountPointUnderPath, but i can not get it to work. Full command: New-SmClone -BackupName "SQL01_USERDB01_SQL01_01-08-2023_19.30.04.9781" -Resources @{"Host"="SQL01.domain.com";"Type"="SQL Database";"Names"="SQL01\TestDatabase,SQL01\Provar,SQL01\EfterPolicy"} -CloneToInstance "SQL02" -AssignMountPointUnderPath 'c:\MountPoint\CloneMount\' -Suffix "_PS-Clone" -LogRestoreType None -AppPluginCode "SMSQL" The error i get is: New-SmClone : Input string was not in a correct format. I have tried all variations on the path i can come up with (single quote, double quote, without quote, with double backslaches, with and without backslash on the end) but all of them give the same error. If i use a path that does not exist, it gives another error: New-SmClone : Invalid mount path: Path does not exist Wich is logical... And indicates that it is using the string and the overall command is ok. If i look in the command reference guide, https://library.netapp.com/ecm/ecm_download_file/ECMLP2880726 in the example in the beginning they use both AutoAssignMountPoint and AssignMountPointUnderPath. If i try that i get another error: New-SmClone : Please provide only one option from AutoAssignMountPoint and AssignMountPointUnderPath. So now i am stuck. My hope is that someone out there have a solution for this. We use SnapCenter 4.6 and the powershell version on the server is 5.1. Regards, Daniel
... View more
Maybe I am missing something, but how do i get XCP to create the source directory on the target? xcp copy vserver1:/volume1/directory1 vserver2:/volume2 this command copies the FILES in directory1 to the ROOT of volume2 on vserver2. I would like the directory1 itself to be copied. Thanks, Moshe
... View more