Now I present you Universal USB installer.
It is a tool for an automatic creation of bootable USB installations or Live Linux distributions.
It supports a wide array of different Linux distributions and operating systems like Ubuntu, Mint, Debian, Backtrack, Fedora, OpenSUSE, CentOS, Windows Vista/7/8 and some rescue software and utilities like Hiren’s Boot CD, Ultimate Boot CD, DBAN and many others.
The program is very easy to use, you simply plug your USB stick in the computer, run the program, select the desired operating system or utility, select the location of the ISO file (you can also select to automatically download the unnecessary ISO file if you don’t have it) and select the drive letter of the USB stick which you want to make bootable.
With some OS like Ubuntu you will also have a option of setting the size of the persistence file so you can store changes you make to your OS.
Program by default only shows you drive letters for external storage, but If you plug your USB stick after you have run the program, you won’t have the option of selecting it from drop-down menu in step 3, in that case you will either have to mark show all Drives option (be careful not to select the wrong letter), or start the program again.
Here is a small guide how to make a bootable USB pen drive, from a ISO image of Windows setup disk, which you can use to install Windows 7 or Windows 8 on your computer that doesn’t have a DVD drive. The USB stick that is going to be used needs to be at least 4 GB and all the data on it will be erased in the process.
Run the program and point it to the location of your ISO file, I used the Windows 8 RTM evaluation ISO here.
(If you have a .img file you can just rename the .img extension to .iso, or use a converter like ISOBuddy or MagicISO to convert from some other image format to ISO file)
On step 2 choose USB device as the media type.
In step 3 select the drive in which your USB stick is plugged in, press Begin copying and wait for the process to finish.
The tool will reformat your USB stick and put Windows setup files on it.
After it is done you can unplug your stick and install windows on any computer that can boot from a USB ( if a computer is not starting the Windows setup, check your BIOS if it is set to boot from USB before the hard drive).
If you get “We were unable to copy your files. Please check your USB device and the selected ISO file and try again.” error check this post
…or how to backup your Microsoft SQL Server databases when you don’t have any access to the db machine and db servers local storage.
I had to made and automate a backup of one of the databases that I use on my job today, but the problem was that the only acces I had to the database was with using a sql server authentication and I didn’t have all the permissions on the base or the server. So here are the steps how to backup your MS SQL database without the use of third party tools or SQL agent (which you can’t use in Express editions of SQL Server).
This will be accomplished using the sqlcmd utility which is a free tools that you get with your Server of Management Studio installation.
Create a sql script for backup using the BACKUP DATABASE statement, my script looks something like this:
DECLARE @name NVARCHAR(256);
set @name='\\server\shared_folder\your_db_' + CONVERT(VARCHAR(8), GETDATE(), 112) + '.bak'
Backup Database your_db To Disk = @name;
this will create backup file in format of your_db_YYYYMMDD.bak
If you would like a different format of the date check this link for date formats.
Create a bat file that you can put in Task Scheduler, you can put something like this in bat file: