summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:57:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:57:47 -0300
commit8d36966d5ecc68e52b65c9209f4d6c4ed574b9de (patch)
tree8e39a982c63760f0e7067e4e5483540c4041602d
parent7550137817e69d5755f25657bbd48a478c0d2210 (diff)
downloadhydra-8d36966d5ecc68e52b65c9209f4d6c4ed574b9de.tar.gz
hydra-8d36966d5ecc68e52b65c9209f4d6c4ed574b9de.tar.bz2
TODO update
-rw-r--r--TODO.md5
-rwxr-xr-xshare/hydractl/backup-restore-sites3
2 files changed, 5 insertions, 3 deletions
diff --git a/TODO.md b/TODO.md
index b67d366..5d0a82e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -28,17 +28,18 @@ Hydractl
- support for cswap with passphrase.
- deploy: PREFIX support.
- puppet-setup-stored: configure storeconfigs database.
- - backup-restore-user and backup-restore-users.
- site backup, copy and restoration: call backup-restore-user
- hydractl backup-restore-site {debian,wiki}.
- wrapper to import/export monkeysphere keys into keyringer.
- enhance mysql-repair.
+ - backup-restore-user and backup-restore-users.
- backup-restore-SERVICE: stop/start service.
- backup-copy action.
- backup-restore-reprepro: rsync -av /var/backups/remote/$ORIG/restore/$DATE/var/reprepro/ /var/reprepro/.
- backup-restore-site:
- metastore integration for fine-grained permissions.
- use metadata do detect drupal series.
+ - backup-restore-sites: support for other backup locations
Puppet modules
--------------
@@ -121,7 +122,7 @@ Puppet modules
- `using unique option prefix myisam-recover instead of myisam-recover-options is deprecated (...) Please use the full name instead`.
- nodo:
- cleanup hidden `/.gem`.
- - split prompt.sh in a separate bash-prompt repository and include it at `puppet-nodo` and `rhatto/apps.git`.
+ - use prompt.sh from bash-prompt as a submodule.
- remove `import` statements from `init.pp`, which will need some refactoring in other modules to fix autoloading.
- mail:
- deploy https://git.autistici.org/ale/smtp-fp/tree/master
diff --git a/share/hydractl/backup-restore-sites b/share/hydractl/backup-restore-sites
index b051337..781cf17 100755
--- a/share/hydractl/backup-restore-sites
+++ b/share/hydractl/backup-restore-sites
@@ -31,13 +31,14 @@ fi
# Determine sites to copy.
if [ -z "$2" ]; then
+ # TODO: support for other backup locations.
sites="`ls /var/sites`"
else
shift
sites="$*"
fi
-# Copy each site.
+# Restore each site.
# TODO: support for other backup locations.
for site in $sites; do
hydractl backup-restore-site backups $SERVER $site