PHP Tricks - Backup DB postgre (.backup) in ubuntu 16.04

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=Lel88RLD_2I



Duration: 8:35
1,671 views
3


How to backup DB postgre .backup with PHP.

---- step ----
- run exec(pg_dump...) in PHP
- add user www-data in /etc/sudoers
- run app




Other Videos By Ambar Hasbiyatmoko


2017-03-06Phpmyadmin (php 5.6) - the mbstring extension and mysql|mysqli is missing in Ubuntu 16.04
2017-03-06Ubuntu 16.04 - Display image 360 degree (photospehere) on localhost with photosphere viewer
2017-03-03Phpmyadmin Ubuntu 16.04 - The mysqli|mysql extension is missing. Please check your PHP configuration
2017-03-02Ubuntu 16.04 - Failed to install google chrome (depends on libpango1 and libappindicator1)
2017-03-01Ubuntu - How to fix Failed to fetch...404 Not Found when apt-get update
2017-02-28Steam Error - An error occurred while updating Dota 2 (corrupt download)
2017-02-18Ubuntu 16.04 problem - Failure to download extra data files ttf-mscorefonts-installer
2017-02-05PHP(imagecreate) in Ubuntu - The image cannot be displayed because it contains errors.
2017-02-05SFTP Ubuntu - Oops! Something went wrong. Don't have permission to access the requested location
2017-01-25Gimp in Ubuntu - missing Toolbox GIMP
2017-01-23PHP Tricks - Backup DB postgre (.backup) in ubuntu 16.04
2017-01-19Screen Recorder + Webcam with Vokoscreen in Ubuntu 16.04
2017-01-16How to Convert coordinate (lat,lng) to TILE (x,y) in google maps
2017-01-12Codeigniter problem : No input file specified. when open the page
2017-01-12Ubuntu 16.04 problem after reinstall : low screen resolution and no internet connection
2017-01-09Bucardo : (Basic Tutorial) Postgresql Replication Master to master in 1 server Centos7
2017-01-09Error Install Flash Plugin in Ubuntu 16 04 : adobe flashplugin amd64 404 Not Found
2017-01-08Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
2017-01-08Disable Recent History in Ubuntu 16.04
2017-01-07Easy Install QGIS in Ubuntu 16.04 LTS(Xenial Xerus)
2017-01-06Bucardo problem : Can't locate ExtUtils MakeMaker.pm in @INC when trying to install bucardo



Tags:
pg_dump
postgresql
database
db
ubuntu
linux
php
tricks
backup
user
www-data
apache
pgadmin
terminal
root