* 백업123456789ssh root@백업대상서버 "tar 2>/dev/null -cpf - / \ --exclude=/lost+found \ --exclude=/mnt \ --exclude=/proc \ --exclude=/srv \ --exclude=/sys \ --exclude=/tmp \ --exclude=/boot" \ | cat > 백업대상서버_$(date +%Y-%m-%d).tarcs * 복원1cat 백업대상서버_2017-02-22.tar | ssh user@host "tar xf - -C /"cs
1234567891011Colored by Color Scriptercs
123456789101112131415Colored by Color Scriptercs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374Function RegExpTest(Pattern, Str) Dim RegExp SET RegExp = New RegExp RegExp.Pattern = Pattern RegExp.IgnoreCase = True RegExpTest = RegExp.Test(Str) SET RegExp = NothingEnd Function Function in_array(element, arr) in_array = False For i=0 To Ubound(arr) If Tr..
1234567891011121314151617181920212223242526272829303132333435 function recurse_copy($src,$dst,$overwrite=TRUE) { $dir = opendir($src); @mkdir($dst); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' )) { if ( is_dir($src . '/' . $file) ) { recurse_copy($src . '/' . $file,$dst . '/' . $file, $overwrite); } else { if($overwrite) { copy($src . '/' . $file,$dst . '..
- Total
- Today
- Yesterday
- monitoring
- Linux
- Python
- engineering
- 코드
- 외부링크
- Module
- PowerShell
- Ansible
- configuration
- error
- code
- apache
- File
- 번역
- 이슈처리
- 예제
- deview
- limits
- check
- MariaDB
- Web
- Windows
- httpd
- RESTful
- command
- 명령어
- example
- mysql
- client
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |