Database backup in PostgreSQL from R -
i'm using rpostgresql package read/write postgresql r works fine. however, while trying automate backup process error when following:
dbsendquery(con,"pg_dump my_db > my_db_backup.sql")
error:
error in postgresqlexecstatement(conn, statement, ...) : rs-dbi driver: (could not retrieve result : error: syntax error @ or near "pg_dump" line 1: pg_dump my_db > my_db_backup.sql
is possible create backup , restore database postgresql r?
Comments
Post a Comment