aboutsummaryrefslogtreecommitdiff
path: root/backends/bup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backends/bup.sh')
-rw-r--r--backends/bup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/bup.sh b/backends/bup.sh
index ab27825..a5ddb14 100644
--- a/backends/bup.sh
+++ b/backends/bup.sh
@@ -54,11 +54,12 @@ function bup_create_backup() {
return $RETCODE
}
-function bup_ls_remote() {
+# server_restore relies on output format of this function
+function bup_ls_dir() {
bup -d "$(bup_local)" ls -r "$BACKUP_DIR" "$BACKUP_NAME"
}
-function bup_ls() {
+function bup_ls_all() {
for BACKUP_DIR in ${BACKUP_DIRS[*]}
do
echo "bup: backups in \"$BACKUP_DIR\":"