aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-27 23:25:17 -0300
committerEuAndreh <eu@euandre.org>2019-05-27 23:25:17 -0300
commit046f13906f959aa71c694afb8e106074e5192550 (patch)
treedf659d54ebf270caa4404c87a2d203474fa1d3e2
parentAdd variables to properly tag a backup (diff)
downloadserver-046f13906f959aa71c694afb8e106074e5192550.tar.gz
server-046f13906f959aa71c694afb8e106074e5192550.tar.xz
TODOs.org
Add notes on creating backups, and questions on the best strategies available.
-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]