Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong directory name in for postgres-dump in backup.sh #4

Open
alpeshgajbe opened this issue Jul 5, 2016 · 1 comment
Open

wrong directory name in for postgres-dump in backup.sh #4

alpeshgajbe opened this issue Jul 5, 2016 · 1 comment

Comments

@alpeshgajbe
Copy link

root@mz10:~# /etc/init.d/rc.local start
/home/docker/code/scripts/heartbeat.sh: line 6: confs/deploy.conf: No such file or directory
mkdir: cannot create directory '/data/benchmark-dump': File exists
2016-07-05T16:56:21.571+0530 writing gstudio-mongodb.Benchmarks to
2016-07-05T16:56:24.496+0530 [###########.............] gstudio-mongodb.Benchmarks 361460/746148 (48.4%)
2016-07-05T16:56:27.496+0530 [#######################.] gstudio-mongodb.Benchmarks 718344/746148 (96.3%)
2016-07-05T16:56:27.712+0530 [########################] gstudio-mongodb.Benchmarks 746173/746148 (100.0%)
2016-07-05T16:56:27.713+0530 done dumping gstudio-mongodb.Benchmarks (746173 documents)
mkdir: cannot create directory '/data/postgres-dump': File exists
-su: line 1: cd: /data/postgres-du: No such file or directory
mailx: cannot send message: Process exited with a non-zero status

checked /home/docker/code/scripts/backup.sh found this shouldnt this be postgres-dump

echo "cd /data/postgres-du
pg_dumpall > pg_dump_all.sql;

@alpeshgajbe
Copy link
Author

also heartbeat.sh cannot source onfs/deploy.conf

mrunal4 added a commit to mrunal4/gstudio-docker that referenced this issue Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant