This commit is contained in:
Edwin Eefting
2019-02-03 20:38:26 +01:00
parent d1fe00aee2
commit c253a17b75
2 changed files with 7 additions and 10 deletions

View File

@ -6,8 +6,8 @@ Introduction
ZFS autobackup is used to periodicly backup ZFS filesystems to other locations. This is done using the very effcient zfs send and receive commands. ZFS autobackup is used to periodicly backup ZFS filesystems to other locations. This is done using the very effcient zfs send and receive commands.
It has the following features: It has the following features:
* Automaticly selects filesystems to backup by looking at a simple ZFS property. * Automaticly selects filesystems to backup by looking at a simple ZFS property. (recursive)
* Creates consistent snapshots. * Creates consistent snapshots. (takes all snapshots at once, atomic.)
* Multiple backups modes: * Multiple backups modes:
* "push" local data to a backup-server via SSH. * "push" local data to a backup-server via SSH.
* "pull" remote data from a server via SSH and backup it locally. * "pull" remote data from a server via SSH and backup it locally.
@ -23,6 +23,7 @@ It has the following features:
* Easy installation: * Easy installation:
* Only one host needs the zfs_autobackup script. The other host just needs ssh and the zfs command. * Only one host needs the zfs_autobackup script. The other host just needs ssh and the zfs command.
* Written in python and uses zfs-commands, no 3rd party dependencys or libraries. * Written in python and uses zfs-commands, no 3rd party dependencys or libraries.
* No seperate config files or properties. Just one command you can copy/paste in your backup script.
Usage Usage
==== ====

View File

@ -1,9 +1,5 @@
#!/usr/bin/env python2 #!/usr/bin/env python2
# -*- coding: utf8 -*- # -*- coding: utf8 -*-
from __future__ import print_function from __future__ import print_function
import os import os
import sys import sys