backup گرفتن در لینوکس با tar

Persian Forum

Moderator: zohall

backup گرفتن در لینوکس با tar

Postby zohall on Mon Apr 18, 2011 3:43 am

رای گرفتن بک آپ روش زیر رو برید:

کد:

Code: Select all
sudo su


کد:

Code: Select all
cd /


کد:


Code: Select all
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /


و بعد هم برای restore کردن:

کد:

Code: Select all
tar xvpfz backup.tgz -C /
zohall
Level 3
Level 3
 
Posts: 147
Joined: Tue Jan 18, 2011 4:38 am
Location: www.zohall.org

Linux Mint is funded by ads and donations.
 

Return to فارسی (Persian)

Who is online

Users browsing this forum: No registered users and 2 guests