From 046f13906f959aa71c694afb8e106074e5192550 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 27 May 2019 23:25:17 -0300 Subject: TODOs.org Add notes on creating backups, and questions on the best strategies available. --- TODOs.org | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'TODOs.org') diff --git a/TODOs.org b/TODOs.org index 74a48b0..6bb390e 100644 --- a/TODOs.org +++ b/TODOs.org @@ -27,6 +27,15 @@ Put it in an environment variable? Done by appending to content of =~/.ssh/config=. **** DOING Automate deployment with Terraform and deployment scripts **** NEXT Use DigitalOcean's Floating IP in front of the droplet +**** TODO Backup data during deployments +Is this approach feasible? Will it make the deployment take too much longer? What are the alternatives? + +Initial sketch of the backup commands: +#+BEGIN_SOURCE shell +rsync --verbose --progress --stats --update --recursive "$HOME/backups/" "$RSYNC_REMOTE" +borg create -svp -C lzma,6 "~/borgbackup::{hostname}-{now}-${VPS_COMMIT_SHA} ${VOLUME_HOME}" +rsync --verbose --progress --stats --update --recursive "$RSYNC_REMOTE" "$HOME/borgbackups/" +#+END_SOURCE **** TODO Test provisioning DNS entries with other DNS registrars **** DONE Namecheap whitelist IP limitation CLOSED: [2019-05-26 Sun 17:14] -- cgit v1.2.3