>From what I understand `--backup-dir` uses a hierarchical backup. And
>`--suffix` appends the value
in `--suffix` to the end of each file.
What happens when one specifies both `--backup-dir` and `dest`. Is
`--backup-dir` a replacement to
`dest`, or not ?
From: Charles
To:
From: Charles
To: lisa-as...@perso.be;
rsync@lists.samba.org
Subject: Re: Utility of --backup
Date: 20/07/2021 02:37:50 Europe/Paris
> And let me do what you suggest. What is the difference, and is --backup
> better than the other ?
Only in conjunction with -backup-dir, for example
--backup
From: Charles via rsync
To: rsync@lists.samba.org
Subject: Re: Utility of --backup
Date: 19/07/2021 14:26:59 Europe/Paris
>IThe --backup option is great for creating "rolling full" backups which
>look exactly like the backed up tree except for the existence of the
>backup directory
I am not
: rsync@lists.samba.org
While this doesn't directly answer your question, you might find
https://linuxconfig.org/how-to-create-incremental-backups-using-rsync-on-linux
useful, depending on your actual goals.
On Mon, Jul 19, 2021 at 07:50:34AM +0200, Lisa via rsync wrote:
> I would like some feedb
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