Move a Discourse site to another VPS with rsync

For the record, one of our smart guys figured out how to rsync the proper permissions the container needs in order for PostgreSQL to run:

rsync -rog --delete --perms --numeric-ids root@x.x.x.x:/var/discourse/ /var/discourse
4개의 좋아요