Les Mikesell wrote: > 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. > If using rsync or rsyncd, the --dry-run option will produce a list of the actions to be taken without actually transferring any files. The list includes all files and directories to be transfered. Perhaps this could be used to generate a directory tree before a backup has taken place.
-Rob ******************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this transmission in error please notify the sender immediately and then delete this e-mail. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. ******************************************************** ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ 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/
