diff --git a/README.md b/README.md index b20af17..28c3ede 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,7 @@ First create a btrfs subvolume on the backup server: In your daily cron script, prior to running btrbk, sync your source to `myhost_sync`, something like: - rsync -a --delete -e ssh myhost.mydomain.com://data/ /mnt/btr_backup/myhost_sync/ + rsync -a --inplace --delete -e ssh myhost.mydomain.com:/data/ /mnt/btr_backup/myhost_sync/ Then run btrbk, with myhost_sync configured *without any targets* as follows: diff --git a/contrib/cron/btrbk-mail b/contrib/cron/btrbk-mail index 60c940d..52f4852 100755 --- a/contrib/cron/btrbk-mail +++ b/contrib/cron/btrbk-mail @@ -32,7 +32,7 @@ rsync_src[example_data]=user@example.com:/data/ rsync_dst[example_data]=/mnt/backup/example.com/data/ rsync_log[example_data]=/mnt/backup/example.com/data-${now}.log rsync_key[example_data]=/mnt/backup/ssh_keys/id_rsa -rsync_opt[example_data]="-az --delete" +rsync_opt[example_data]="-az --inplace --delete" # Enabled rsync declarations (space separated list) #rsync_enable="example_data"