Re: difficulty restoring from an earlier version

Eric Beversluis via Any discussion of rdiff-backup <[email protected]> Sat, 10 May 2025 17:41:22 -0400
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
On 5/10/25 09:51, Robert Nichols via Any discussion of rdiff-backup wrote:
> On 5/9/25 06:48, Lynn Underwood via Any discussion of rdiff-backup wrote:
>> I'm having difficulty restoring my /var/www/html rdiff-backup 
>> increment as of March 4:
>>
>>
>> eric@fedora:/run/media/eric$ sudo rdiff-backup restore --at 
>> 2025-05-04 "run/media/eric/backup 202025-02/XPS-2025-02/var/www/html" 
>> /var/www/html
>> [sudo] password for eric:
>> WARNING: Server will be called with deprecated command line interface 
>> to guarantee compatibility. It might lead to a deprecation warning 
>> from newer rdiff-backup versions. Use '--api-version 201' (or higher) 
>> to avoid it.
>> ERROR: Path 'run/media/eric/backup 
>> 202025-02/XPS-2025-02/var/www/html' couldn't be identified as being 
>> within an existing backup repository
>> ERROR: Action restore failed on step check
>
> You are already in the /run/media/eric directory. From there, the 
> relative path "run/media/..." does not exist. Either use an absolute 
> path (with a leading "/") "/run/media/eric/backup 
> 202025-02/XPS-2025-02/var/www/html" or the relative path "backup 
> 202025-02/XPS-2025-02/var/www/html" without the leading directories.
>
Duh!
Let's see, we learn about relative v absolute paths on about the second 
day of CIS 101?
Thanks.

PS: I think I somehow sent duplicate versions of this query from two 
email addresses. Maybe part of the same brain freeze. Sorry.

Eric