SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
URL to restore a particular file from the latest backup
Author Message
Post URL to restore a particular file from the latest backup 
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post URL to restore a particular file from the latest backup 
On Mon, 2011-12-19 at 12:13 +0100, Dmitry Katsubo wrote:
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:

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

does -1 work as that is short hand for latest in some of the commandline
tools

--
Tim Fletcher <tim < at > night-shade.org.uk>


------------------------------------------------------------------------------
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post URL to restore a particular file from the latest backup 
On 19.12.2011 12:53, Tim Fletcher wrote:
does -1 work as that is short hand for latest in some of the commandline
tools

Unfortunately it replies:

Error: Can't restore bad file /invoice.pdf (-1, Documents)

--
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB