Book Image

Learning RHEL Networking

By : Andrew Mallett, Adam Miller
Book Image

Learning RHEL Networking

By: Andrew Mallett, Adam Miller

Overview of this book

Table of Contents (18 chapters)
Learning RHEL Networking
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Managing snapshots with snapper


The snapshot command is included on RHEL 7 and can be used to manage snapshots and view their differences with the original data easily. It can be employed along with LVM or btrfs systems.h.

To install snapper, we fall back to RHEL's package management:

# yum install snapper

Currently, there seems to be a bug or feature on SELinux that prevents snapper from working if SELinux is enforced. We could allow the correct SELinux access to our resources by creating a new policy or simply set snapperd_t to a permissive domain. In this way, we can still use the power and security of SELinx, but just have it disabled for snapper as follows:

# semanage permissive -a snapperd_t

At a later date, you can use the -d option to delete the enabled snapper and the SELinux support:

# semanage permissive -d snapperd_t

For the moment, we will leave snapper in the permissive mode and proceed to create a configuration for snapper and our /data/simple/vol1 data:

# snapper -c simple_data...