Commit Graph

4422 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan 1e6b09c0da reduce task concurrency
trying to restore many apps in low memory, just crashes everything
2016-10-09 13:27:46 -07:00
Girish Ramakrishnan 4ed74a8164 bump postgresql and mail images 2016-10-09 12:53:55 -07:00
Girish Ramakrishnan 131cd96840 allow various provider in backup config 2016-10-09 00:41:24 -07:00
Girish Ramakrishnan fb4d6f7649 doc: fix dns config api docs 2016-10-09 00:24:30 -07:00
Girish Ramakrishnan da5e40db66 verify token type 2016-10-09 00:23:23 -07:00
Girish Ramakrishnan 6c1c7e74c1 detect if aa is available (linode has it disabled) 2016-10-08 23:04:24 -07:00
Girish Ramakrishnan 5a18c4dc26 in some systems, there is already some swap allocated 2016-10-08 21:55:13 -07:00
Girish Ramakrishnan 0fbe2709ea bash cannot handle float arithmetic 2016-10-08 21:40:05 -07:00
Girish Ramakrishnan 6fdf5bd7ec Find rootfs device the hard way 2016-10-08 21:31:11 -07:00
Girish Ramakrishnan f2948483df rename eth0 to generic
sysinfo caters to more than IP...
2016-10-08 16:40:58 -07:00
Girish Ramakrishnan 1ef6eefaf6 dns: fix noop get/upsert 2016-10-08 14:38:59 -07:00
Girish Ramakrishnan ae0f90c621 check for generic provider 2016-10-08 14:09:32 -07:00
Girish Ramakrishnan 63a0c69e76 modify grub only for ec2 2016-10-08 13:23:45 -07:00
Girish Ramakrishnan 370e4f7c25 rename wildcard to noop 2016-10-08 13:00:40 -07:00
Girish Ramakrishnan 7cb8745029 change provider name to ssh 2016-10-07 14:22:49 -07:00
Girish Ramakrishnan ba5f261f33 Fix speling 2016-10-07 14:21:26 -07:00
Girish Ramakrishnan 72f287c4e5 Fix typos 2016-10-07 14:19:44 -07:00
Girish Ramakrishnan c385abe416 return wildcard dns backend 2016-10-07 14:10:28 -07:00
Girish Ramakrishnan 49e3dba1f2 Add DNS wildcard backend
It assumes that the user setup the wildcard DNS entry manually.
2016-10-07 14:09:20 -07:00
Girish Ramakrishnan e456c4b39c Add eth0 sysinfo backend 2016-10-07 14:09:20 -07:00
Girish Ramakrishnan 9b83a4d776 add certificate interface file 2016-10-07 14:09:20 -07:00
Girish Ramakrishnan 0ae1238233 Add sysinfo interface definition 2016-10-07 14:09:20 -07:00
Johannes Zellner b45fca6468 Add 0.22.0 changes 2016-10-07 12:44:36 +02:00
Johannes Zellner d7245b5e1e Cleanup the provisioning code v0.22.0 2016-10-06 14:14:48 +02:00
Johannes Zellner 81c443d637 Use the correct callback 2016-10-06 14:08:53 +02:00
Johannes Zellner 84e4c0033e Do not support meta data api for user data
From this version on only a local /root/userdata.json
is supported. We will poll for that file every 5sec
The file is either uploaded via boxtask in caas or
the cli tool
2016-10-06 11:48:17 +02:00
Girish Ramakrishnan d7be1d7d03 open usermanual in new page 2016-10-05 12:54:59 -07:00