From fae93cb1650e646032a1dfe8a7088f478a81c5ca Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 22:39:57 +0200 Subject: Update README Signed-off-by: Florian Pritz --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index febfc0b..adac73b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ App::BorgRestore - Restore paths from borg backups use App::BorgRestore; + my $app = App::BorgRestore->new(); + + # Update the cache (call after creating/removing backups) + $app->update_cache(); + + # Restore a path from a backup that is at least 5 days old. Optionally + # restore it to a different directory than the original. + $app->restore_simple($path, "5days", $optional_destination_directory); + # DESCRIPTION App::BorgRestore is a restoration helper for borg. -- cgit v1.2.3-24-g4f1b