Ask Your Question

How to backup Fedora 22 that is encrypted?

asked 2015-08-14 18:02:49 -0600

var gravatar image

Can someone please tell me how to go about backing up fedora 22 that uses encryption? I have / in a ext4 partition and /home is encrypted ext4 in another partition.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-14 21:59:05 -0600

aeperezt gravatar image

You can always backup all files once you login to Fedora and have introduce proper password for the encrypted partition with a regular backup.

If you want to backup the entire partition you can use dd but you a disk of same sice or more to create the backup

dd if=/dev/sdX of=/dev/sdY bs=512 conv=noerror,sync

You can change bs=4096 instead of 512 if you use a bigger block size

You can also set of as file of=/path/to/mbr_file.img instead of disk

Hope this give you an idea or introduce enough curisite for you to investigate more.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-08-14 17:45:46 -0600

Seen: 69 times

Last updated: Aug 14 '15