aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODOs.org9
1 files changed, 9 insertions, 0 deletions
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]