From b057711a572c065d5ea2cd26722b0c35716f491b Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 15 Mar 2019 01:36:02 +0100 Subject: [PATCH] add db data rsync (where did it go?) --- migration.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/migration.sh b/migration.sh index 61a08a7..cd531c0 100755 --- a/migration.sh +++ b/migration.sh @@ -15,6 +15,7 @@ function sync-volumes { rsync -a --rsync-path="sudo rsync" "$OLD_SERVER:$OLD_BASE_FOLDER/storage/previews/" "$NEW_BASE_FOLDER/data/previews/" rsync -a --rsync-path="sudo rsync" "$OLD_SERVER:$OLD_BASE_FOLDER/storage/thumbnails/" "$NEW_BASE_FOLDER/data/thumbnails/" rsync -a --rsync-path="sudo rsync" "$OLD_SERVER:$OLD_BASE_FOLDER/storage/torrents/" "$NEW_BASE_FOLDER/data/torrents/" + rsync -a --rsync-path="sudo rsync" "$OLD_SERVER:/var/lib/postgresql/10/main/" "$NEW_BASE_FOLDER/db/" cp db_config/* "$NEW_BASE_FOLDER/db/" }