Skip to content

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

@alpeshgajbe

Description

@alpeshgajbe

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions