rsync-time-backup icon indicating copy to clipboard operation
rsync-time-backup copied to clipboard

Using rsync-time-backup openwrt, works but some minor problems

Open xifi-kif opened this issue 3 years ago • 1 comments

I'm testing it on openwrt version 19.07.4

What you need:

I'm running a backup of 40 GB through ssh for testing purpose.

It seems to work pretty well, so far I find two minor problems. from the log:

This rsync lacks old-style --compress due to its external zlib.  Try -zz.
Continuing without compression.

rsync seems to lack the --compress option

root@OpenWrt:~# rsync --version
rsync  version 3.1.3  protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    no socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, no ACLs, no xattrs, iconv, symtimes, prealloc

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

openwrt has dropbear for ssh by default which I don't think is compatible with some openssh options this script uses, still it ignores those options and works. (I'm trying with password, instead of ssh keys, since I'm on LAN)

from the log

ssh: Ignoring unknown configuration option 'StrictHostKeyChecking=no'
ssh: Ignoring unknown configuration option 'UserKnownHostsFile=/dev/null'

xifi-kif avatar Sep 24 '20 16:09 xifi-kif

The minor problems where fixed by mounting the source destination before runnning the backup, instead of running rsync trough ssh. Also rsync --compression warning went away.

xifi-kif avatar Sep 25 '20 08:09 xifi-kif