1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-24 23:48:21 -05:00

add db data rsync (where did it go?)

This commit is contained in:
Felix Ableitner 2019-03-15 01:36:02 +01:00
parent 64d60d8904
commit b057711a57

View File

@ -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/"
}