Name: backupscripts
Owner: SURFsara
Description: Some scripts to back up systems with Duplicity.
Created: 2016-12-15 11:20:13.0
Updated: 2017-11-28 16:48:58.0
Pushed: 2017-12-23 16:48:02.0
Homepage: null
Size: 53
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Some scripts to back up systems.
This script will install the latest greatest Duplicity on RHEL/Centos 7, including lots of dependencies for backends such as Swift and Google Drive.
A wrapper for Duplicity to more easily maintain your Duplicity backups.
/proc
and /tmp
. A notible one is /root/.cache
, which contains lots of Duplicity files that are already in the backup!--report
, generates a report about the backups that have been made--check
, it works as a Nagios/Icinga plugin to check if the latest backup is recent enoughMakes a backup of a running libvirt virtual machine. This is done by making a snapshot, copying that to a rsync compatible location (a /path or hostname:/path), and then cleaning up the snapshot.
--all
.To enable libvirt snapshots, you need a Qemu version from the centos-release-qemu-ev repo.
yum -y install centos-release-qemu-ev
yum -y install qemu-kvm-ev
And then I'm afraid you need to reboot your VM host; a restart of libvirtd
is not enough.
Known issue: