BackupPC-users

[BackupPC-users] URL to restore a particular file from the latest backup

2011-12-19 06:19:55
Subject: [BackupPC-users] URL to restore a particular file from the latest backup
From: Dmitry Katsubo <dmitry.katsubo AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 19 Dec 2011 12:13:02 +0100
Dear BackupPC users!

I wonder if it is possible to construct URL for file restore, that will
always refer the latest backup (in particular by skipping "num"
parameter or giving it a special value)?

For example, currently the file "invoice.pdf" can be restored from
backup 204 as follows:

https://host.com/backuppc/index.cgi?action=RestoreFile&host=bingo&num=204&share=Documents&dir=/invoice.pdf

what I need is to restore this file from latest backup (can return 404
if this file was not found in latest backup):

https://host.com/backuppc/index.cgi?action=RestoreFile&host=bingo&share=Documents&dir=/invoice.pdf

It looks like currently "num" parameter is obligatory...

Thank for any advises in advance.

-- 
With best regards,
Dmitry

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>