UnixServerAdmin

Server Administration & Management

backup_via_network.bat

@echo off

REM ———
REM BACKUP
REM ———
ECHO ——————————————————-
ECHO CLOSE ALL PROGRAMS and APPLICATIONS NOW!!
ECHO ——————————————————-
ECHO.
ECHO Your hard drive is about to be searched for Documents,
ECHO Databases, Spreadsheets, and Email storage files.
ECHO.
ECHO All files of these types will be saved to
ECHO your REMOVABLE DEVICE in their original
ECHO directories\folders.
ECHO.
ECHO This will replace any previous backup on the
ECHO removable drive.
ECHO.

pause

set mm=%date:~4,2%
set dd=%date:~7,2%
set yy=%date:~10,4%
net use \\192.168.1.2
md \\192.168.0.2\backup\%mm%-%dd%-%yy%
xcopy c:\backup\data\* \\backup\datasrv\%mm%-%dd%-%yy% /e

May 27, 2013 Posted by | Shell Script, Windows | , | Leave a comment

backup_via_date.bat

cd c:\
set mm=%date:~4,2%
set dd=%date:~7,2%
set yy=%date:~10,4%
md e:\backup\%mm%-%dd%-%yy%
xcopy c:\backup\* e:\backup\%mm%-%dd%-%yy% /E /F /H

May 22, 2013 Posted by | Shell Script, Windows | , | Leave a comment

backup_all_drive.bat

set mm=%date:~4,2%
set dd=%date:~7,2%
set yy=%date:~10,4%
md e:\backup\%mm%-%dd%-%yy%
xcopy c:\backup\data\*   e:\backup\%mm%-%dd%-%yy% /e

May 17, 2013 Posted by | Shell Script, Windows | , | Leave a comment

RAID Levels

RAID_0 RAID_1RAID_0+1RAID_10RAID_5RAID_50   RAID_60RAID_6

May 12, 2013 Posted by | RAID, Tips & Tricks | , | Leave a comment

RAID Disk Space Calculator

Raid 0 (Stripe)

Raid 1 (Mirror) — 2 Drives

Raid 5 (Drives with Parity) — Minimum 3 Drives

Raid 6 (Drives with Double Parity) — Minimum 4 Drives

Raid 10 (Mirror+Stripe) or 0+1 (Stripe+Mirror) — Minimum 4 Drives

Raid 50 (Parity+Stripe) — Minimum 6 Drives

Raid 60 (Double Parity+Stripe) — Minimum 8 Drives

May 7, 2013 Posted by | RAID, Tips & Tricks | , | 2 Comments

Protected: RAID Types – 0, 1, 5, 6, 0+1, 10, 50, 60

This content is password protected. To view it please enter your password below:

May 2, 2013 Posted by | RAID, Tips & Tricks | , | Enter your password to view comments.