Archive

Posts Tagged ‘backup’

MySQL Backup to Email

Image representing MySQL as depicted in CrunchBase

Image via CrunchBase

This simple PHP script can be used to backup MySQL databases and then send the zipped backup file to email addresses. The backup file can then be restored by any MySQL front end program like the mysql command line, Navicat MySQL, or phpMyAdmin.

The logic of the script is really simple:

  1. initialization
  2. create backup sql file
  3. zip the file
  4. send email

Read more…

  • Share/Bookmark
Categories: Linux, MySQL, PHP, Windows Tags: , ,

Restore MySQL database, stored procedure missing ?

Backing up and Restoring mysql database could be done through several ways. You can backup and restore by exporting SQL script using MySQL command line or copying MySQL data directory from the original server to the destination server.

Using the second method will cause the stored procedure and function missing. In this article we will discuss how to overcome the situation.

Read more…

  • Share/Bookmark

MySQL Backup with phpMyBackupPro

phpMyBackupPro is a tool created using PHP programming language that can be used to perform backup and restore on MySQL database server. In this article we are going to learn how to install and configure this tool, perform manual backup and then perform restore the previously backed up database. We will also learn how to setup an automatic periodic backup using the same tool.

Installation

Installation of this tool is simple. Just download the newest version from http://www.phpmybackuppro.net/download.php.

After downloading, extract the zip file to a directory on your PHP and Apache web server accessible from browser, ie the Document Root, for example C:\XAMPP\HTDOCS. Then you will get a new folder under it, for example C:\XAMPP\HTDOCS\phpMyBackupPro.

That’s it! Now go to your web browser and point the URL of phpMyBackupPro, for example http://localhost/phpMyBackupPro.

Read more…

  • Share/Bookmark

Me-Restore database PostgreSQL dari Windows ke Linux

Kasus

Anda mempunyai database PostgreSQL yang sudah berjalan di Windows kemudian ingin direstore ke server PostgreSQL yang berjalan di Linux.

Backup Database Di Windows

  1. Jalankan PgAdmin III di Windows,
  2. Pilih database yang mau dipindahkan ke Linux
  3. Klik kanan pada database, klik Backup

    Dialog Backup PgAdmin III

  4. Isikan filename yaitu nama file backup database, nama file tersebut harus ber-extension .backup
  5. Pilih option Compress
  6. Biarkan pilihan lain
  7. Klik OK
  8. Tunggu sampai proses selesai

Read more…

  • Share/Bookmark
This site uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.6.0.