diff options
author | kaa <kaa@disroot.org> | 2024-11-16 16:03:37 -0800 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2024-11-16 16:03:37 -0800 |
commit | 1456c579cdd7e4ad7066e87c607ed8c13587a58b (patch) | |
tree | 54bc15f8230a9aaec8c8f3bffb93be0120c79f6e /restore.sh | |
parent | 0806d76f4530669569f2be8030795fd69eced035 (diff) |
Diffstat (limited to 'restore.sh')
-rwxr-xr-x | restore.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 '\.' |