VeeamON 2024 - Use Code "COMMUNITY10" for 10% Off!
hello, Small trick following a bad handling. The objective is to restore on a Windows file server the ACLs of the files without restoring the files.For this we will start by opening the console restore guest files. Once done, click on any file, then explore to find the path to the FLR mount.To get the list of ACLs you can run a single command. This command will save all subfolders and files as a plain text. The text file (acl.txt) will be saved on your current user folder.icacls c:data /save acl.txt /t /cWhere “C:data” is the FLR path, “T” is added to get all subfolders and files on that drive, and “C” allows to ignore all the access errors.If the number of folders and files are too large, then the command will take a long time to complete its execution. At the end of execution, you will get the list of total files which is processed successfully, and the number of files which don’t get success in processing.If you want to restore the lists, execute the following commandIcacls c: /rest
Hello,I'm taking the opportunity right now to work on a like disaster recovery plan like, with Veeam.Once the replica job is up and running, my goal is to be able to trigger a failover if the server's ping is knocked out, so I wrote a little homemade powershell script to do that. If it is useful take it.^^ Clear-HostFunction FailoverCheck{ $server = "SERVER NAME" if (Test-Connection $server -Count 1 -Quiet -ErrorAction SilentlyContinue){ Write-Output "$server connected successfully." }else{ Write-Output "Connection to $server failed." Write-Verbose "Pause for 10 minutes...then try again" -Verbose Start-Sleep -Seconds 5 # set to 600 if (Test-Connection $server -Count 1 -Quiet -ErrorAction SilentlyContinue){ Write-Output "$server connected successfully after 2nd try." }else{ Write-Verbose "Failed again. $server needs restart." -Verbose # Insert Command to restart application here. $RestorePoint
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.