Girish Ramakrishnan
4e68abe51d
Handle fs errors
2017-09-26 12:10:58 -07:00
Girish Ramakrishnan
12083f5608
Ignore all special files
2017-09-26 11:41:01 -07:00
Girish Ramakrishnan
d1efb2db56
remove bogus mkdir
2017-09-26 11:34:24 -07:00
Girish Ramakrishnan
adde28523f
Add backup format to the backup UI
2017-09-26 10:46:02 -07:00
Girish Ramakrishnan
f122f46fe2
Generate new index file by appending to file
2017-09-26 07:57:20 -07:00
Girish Ramakrishnan
ad7fadb4a9
display backup id in the ui
2017-09-26 07:45:23 -07:00
Johannes Zellner
be383582e0
Do not rely on external resource in the appstatus page
2017-09-26 15:33:05 +02:00
Girish Ramakrishnan
0a60365143
Initial version of flat-file uploader
2017-09-26 00:17:11 -07:00
Girish Ramakrishnan
2f6cb3e913
set format in the backup ui
2017-09-26 00:01:36 -07:00
Girish Ramakrishnan
b0f85678d4
Implement downloadDir for flat-file format
2017-09-23 18:07:26 -07:00
Girish Ramakrishnan
e43413e063
implement remove dir in storage backends
2017-09-23 12:34:51 -07:00
Girish Ramakrishnan
e39a5c8872
preserve env in backuptask.js
2017-09-22 11:19:44 -07:00
Girish Ramakrishnan
fb4b75dd2a
Fix typo in comment
2017-09-22 11:19:37 -07:00
Girish Ramakrishnan
3c1ccc5cf4
Add exoscale provider
2017-09-21 17:50:03 -07:00
Girish Ramakrishnan
abd66d6524
Add cloudscale as a provider
2017-09-21 17:49:26 -07:00
Girish Ramakrishnan
b61b7f80b5
Add DO spaces
2017-09-21 12:25:39 -07:00
Girish Ramakrishnan
efa850614d
Add a s3-v4-compat provider
2017-09-21 12:13:45 -07:00
Girish Ramakrishnan
21c534c806
Ensure format is set in backupConfig
2017-09-21 09:49:55 -07:00
Girish Ramakrishnan
7e4ff2440c
Fix text for manual DNS
2017-09-21 09:10:12 -07:00
Johannes Zellner
f415e19f6f
Do not unneccesarily mention error in the logs
...
Not so friendly for log searches
2017-09-21 15:00:35 +02:00
Girish Ramakrishnan
97da8717ca
Refactor backup strategy logic into backups.js
2017-09-20 14:09:55 -07:00
Girish Ramakrishnan
cbddb79d15
Resolve the id in rotateAppBackup
2017-09-20 09:38:55 -07:00
Johannes Zellner
bffb935f0f
Also send digest to appstore account owner
2017-09-20 16:33:25 +02:00
Johannes Zellner
e50e0f730b
Make nginx listen on :: for ipv6
2017-09-20 16:33:25 +02:00
Girish Ramakrishnan
26f33a8e9b
Send resolved path to the storage APIs
2017-09-19 21:58:35 -07:00
Girish Ramakrishnan
952b1f6304
Make backuptask call back into backups.js
2017-09-19 20:27:49 -07:00
Girish Ramakrishnan
a3293c4c35
Fix tests
2017-09-19 12:43:13 -07:00
Girish Ramakrishnan
4892473eff
backupIds do not have extension anymore
...
this code existed for legacy reasons
2017-09-19 12:34:09 -07:00
Girish Ramakrishnan
221d5f95e1
ensure backupFolder is always set
2017-09-19 12:34:09 -07:00
Girish Ramakrishnan
84649b9471
Bring back backuptask
...
This is required for various small reasons:
* dir iteration with a way to pass messagein back to the upload() easily
* can be killed independently of box code
* allows us to run sync (blocking) commands in the upload logic
2017-09-19 12:32:38 -07:00
Girish Ramakrishnan
44435559ab
Typo
2017-09-19 10:37:45 -07:00
Girish Ramakrishnan
c351660a9a
Implement backup rotation
...
Always upload to 'snapshot' dir and then rotate it. This will allow
us to keep pushing incrementally to 'snapshot' and do server side
rotations.
2017-09-18 21:17:34 -07:00
Girish Ramakrishnan
0a24130fd4
Just reset config instead of clearing cache
2017-09-18 19:41:15 -07:00
Girish Ramakrishnan
ea13f8f97e
Fix checkInstall script
2017-09-18 18:19:27 -07:00
Johannes Zellner
d00801d020
Only require service account key for google dns on setup
2017-09-18 23:50:34 +02:00
Girish Ramakrishnan
8ced0aa78e
copy: use hardlinks to preserve space
2017-09-18 14:29:48 -07:00
Girish Ramakrishnan
f5d32a9178
copyBackup -> copy
2017-09-18 14:29:15 -07:00
Girish Ramakrishnan
7fc45b3215
Refactor out the backup snapshot logic
2017-09-18 12:43:11 -07:00
Girish Ramakrishnan
9bed14a3e8
Enable IP6 in unbound
...
On some provider (https://www.nine.ch ) disabling IPv6 makes unbound
not respond to the DNS queries.
Also, I was unable to test with prefer-ip6 to 'no' because unbound fails:
unbound[5657]: /etc/unbound/unbound.conf.d/cloudron-network.conf:8: error: unknown keyword 'no'
unbound[5657]: read /etc/unbound/unbound.conf failed: 3 errors in configuration file
2017-09-18 11:41:02 -07:00
Girish Ramakrishnan
71233ecd95
Fix undefined variable
2017-09-18 11:14:04 -07:00
Girish Ramakrishnan
02097298c6
Fix indentation
2017-09-18 10:38:30 -07:00
Girish Ramakrishnan
be03dd0821
remove unused require
2017-09-18 10:38:26 -07:00
Girish Ramakrishnan
5b77d2f0cf
Add commented out debugging section for unbound
2017-09-18 10:38:22 -07:00
Girish Ramakrishnan
781f543e87
Rename API calls in the storage backend
2017-09-17 18:50:29 -07:00
Girish Ramakrishnan
6525a467a2
Rework backuptask into tar.js
...
This makes it easy to integrate another backup strategy
as the next step
2017-09-17 18:50:26 -07:00
Girish Ramakrishnan
6cddd61a24
Fix style
2017-09-17 18:50:23 -07:00
Girish Ramakrishnan
b0ee116004
targz: make sourceDir a string
2017-09-17 18:50:15 -07:00
Girish Ramakrishnan
867a59d5d8
Pull it all to left
2017-09-15 15:47:37 -07:00
Girish Ramakrishnan
6f5085ebc3
Downcase email
2017-09-15 15:45:26 -07:00
Johannes Zellner
e8a93dcb1b
Add button to send test email
...
Fixes #419
2017-09-15 14:42:12 +02:00