Re: difficulty restoring from an earlier version

Robert Nichols via Any discussion of rdiff-backup <[email protected]> Sat, 10 May 2025 08:51:37 -0500
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
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.

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