Utility of --backup

Dan Stromberg drsalists at gmail.com
Mon Jul 19 13:55:44 UTC 2021

In Backup.rsync, which of course is a wrapper around rsync that can be used
for backups, I do not use --backup, but I do use --link-dest:

On Sun, Jul 18, 2021 at 11:13 PM Lisa via rsync <rsync at lists.samba.org>

> I would like some feedback about the --backup option in rsync. Is
> it worth using it for backups, or should I just use rsync
> commands that just transfer files without the use of --backup
> option?
> -b, --backup      make backups (see --suffix & --backup-dir)
> --backup-dir=DIR  make backups into hierarchy based in DIR
> --suffix=SUFFIX   backup suffix (default ~ w/o --backup-dir)
> I am somewhat hesitant to use it because with the backup option,
> preexisting destination files are renamed as each file is
> transferred or deleted. It also says that previously backed-up
> files could get deleted.  Thusly I need some assistance
> understanding all the pros and cons.
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20210719/34eaf1f1/attachment.htm>

More information about the rsync mailing list