I had a Windows Backup created with FileHistory but was not able to restore anymore because the DB seamed corrupted. Anyway the files were still there but they had the UTC Timestamp added. So here a script to remove the timestamps:
Before: Test (2017_08_03 13_49_28 UTC).jpg
New: Test.jpg
$regex=" \(\d{4}_\d{2}_\d{2} \d{2}_\d{2}_\d{2} UTC\)"
Get-ChildItem *UTC* -Recurse | Where-Object {$_.Name -match $regex} | Rename-Item -NewName {$_.Name -replace $regex} -Verbose
Warning: As always, use it on your own risk. If you should have the same file with multiple timestamps then you need to extend the script a bit. This one just works with unique files with timestamp.
admin on March 28th 2018 in IT, PowerShell, Windows, Windows Server
Today I uninstalled True Image Agent on a Windows 2008 Server and I ended up with a BlueScreen. You can actually boot up with a windows CD and edit the registry or even better you remove this entries in advance.
HLKM\System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}
HLKM\System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}
In the UpperFilters key remove the text:
snapman for TrueImage
r1fltr for r1soft CDP Backup
I could imagene that this causes also trouble with other systems. So the same solution should work for this as well.
admin on May 25th 2011 in IT, Windows, Windows Server
Command Prompt Command:
> Vssadmin List Providers
In the registry you will find them here:
HK\LM\System\Currentcontrolset\services\VSS\Providers
I had some trouble with our Backup System today and noticed that that another VSS was installed. After removing the Acronis Registy entry it worked like a charm.
admin on February 24th 2010 in IT, Windows, Windows Server
Today I want to introduce to you a great tool with which you can make disk images during the time your OS is running. It is just about 250 KB big and you don’t even need to install it. It’s a dream. It belongs to all administrators pocket.
The name of the program is snapshot and can be downloaded here:
http://www.drivesnapshot.de/
admin on October 28th 2009 in IT, Windows, Windows Server
I had to backup and restore a MySQL database on a debian linux machine to another server at work. First I tried to do it trough phpmyadmin which is not very efficient when it comes to big db. So I decided to do it through the MySQL command prompt.
Backup all dbs command into a dump file
mysqldump -u root -p –all-databases > xxxxxxx.sql
Restore all dbs command from a dump file
mysql –f -u root -p < xxxxxxx.sql
Of course you need to replace x with the filename you would like to use.
As always… it worked for me but there is no warranty. You need to decide yourself if you want to use it!
admin on May 4th 2008 in MySQL