[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] help with command line

From: Jakob Unterwurzacher
Subject: Re: [rdiff-backup-users] help with command line
Date: Mon, 07 Jun 2010 18:48:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100423 Thunderbird/3.0.4

On 07/06/10 16:54, Steven Adeff wrote:
> $ rdiff-backup -v 9 --no-carbonfile --remove-older-than 14D
> --include-globbing-filelist
> /media/storage/1/scripts/rdiff-music.include
> --exclude-globbing-filelist
> /media/storage/1/scripts/rdiff-music.exclude
> /media/storage/2/Music/Music/ /media/storage/1/Music
> Mon Jun  7 10:52:49 2010  Using rdiff-backup version 1.2.8
> Mon Jun  7 10:52:49 2010  Fatal Error: Wrong number of arguments given.
> See the rdiff-backup manual page for more information.
> if I remove the --remove-older-than 14D part it works fine, but as far
> as I can tell from the man file I'm using the command correctly?

The man page says

>        rdiff-backup      [options]      address@hidden::source_directory]
>        address@hidden::destination_directory]
>        rdiff-backup  {{  -l  |  --list-increments  }   |   --remove-older-than
>        time_interval  |  --list-at-time  time  |  --list-changed-since  time |
>        --list-increment-sizes   |   --verify    |    --verify-at-time    time}
>        address@hidden::destination_directory]

What this means is that you can only do
 rdiff-backup [options] <source> <dest>
 rdiff-backup --remove-older-than <dest>

Means, you'd do the backup first and then call rdiff-backup once more
with remove-older-than:
 rdiff-backup --remove-older-than 14D /media/storage/1/Music


reply via email to

[Prev in Thread] Current Thread [Next in Thread]