summaryrefslogtreecommitdiff
path: root/restore.sh
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2024-11-16 16:03:37 -0800
committerkaa <kaa@disroot.org>2024-11-16 16:03:37 -0800
commit1456c579cdd7e4ad7066e87c607ed8c13587a58b (patch)
tree54bc15f8230a9aaec8c8f3bffb93be0120c79f6e /restore.sh
parent0806d76f4530669569f2be8030795fd69eced035 (diff)
DocumentationHEADmaster
Diffstat (limited to 'restore.sh')
-rwxr-xr-xrestore.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/restore.sh b/restore.sh
index 316b3ec..c39bb13 100755
--- a/restore.sh
+++ b/restore.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# restic snapshots > dump
go run restore.go < dump | sed -e 's|$|;|' -e 's|:/[^/]*/|:/|' | grep -v '\.'
#go run restore.go < dump | grep bank | sed -e "s|$| --target /bank|" -e "s|/bank||" -e 's|$|;|' | grep -v '\.'