Commit Graph

3649 Commits

Author SHA1 Message Date
Johannes Zellner 19c7dd0de8 Add html version to user welcome mail 2016-10-13 11:21:29 +02:00
Girish Ramakrishnan 1d8df65fbf Fix mailbox name for naked domains
Fixes #81
2016-10-12 19:54:04 -07:00
Girish Ramakrishnan 2be17eeb52 Add semi-tested scaleway backend 2016-10-11 19:47:27 -07:00
Girish Ramakrishnan 5c34cb24c6 doc: add understand section 2016-10-11 19:29:42 -07:00
Girish Ramakrishnan c12ee50b3b dump the body for debugging 2016-10-11 19:29:23 -07:00
Girish Ramakrishnan c54a825eb8 doc: add linode/scaleway notes 2016-10-11 18:22:44 -07:00
Girish Ramakrishnan ef27a17cae Only update grub if we modified grub 2016-10-11 18:22:27 -07:00
Girish Ramakrishnan 8cf8661c2f it turns out 0.5 is less than 0.22 2016-10-11 16:41:51 -07:00
Girish Ramakrishnan 7cdbab446d Add big update (0.5.0) 2016-10-11 16:39:52 -07:00
Girish Ramakrishnan 74ffd5c2d3 Fix bash syntax 2016-10-11 16:24:47 -07:00
Girish Ramakrishnan 3a259e9ce0 add some hacks for scaleway
* load loop module if not autoloaded
* allow NBD ports (https://community.online.net/t/how-to-configures-iptables-with-input-rules-with-dynamic-nbd/303/31)
2016-10-11 15:21:10 -07:00
Johannes Zellner f9e47ac3c0 Ensure we always keep the backup key 2016-10-11 15:56:07 +02:00
Johannes Zellner 0c85f96b27 Allow to setup a backup region 2016-10-11 14:20:31 +02:00
Johannes Zellner b30300b8b2 Fix backup config prefix display 2016-10-11 14:14:24 +02:00
Johannes Zellner 6663a6bd66 More error feedback on backup config change form 2016-10-11 14:14:04 +02:00
Johannes Zellner c1fc2ce095 Give error response if aws accessKeyId is unknown 2016-10-11 14:07:36 +02:00
Johannes Zellner e614b930a5 Report with a distinguished status code if upstream validation failed 2016-10-11 11:49:30 +02:00
Johannes Zellner 9b4228f373 No need for a separate function 2016-10-11 11:47:33 +02:00
Johannes Zellner 6e6d4f7413 Actually verify s3 credentials by using the api 2016-10-11 11:46:28 +02:00
Johannes Zellner cac85b17bc Add backup config test for each backend 2016-10-11 11:36:25 +02:00
Johannes Zellner 449f8b03ad The backup setting route does not require password for now 2016-10-11 11:21:06 +02:00
Johannes Zellner 6eacc76281 wire up the backup backend settings save button 2016-10-11 11:18:12 +02:00
Johannes Zellner 33f764f6aa Properly setup the backup backend change dialog 2016-10-11 11:17:41 +02:00
Johannes Zellner 9ab845ef8a Set the backup janitor back to every 30min 2016-10-11 10:55:00 +02:00
Johannes Zellner eaee3ffbc9 Cleanup the storage backend change ui 2016-10-11 10:54:33 +02:00
Johannes Zellner e1f268a325 remove unused require 2016-10-11 10:32:22 +02:00
Johannes Zellner 1fc16d0fe8 Warn admins in the webui if they use the filesystem backend 2016-10-11 10:32:05 +02:00
Johannes Zellner d7ea06e80e Simply remove all backups up to the last to when using filesystem
backend
2016-10-11 10:31:21 +02:00
Johannes Zellner 2d39a9bfa1 Only store last two days of backups 2016-10-11 09:56:42 +02:00
Johannes Zellner f576f38e4c Calculate the backup checksum for client side verification
Fixes #54
2016-10-10 18:11:25 +02:00
Johannes Zellner 734506eb41 add checksum node module 2016-10-10 18:11:07 +02:00
Johannes Zellner 8ac8ea7d8a Reduce debug output 2016-10-10 16:27:39 +02:00
Johannes Zellner 9d3f8f23ef Also remove the app backup json files 2016-10-10 16:25:43 +02:00
Johannes Zellner b0a8ba85e1 Also remove the db records for deleted backups 2016-10-10 16:25:43 +02:00
Johannes Zellner 7e41ea9c31 Make the script executable 2016-10-10 16:25:43 +02:00
Johannes Zellner 1e65142f47 Use rmbackup.sh instead of fs.unlink() due to root ownership 2016-10-10 16:25:43 +02:00
Johannes Zellner f05a5226ba Add new sudo file rmbackup.sh as backups are owned by root currently 2016-10-10 16:25:43 +02:00
Johannes Zellner c129328828 There is no result 2016-10-10 16:25:43 +02:00
Johannes Zellner acc644160a Remove the old backups from the storage 2016-10-10 15:45:48 +02:00
Johannes Zellner c7e5c09bb9 Adjust removeBackup() api 2016-10-10 15:45:48 +02:00
Johannes Zellner 1b3ae1f178 Add new storage.removeBackup() api
This currently is only used in the filesystem backend,
but may be expanded to also cleanup S3 in the future
2016-10-10 15:45:48 +02:00
Johannes Zellner bceeb092bf Remove unused require 2016-10-10 14:50:53 +02:00
Johannes Zellner 0d0229e531 Filter potential backups to cleanup 2016-10-10 14:43:47 +02:00
Johannes Zellner 629e061743 Use specific error if app backup for restore can't be found 2016-10-10 13:21:45 +02:00
Girish Ramakrishnan d53657fa61 doc: generic machine 2016-10-09 21:03:56 -07:00
Girish Ramakrishnan 437c582be6 doc: reduce indentation 2016-10-09 20:51:08 -07:00
Girish Ramakrishnan 12ce714df4 Allow backup configuration to be changed 2016-10-09 20:23:21 -07:00
Girish Ramakrishnan f09a1c577b doc: more docs for backup api 2016-10-09 20:23:21 -07:00
Girish Ramakrishnan 4e3ba4c96f Check type of bucket and prefix as well 2016-10-09 20:17:42 -07:00
Girish Ramakrishnan 26c67d2d36 refactor settings ui: scope the methods 2016-10-09 20:07:59 -07:00