It always helps for me to drop back to the bare minimum when setting up new
rsync scripts, and then add options as needed once I'm happy with the paths
for my new backup/mirror routine.

Try sticking to -rvh
-r for recursive
-v for verbose
-h for human readable numbers... MB instead of bytes... that sort of thing

-a is actually a shortcut for -rlptgoD. Since each of those letters do
something different you need to go through each one in the manpage to see
what it does. just using -r is good enough for most basic use cases, but in
the long run you'll want to use -a for permissions reasons. Once you figure
out where it's failing.

Also note that you are using --delete which creates more of a mirror than a
backup. Try running a backup with minimal options to make sure that works,
then add options 1 by 1 until it starts choking again.
$ rsync -rvh /home/jjj/ /media/jjj/Data/Home/

Since -a actually does a bunch of stuff all in one option it's hard to tell
which of those features is getting in the way.



On Sat, Jan 25, 2020 at 10:17 AM John Jason Jordan <[email protected]> wrote:

> On Sat, 25 Jan 2020 08:43:34 -0800 (PST)
> Paul Heinlein <[email protected]> dijo:
>
> >rsnapshot does something similar:
> >
> >   https://github.com/rsnapshot/rsnapshot
>
> I looked at it, but I think I can accomplish what I want to do with
> just rsync and cron. Rsnapshot looks like overkill for me.
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to