수정1● 간단 pe부팅 CMD 명령으로 간단 Ghost 안전백업 명령어 잠자기전에 실행 하세요
♨ 카랜더 일정 :
2021년12월18일
본문
● 간단 pe부팅 CMD 명령으로 간단 Ghost 안전백업 명령어 잠자기전에 실행 하세요
완료후 전원 off 됩니다.
다음기준 HDD
▶ 명령어
- cmd 명령 한글 깨짐 chcp 65001 적용
- 바로 자신의 드라이브 디랙토리 지정함니다,
@echo OFF
chcp 65001
echo today %date%
pause
echo ------------- k:ghost64backupghost.cmd------------------
echo k: __ghost_backup???? %date% 백업 됩니다
echo 하기 set 부분를 자신의 드라이브에 맞게 변경 하세요
dir
echo ==================================================
echo 1.Continue( Drive Name ? ) or 2.Stop ( Ctrol +C ) ....
echo ==================================================
echo 드라이브 지정명령으로 변경시 set /p dn= backup Drive Name k ?:
set "dn=k"
set "dir1=0__ghost_backup"
set "dir2=win11_ghost_backup"
echo mkdir %dn%:%dir1%%dir2%_%date% 생성 됩니다.
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_1_EFI_100m_%date%.gho
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_2_MSR_128M_%date%.gho
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_3_Win11__250g_%date%.gho
md %dn%:%dir1%%dir2%_%date%
dir %dn%:%dir1%%dir2%_%date%
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter3
echo ==================================================
pause
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter2
echo ==================================================
pause
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter1
echo ==================================================
pause
Ghost64.exe -clone,mode=pdump,src=1:1,dst=%dn%:%dir1%%dir2%_%date%ssd1_1_EFI_100m_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
Ghost64.exe -clone,mode=pdump,src=1:2,dst=%dn%:%dir1%%dir2%_%date%ssd1_2_MSR_128M_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
Ghost64.exe -clone,mode=pdump,src=1:3,dst=%dn%:%dir1%%dir2%_%date%ssd1_3_Win11__250g_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
shutdown /s /f /t 360
pause
pause
pause
echo shutdown Stop Enter
shutdown /a
@echo OFF
chcp 65001
echo today %date%
pause
echo ------------- k:ghost64backupghost.cmd------------------
echo k: __ghost_backup???? %date% 백업 됩니다
echo 하기 set 부분를 자신의 드라이브에 맞게 변경 하세요
dir
echo ==================================================
echo 1.Continue( Drive Name ? ) or 2.Stop ( Ctrol +C ) ....
echo ==================================================
echo 드라이브 지정명령으로 변경시 set /p dn= backup Drive Name k ?:
set "dn=k"
set "dir1=0__ghost_backup"
set "dir2=win11_ghost_backup"
echo mkdir %dn%:%dir1%%dir2%_%date% 생성 됩니다.
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_1_EFI_100m_%date%.gho
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_2_MSR_128M_%date%.gho
echo file make to %dn%:%dir1%%dir2%_%date%ssd1_3_Win11__250g_%date%.gho
md %dn%:%dir1%%dir2%_%date%
dir %dn%:%dir1%%dir2%_%date%
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter3
echo ==================================================
pause
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter2
echo ==================================================
pause
echo ==================================================
echo ...Local Partision to images backup ,,,,,,ok Enter1
echo ==================================================
pause
Ghost64.exe -clone,mode=pdump,src=1:1,dst=%dn%:%dir1%%dir2%_%date%ssd1_1_EFI_100m_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
Ghost64.exe -clone,mode=pdump,src=1:2,dst=%dn%:%dir1%%dir2%_%date%ssd1_2_MSR_128M_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
Ghost64.exe -clone,mode=pdump,src=1:3,dst=%dn%:%dir1%%dir2%_%date%ssd1_3_Win11__250g_%date%.gho -z3 -sure
dir %dn%:%dir1%%dir2%_%date%
shutdown /s /f /t 360
pause
pause
pause
echo shutdown Stop Enter
shutdown /a
파일 저장 합니다
------------------------------
k:\ghost64_cmd.zip
<복원 명령어>
복원 cmd 파일은 자신의 드라이브 위치에 따라 상이 합니다.
주) 자신의 드라브조건을 ghost 실행 확인 하세요
Ghost64.exe -clone,mode=prestore,src=4:2:경로(드라이브명 없이 파일경로):1,dst=1:2
src=4:2:경로(드라이브명 없이 파일 경로):1
는 소스 위치 ghost로 경로 확인 (ghot 실행 백업설정에서 파티션 위치 확인)
dst=1:2
는 복사 위치 는 ghost로 경로 확인 (ghot 실행 백업설정에서 파티션 위치 확인)
메인 복원전 60 분 shutdown /s /f /t 3600 적용 복원 합니다.
--------------------------------------------
자동화 파일로 하나씩 확인 자신의 복원경로 확인 가능 합니다.
============================================
@echo OFF
chcp 65001
shutdown /a
echo today %date%
echo .......Recovery_ghost file........
pause
echo ------------- k:ghost64recovery_ghost.cmd------------------
echo recovery_ghost file check........
set "dn=k"
set "dir1=0__ghost_backup"
set "dir2=win11_ghost_backup"
dir dir %dn%:%dir1%
echo ==================================================
echo 1.Continue( Enter ) or 2.Stop ( Ctrol + C ) ....
echo ex1)k: __ghost_backupwin11_ghost_backup_2021-12-18
echo ==================================================
echo ex2)input dir-name ..date :2021-12-18
echo ==================================================
echo ex3)input dir-name : %dn%:%dir1%%dir2%_%date%
echo ==================================================
set /p dd= recovery_ghost_Dir-name-date_input %dn%:%dir1%%dir2%_
echo ==================================================
echo %dn%:%dir1%%dir2%_%dd% recovery_ghost.
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho
echo %dn%:%dir1%%dir2%_%dd%
dir %dn%:%dir1%%dir2%_%dd%
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter3
echo ==================================================
pause
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter2
echo ==================================================
pause
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter1
echo ==================================================
echo 자신의 HDD 조건에 맞게 Ghost를 from to images 를 직접 복원 하세요
echo 연속 단계에서 확인 단계로 확인 진행 합니다......
echo 1:1 recovery..Continue.ok
pause
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho:1,dst=1:1
dir %dn%:%dir1%%dir2%_%dd%
echo 1:2 recovery..Continue.ok
pause
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho:1,dst=1:2
dir %dn%:%dir1%%dir2%_%dd%
shutdown /s /f /t 3600
echo shutdown /s /f /t 3600 ..60*60 =60min ,,,,,,,,,,,,Running
echo 1:3 recovery..Continue....dst=1:3.ok
pause
echo Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho:1,dst=2:4
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho:1,dst=1:3
dir %dn%:%dir1%%dir2%_%dd%
echo shutdown /s /f /t 3600 ..60*60 =60min ,,,,,,,,,,,,Running
echo shutdown Stop to Enter
pause
echo shutdown Stop to Enter
pause
shutdown /a
@echo OFF
chcp 65001
shutdown /a
echo today %date%
echo .......Recovery_ghost file........
pause
echo ------------- k:ghost64recovery_ghost.cmd------------------
echo recovery_ghost file check........
set "dn=k"
set "dir1=0__ghost_backup"
set "dir2=win11_ghost_backup"
dir dir %dn%:%dir1%
echo ==================================================
echo 1.Continue( Enter ) or 2.Stop ( Ctrol + C ) ....
echo ex1)k: __ghost_backupwin11_ghost_backup_2021-12-18
echo ==================================================
echo ex2)input dir-name ..date :2021-12-18
echo ==================================================
echo ex3)input dir-name : %dn%:%dir1%%dir2%_%date%
echo ==================================================
set /p dd= recovery_ghost_Dir-name-date_input %dn%:%dir1%%dir2%_
echo ==================================================
echo %dn%:%dir1%%dir2%_%dd% recovery_ghost.
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho
echo %dn%:%dir1%%dir2%_%dd%
dir %dn%:%dir1%%dir2%_%dd%
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter3
echo ==================================================
pause
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter2
echo ==================================================
pause
echo ==================================================
echo file : %dn%:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho
echo ==================================================
echo ...images to Local Partision Recovery file check ,,,,,,ok Enter1
echo ==================================================
echo 자신의 HDD 조건에 맞게 Ghost를 from to images 를 직접 복원 하세요
echo 연속 단계에서 확인 단계로 확인 진행 합니다......
echo 1:1 recovery..Continue.ok
pause
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_1_EFI_100m_%dd%.gho:1,dst=1:1
dir %dn%:%dir1%%dir2%_%dd%
echo 1:2 recovery..Continue.ok
pause
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_2_MSR_128M_%dd%.gho:1,dst=1:2
dir %dn%:%dir1%%dir2%_%dd%
shutdown /s /f /t 3600
echo shutdown /s /f /t 3600 ..60*60 =60min ,,,,,,,,,,,,Running
echo 1:3 recovery..Continue....dst=1:3.ok
pause
echo Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho:1,dst=2:4
Ghost64.exe -clone,mode=prestore,src=4:2:%dir1%%dir2%_%dd%ssd1_3_Win11_250g_%dd%.gho:1,dst=1:3
dir %dn%:%dir1%%dir2%_%dd%
echo shutdown /s /f /t 3600 ..60*60 =60min ,,,,,,,,,,,,Running
echo shutdown Stop to Enter
pause
echo shutdown Stop to Enter
pause
shutdown /a
이후 하나씩 확인 하면서 진행은 Enter 입니다.
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
뷰PDF 1,2
office view
관련자료
-
링크
-
첨부
댓글목록
![profile_image](https://11q.kr:443/www/data/member_image/ci/cib000.gif?1539864949)
빨강모자님의 댓글
![no_profile](https://11q.kr:443/www/img/no_profile.gif)
수고해주셔서 감사합니다.
![profile_image](https://11q.kr:443/www/data/member_image/ss/ss1145.gif?1588261899)
11qkr님의 댓글의 댓글
![](https://11q.kr:443/www/data/member/ss/ss1145.gif?1479800520)
주) 1차 받으신 자료는 복구모드가 자동으로 않되네요 ...명령어 잘못됬음
수정1)로 변경 다운 받으세요
![profile_image](https://11q.kr:443/www/img/no_profile.gif)
형발이님의 댓글
![no_profile](https://11q.kr:443/www/img/no_profile.gif)
수고하셨습니다.
![profile_image](https://11q.kr:443/www/img/no_profile.gif)
♥간단_메모글♥
-
등록일 04.15가입 인사드립니다.댓글 4
-
등록일 04.09가입인사.댓글 3
-
등록일 03.03안녕하세여댓글 1
-
등록일 02.13
최근글
-
등록일 08.21
-
등록일 08.20
새댓글
-
등록자 갱참치 등록일 08.22
-
등록자 정션 등록일 08.22
-
등록자 더원화이트 등록일 08.22
-
등록자 kimsaan 등록일 08.22
-
등록자 metascape 등록일 08.21
오늘의 홈 현황
QR코드
☞ QR코드 스캔은 kakao앱 자체 QR코드