jbroadway/elefant — Issue #44: Add ./conf/elefant backup and export-db commands
Author: jbroadway
Created: 2011-10-11 16:10:59+00:00
State: open

Should take the form:

```bash
$ ./conf/elefant backup /path/to/backups
```

Steps:

1. `mkdir cache/backup-{{ timestamp }}`
2. `./conf/elefant export-db cache/backup-{{ timestamp }}/db.sql`
3. `cp .htaccess cache/backup-{{ timestamp }}/`
4. `cp -R * cache/backup-{{ timestamp }}/`
5. `tar -cf cache/backup-{{ timestamp }}.tar cache/backup-{{ timestamp }}`
6. `gzip cache/backup-{{ timestamp }}.tar`
7. `mv cache/backup-{{ timestamp }}.tar.gz {{ path_to_backups }}/`
8. `rm -Rf cache/backup-{{ timestamp }}`