On 5/10/25 16:41, Eric Beversluis via Any discussion of rdiff-backup wrote:
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.

In fairness to you, the message, "... couldn't be identified as being within an existing 
backup repository" is rather misleading, as it implies that the file was found but was missing 
some characteristic. The plain old "ENOENT: No such file or directory" would be much more 
to the point.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.


Reply via email to