rss
email
twitter
facebook

Tuesday

Backup Ubuntu

This topic will help you to backup your Ubuntu System and Restore from where it was!!!

To do this, become root with
Code:
sudo su
and go to the root of your file system (we use this in our example, but you can go anywhere you want your backup to end up, including remote or removable drives.)
Code:
cd /
Now, below is the full command I would use to make a backup of my system:

Code:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
the file backup.tgz in the root of the partition.

Now to Restore Ubuntu:

ode:
 tar xvpfz backup.tgz -C /

Restore Grub Loader in case you formatted your system cant recovered Ubuntu:

Here are the steps:

1. Boot your computer up with Ubuntu CD
2. Go through all the process until you reach "[!!!] Disk Partition"
3. Select Manual Partition
4. Mount your appropriate Linux partitions

/
/boot
swap
.....

5. DO NOT FORMAT THEM.
6. Finish the manual partition
7. Say "Yes" when it asks you to save the changes
8. It will give you errors saying that "the system couldn't install ....." after that
9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
10. Jump to "Install Grub ...."
11. Once it is finished, just restart your computer

No comments:

Ubuntu User #

The Ubuntu Counter Project - user number # 1713
Loading...

coutner