Re: Question around of remote description

Robert Nichols <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
On 6/17/20 1:15 AM, Eric L. Zolf wrote:
> Hi,
> 
> in the course of the review of PR #404 we came to challenge the quite
> complex quoting rules allowed when you backup to/from a remote location.
> 
> Our question is if anybody is relying on those (too) complex quoting
> rules to make their backup work? Else it'll allow us to radically
> simplify the code.
> 
> More details: if you backup to/from a remote site, the description is of
> the form `host::path` (e.g. `rdiff-backup /home
> myuser@myhost::/srv/backup/homebak`), and the current quoting allows to
> have the double colons (::) somewhere in the `host` or `path` part of
> the remote description. And the question is if anybody knows of a
> concrete use case for this possibility?

On my CentOS 6 system, "locate :: | wc -l" returns 2544, all of which
are under /usr/share/man. While it is inconceivable that I would ever
have one of those names in a backup source or destination, it is quite
possible that I might want to restore one of those files.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.