forked from nutomic/peertube.social
add db data rsync (where did it go?)
This commit is contained in:
parent
64d60d8904
commit
b057711a57
1 changed files with 1 additions and 0 deletions
|
@ -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/"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue