Tuesday, December 3, 2019

Fix Veeam Backup Error VSSControl -2147212529

1. Login to the VM and run Powershell or CMD prompt from an administrator-level login.

2. Run vssadmin list providers

3. (FYI. This is for VMware or Nutanix Acropolis VM's, not Hyper-V)...

Anyway...you will see this a reference to Hyper-V:

"Hyper-V IC Software Shadow Copy Provider"

Open up regedit and delete the key:

@="Hyper-V IC Software Shadow Copy Provider"

4. Reboot the server.

5. Kick off the backup again and it will run. Thank you Micro$oft for buying your Hyper-V components into the OS so deeply...good grief.

Reference Article: https://www.veeam.com/kb1785

Check Problems on Multiple Windows Servers with PowerShell

1. On Linux create a file with vi and hit "i" on the keyboard and paste the data in. On Windows create a file and save it with "All Files" and put .ps1 as the extension. Powershell on Linux does not have the get-eventlog command.

2. Don't forget to change the hostname or point to the file with the list of hostnames:

$logs = get-eventlog system -ComputerName typemyservername -source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7);
$res = @(); ForEach ($log in $logs) {if($log.instanceid -eq 7001) {$type = "Logon"} Elseif ($log.instanceid -eq 7002){$type="Logoff"} Else {Continue} $res += New-Object PSObject -Property @{Time = $log.TimeWritten; "Event" = $type; User = (New-Object System.Security.Principal.SecurityIdentifier $Log.ReplacementStrings[1]).Translate([System.Security.Principal.NTAccount])}};



Thursday, November 14, 2019

How to Install the Veeam Agent for Linux on Ubuntu Linux

1. You can run a test on an Ubuntu server VM on VMware Workstation or via Virtualbox.

2. Download the free edition for Veeam for Linux agent (Note: The agent relies on Veeam Snap, so you need to install both).

Public Repository: http://repository.veeam.com/.private/deb/ (RPM or Deb Package managers)

*Instructions: https://helpcenter.veeam.com/docs/agentforlinux/userguide/installation_offline.html?ver=30#deb

There is a depedency on dkms. Run which dkms on your server CLI to verify that it is installed. You will get a response /usr/sbin/dkms if it is installed.

If it is not installed run sudo apt-get install dkms - y

3. Create a folder for veeam under /opt

4. sudo wget http://repository.veeam.com/.private/deb/veeamsnap/veeamsnap_3.0.2.1185_all.deb
5. sudo wget http://repository.veeam.com/.private/deb/veeam/veeam_3.0.2.1185_i386.deb

FYI. If you use the links here https://www.veeam.com/linux-backup-free-download.html it will give you version 1.0 etc of the application. Grab the latest version directly from the repositories instead so you have the latest release.

6. sudo dpkg -i ./veeamsnap* && sudo dpkg -i ./veeam*

7. After installation run sudo veeam and then it will open the prompt for the location you want to store you backup.

8. Hit "C" on your keyboard to configure the backups.

9. After you click "C". Name your backup job and finish the configurations. FYI for you Windows dudes...there is no mouse. You have to use the keyboard tab key.

10. Finish the configurations. Identify your Veeam Repository or you can backup to a location of your choice.

11. After you finish identifying your location (AWS S3, Google Cloud Bucket, etc). Run your backup.

12. Recover your backup into AWS and Bam! Done.

13. Veeam CLI commands:

sudo veeam
sudo veeamconfig (shows a list of commands)

command reference on the man page. Run 'man veeamconfig'

check previous sessions: sudo veeamconfig session list


Linux Agent Errors:


Wednesday, November 13, 2019

Web URL Spaces

The following character set is for spaces in URL addresses since website URL addresses cannot have spaces by protocol.

%20 this is used in the case of a space of a web URL

Thursday, October 24, 2019

How to Cleanup the WinSXS (Windows Update Folder)

1. Open Command prompt as an administrator

2. run the following commands in command prompt or powershell.

3. Run the analyzer: dism.exe /online /Cleanup-Image /AnalyzeComponentStore

4. Enter the command: Dism.exe /online /Cleanup-Image /StartComponentCleanup

5.  Dism.exe /online /Cleanup-Image /StartComponentCleanup

If you need to manually clean that sucker up. Then go to the following folder and delete all files older than 1 year.


Caution: Be careful not to delete the "Backup" Folder: C:\windows\WinSXS\Backup

Absolute Kill Option. Seriously. Be careful if it's running a critical application. This is a RGE (Resume Generating Event)

6. Stop all running services

7. Remove-Item -path c:\Windows\WinSXS\* -Force

If you didn't kill the server. Rejoice. If you did (and your on VMware), roll back the snapshot

Monday, July 29, 2019

How to Configure System Logging on VMware ESXi 6.7

Go to Configure - > Advanced System Settings

Click on "Edit.."

Search syslog.global

Enter your LUN: [LUN NAME]/ folder name

Click Ok.

Quick and Easy folks...

Reference Articles:

Wednesday, April 17, 2019