Submitted by itefix on Mon, 07/08/2017 - 21:26
The script below can be used to implement an efficient, secure and live backup of QEMU/KVM/libVirt virtual machines via Duplicity. It accepts the domain name and mode (snapshot/suspend) parameters and can handle offline domains and multiple disks as well. XML domain definition is also made as a part of the backup. The Duplicity part is configured for an sftp transfer in our example, but can be adjusted for other types of operations Duplicity supports.
Submitted by itefix on Fri, 23/06/2017 - 10:53
If you have a Windows folder structure with many non-inherited folders, it may be necessary to give a group of users access to read permissions only, to meet requirements from help desk or staff monitoring compliance. Assuming that you have administrator access to the Windows computer, the Powershell-based recipe below may help you:
Pre-work:
Submitted by itefix on Mon, 27/04/2015 - 12:10
Submitted by itefix on Mon, 07/07/2014 - 09:18
You may experience that your domain users start to complain about not being able to access to their own files/documents in home folders. The problem could be triggered by a help desk or a file migration operation, and it may be solved by fixing/resetting permissions. Here is a recipe:
Submitted by itefix on Fri, 05/04/2013 - 11:23
Sometimes it may be necessary to instruct your system not to use a specific drive letter for use by removable storage units like USB memory sticks, card readers or hard drives. As an example, your setup may contain network drive mappings relying on availability of specific letters. The Visual Basic script below takes a drive letter as a parameter, checks if it is mounted as a removable disk and move the letter to the next available letter.