I'm not sure if anybody else answers your question.

>From the information you provided, it's not clear where the root of your
backup folder is. I'm guessing it's "/run/media/eric/backup
202025-02/XPS-2025-02".

So you need to provide the canonical path or relative path.

Canonical:

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

Or relative:

eric@fedora:/run/media/eric$ sudo rdiff-backup restore --at 2025-05-04
"backup 202025-02/XPS-2025-02/var/www/html" /var/www/html

Also, since "/var/www/html" probably exists already. I would recommend to
restore into a new folder "/var/www/html-restore" To make sure it does what
you want.

Le ven. 9 mai 2025, à 08 h 34, Eric Beversluis via Any discussion of
rdiff-backup <rdiff-backup-users@nongnu.org> a écrit :

> I'm having trouble restoring a particular increment. The rdiff-backup
> file shows I did a backup on 2025-05-04. Yet:
>
> 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
>
> Yet that location clearly exists:
>
> eric@fedora:/run/media/eric/backup 2025-02/XPS-2025-02/var/www$ ls -al
> total 24
> drwxr-xr-x. 4 root root  4096 Jan 23 19:00 .
> drwxr-xr-x. 4 root root  4096 Apr  9 08:18 ..
> drwxr-xr-x. 2 root root  4096 Jan 23 19:00 cgi-bin
> drwxr-xr-x. 2 root root 12288 Jan 23 19:00 html
>
> --
> Eric Beversluis
> www.ericbeversluis.com
> 2x Honorable Mention--Writer's Digest Contest
>
>

-- 

*ATTENTION : Je serai en vacances du 2 au 21 mai 2025. ATTENTION: I will be
on vacation from May 2 to May 21, 2025.*
IKUS Software
https://www.ikus-soft.com/
514-971-6442
St-Colomban, QC J5K 1T9

Reply via email to