With rsync 3.1.1 (on debian), using the "backup-dir" option creates a tree of
empty folders inside the backup repository. This doesn't affect the transfer
(all files and folder are copied anyway).
Example:
rsync -rtvhPx --delete --stats
--exclude-from=/home
On 6/7/07, Chandra Prabha <[EMAIL PROTECTED]> wrote:
So what ever directory i am giving, it is created in the original
destination path and my backup file is
kept there. How to create backup files outside transfer area?
Specify a backup dir outside the destination area using a --backup-dir
path
Hi,
Thanks for your help.
"--exclude" option is working fine.
But as you told, how to create backup dir outside transfer directory.
I am new to rsync. But as far as i studied, backup can be taken in the
destination dir.
So what ever directory i am giving, it is created in the original
destinati
On Tue, Jun 05, 2007 at 12:41:44PM +0530, Chandra Prabha wrote:
> Backup is taking for the old back up files also.
> So i am getting directories inside directories in a loop.
You should put the backup directory outside of your transfer area or
specify an --exclude=MATCH that excludes it from the t
Hi all,
I am getting problem with --backup-dir option in rsync.
I want to take backup of the file before i am synching the new changes.
I am using -b option. And i am specifying the backup dir and suffix for the
file also.
Backup is taking for the old back up files also.
So i am getting
On 27 Mar 2001, Magdalena Hewryk <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to use --backup-dir=DIR option but it is not working with
> --backup. However --backup & --suffix options work fine.
>
> This is the error I am getting:
> /usr/local/bin/rsync: unrecognized option `--backup-dir=/tmp/l
Hi,
I'm trying to use --backup-dir=DIR option but it is not working with
--backup. However --backup & --suffix options work fine.
This is the error I am getting:
/usr/local/bin/rsync: unrecognized option `--backup-dir=/tmp/logs'
Here is the full syntax I am using:
/usr/local/bin/rsync --rsync-p