···156- [x] backups!
157 - [x] manual backup on startup
158 - [x] background task to create backups on an interval
0159160cache
161- [ ] set api response headers
···156- [x] backups!
157 - [x] manual backup on startup
158 - [x] background task to create backups on an interval
159+- [ ] add a low-ulimit check on startup?
160161cache
162- [ ] set api response headers
+2
cozy-setup (move to another repo).md
···327etc
328- follow above `- raspi node_exporter`
329- configure victoriametrics to scrape the new pi
0330- `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/constellation-index/ --jetstream us-east-2 --backup /home/pi/backup/constellation-index --backup-interval 6 --max-old-backups 20`
331- add server to nginx gateway upstream: ` server 100.123.79.12:6789; # bootes`
332- stop backups from running on the older instance! `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/links-2.rocks/ --jetstream us-east-1`
0333334335- todo: overlayfs? would need to figure out builds/updates still, also i guess logs are currently written to sd? (oof)
···327etc
328- follow above `- raspi node_exporter`
329- configure victoriametrics to scrape the new pi
330+- configure ulimit before starting! `ulimit -n 16384`
331- `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/constellation-index/ --jetstream us-east-2 --backup /home/pi/backup/constellation-index --backup-interval 6 --max-old-backups 20`
332- add server to nginx gateway upstream: ` server 100.123.79.12:6789; # bootes`
333- stop backups from running on the older instance! `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/links-2.rocks/ --jetstream us-east-1`
334+- stop upstreaming requests to older instance in nginx
335336337- todo: overlayfs? would need to figure out builds/updates still, also i guess logs are currently written to sd? (oof)