diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-02 22:39:57 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-02 22:39:57 +0200 |
commit | fae93cb1650e646032a1dfe8a7088f478a81c5ca (patch) | |
tree | 736216c8ef6406316416130f2464594fe3aa191e | |
parent | e597aa5c8a9f2d3ba7760b5aca7903e76da35e29 (diff) | |
download | App-BorgRestore-fae93cb1650e646032a1dfe8a7088f478a81c5ca.tar.gz App-BorgRestore-fae93cb1650e646032a1dfe8a7088f478a81c5ca.tar.xz |
Update README
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. |