Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Backup your Linux system

It is one of the easiest way to take full backup of your Linux system.

Switch to the root user

$ sudo su

your password

now start taking the backup in tar file

# tar cvpzf backup.tgz –exclude = /proc –exclude = /lost+found –exclude = /backup.tgz –exclude =/mnt –exclude= /sys /

If you have problem of space then try tar cvpjf backup.tar.bz2 and rest remains same.

 

For restoration

#tar xvpfz backup.tgz -C /

or if you are using  bz2 use

#tar xvpfj backup.tar.bz2 -C /

now this tar file can easily be copied and moved

enjoy 😛

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home