Jon Forrest wrote:
>
>> I think it would theoretically be possible to
>> get a target directory listing with the transfer methods that backuppc
>> supports but it wouldn't be trivial.
>
> I've started looking at the source code for BackupPC.
> Too bad there aren't more comments. There's obviously
> logic to produce the directory tree listings using
> existing backups as the source. All that would be
> required to do what I have in mind is to have
> the BackupPC transfer method do a directory listing
> starting from the root directory and then somehow
> massage this into something the existing display logic
> can handle. This is just a simple matter of software,
> right?
I don't think tar is capable of transferring a directory listing without
the contents of the files. Since it runs over ssh you could run some
other command, but the command isn't guaranteed to exist or to be
permitted by the sshd config at the other end. And there would be no
upper limit on the amount of time it might take to generate the full
listing - it's not something you'd want to wait for on a web page.
--
Les Mikesell
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/