V
V
Vyacheslav Vasiliev2014-12-17 23:25:11
Backup
Vyacheslav Vasiliev, 2014-12-17 23:25:11

How to restore Ubuntu 14.04 via Grub?

Recently encountered lousy situations!
Already knurled system (workhorse) broke off after the next update!
Now asked a question. How to correctly make a backup, so that when I start the PC - I give out the item to unzip the backup.
The system is Ubuntu Mate 14.04 and there is a stock Deja Dup. Now I'm doing a full backup "/".
Will it show up in GRUBe?
Why do I need GRUBe: when my system crashed, I just stupidly could not log into ubuntu. Black screen. Google didn't help. 2 days fought. For some reason, safe mode didn't work. Therefore, I decided to overwrite my system and reinstall it.
I just want to be safe!
Looking forward to some real advice!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
ldv, 2014-12-18
@ldvldv

www.tutonics.com/2012/12/lvm-guide-part-2-snapshot...

A
Armenian Radio, 2014-12-18
@gbg

ReaR is designed specifically for this .

N
Nazar Mokrinsky, 2014-12-18
@nazarpc

Provided that the disk is intact, you can use the BTRFS file system and create snapshots periodically so that the latter always has the same name. In a separate GRUB item, add booting the same Ubuntu with a sub-volume (subvolume) of the last snapshot (that is, simply specifying the path from the root of the file system to your snapshot).
It takes 30 minutes to set up (to figure out what's what), it works reliably.
In general, this is:
1) A separate menu item with a root_backup sub-volume
2) If necessary, create a snapshot / root_backup (or delete the old one, or rename it, or something else)
3) Profit, there will always be an opportunity to boot into the system before updating
Removing the old one , creating a new snapshot:

sudo btrfs subvolume delete /root_backup
sudo btrfs subvolume snapshot / /root_backup

In the kernel boot options, just add subvol=root_backup (you can not add a menu item, just remember and add if necessary).
I also recommend moving it to a separate sub-volume /home, visually everything will work the same, but it will not be backed up, which means your modified files in the home folder will become (you can also take snapshots separately from the root, also useful).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question