From 85160b9b2f871a016db8607ec5af0f76ba14eb4e Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Fri, 30 Oct 2015 21:01:33 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 40ef66e..290f7cf 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Running zfs_autobackup ---------------------- There are 2 ways to run the backup: -Run the script on the backup server and pull the data from the backupserver specfied by --ssh-source: +Run the script on the backup server and pull the data from the server specfied by --ssh-source. This is usually the preferred way and prevents a hacked server from accesing the backup-data: ``` root@fs1:/home/psy# ./zfs_autobackup --ssh-source root@1.2.3.4 smartos01_fs1 fs1/zones/backup/zfsbackups/smartos01.server.com --verbose --compress Getting selected source filesystems for backup smartos01_fs1 on root@1.2.3.4 @@ -84,4 +84,10 @@ Destroying old snapshots on target All done ``` +Run the script on the server and push the data to the backup server specified by --ssh-target: +``` +./zfs_autobackup --ssh-target root@2.2.2.2 smartos01_fs1 fs1/zones/backup/zfsbackups/smartos01.server.com --verbose --compress +... +All done +```