SeaGL / organization

Policies, procedures, files, notes, and other things necessary for and related to organizing the Seattle GNU/Linux conference.
Creative Commons Attribution Share Alike 4.0 International
5 stars 7 forks source link

Migrate Dokku from AWS #402

Open strugee opened 7 months ago

strugee commented 7 months ago

Checklist:

Please do make edits to this list if you see problems/oversights.

AndrewKvalheim commented 7 months ago

Duplicate of #326, and we should consider https://github.com/SeaGL/seagl-ansible/pull/4#issuecomment-1455184354 though I wouldn’t want it to be a blocker.

strugee commented 2 months ago

Wireguard setup checklist:

strugee commented 1 week ago

Commands to rsync:

$ ssh -A dokku.host.seagl.org
$ sudo -i --preserve-env=SSH_AUTH_SOCK
# rsync -aHAXz --progress --rsync-path="sudo rsync" $SUDO_USER@dokku.seagl.org:/home/dokku /home/dokku/ # Note that trailing slashes are very important to rsync
# rsync -aHAXz --progress --delete --dry-run --rsync-path="sudo rsync" $SUDO_USER@dokku.seagl.org:/home/dokku /home/dokku/
# rsync -aHAXz --progress --rsync-path="sudo rsync" $SUDO_USER@dokku.seagl.org:/var/lib/dokku/ /var/lib/dokku/
# rsync -aHAXz --progress --delete --dry-run --delete --rsync-path="sudo rsync" $SUDO_USER@dokku.seagl.org:/var/lib/dokku/ /var/lib/dokku/

You'll need to remove --dry-run as appropriate of course.