Closed lucj closed 6 years ago
A new job running mongodump is run if DUMP env variable is set. Additional functions (backup and upload) have been added to manage.py.
TO DO / FIX
-rw-r--r-- 1 root root 110 Aug 4 14:29 dump-2017-08-04T14:29:33.139365.gz
srwx------ 1 root root 0 Aug 4 14:29 mongodb-27017.sock
-rw-r--r-- 1 root root 36 Aug 4 14:29 mongodb-session
And then
ESC[36mdb_1 |ESC[0m time="2017-08-04T14:31:32Z" level=debug msg="interval expired but restart not permitted: backup"
ESC[36mdb_1 |ESC[0m time="2017-08-04T14:31:32Z" level=debug msg="event: {Stopping backup}"
ESC[36mdb_1 |ESC[0m time="2017-08-04T14:31:32Z" level=debug msg="event: {Stopped backup}"
Checking the DUMP_INTERVAL env var in order to add the backup job and set its inverval key with that value.
db:
image: autopilotpattern/mongodb
environment:
- REPLICASET=testrs
- CONSUL_AGENT=true
- DUMP_INTERVAL=6h
- LOG_LEVEL=DEBUG
- MANTA_USER=...
- MANTA_KEY_ID=...
restart: always
@geek
@lucj are the remaining items on your checklist complete? LGTM, wondering how you feel about a merge.
@geek very sorry for my late reply. I have not done the remaining on my checklist yet. I also need to do some more testing.
Any updates on this pr?
Any updates on this pr?
@Adel-Magebinary no updates at the moment.
@lucj any thoughts on cutting the backup feature and trimming it down to only updating the versions/new ContainerPilot config?
@Adel-Magebinary @geek No update on my side. No problem, I'll remove the backup and only use last versions of the binaries.
Start modifications to init the move to ContainerPilot v3 :)