Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

[Added] Backup button

Information about updates, news, Code Library
Post Reply
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

[Added] Backup button

Unread post by admin »

This will create an instant Database Backup (Database dump) using the open source library Mysqldump.php.

It is important to create and keep backups of your nuBuilder database to ensure you are able to restore them in the event of data loss. Downloading copies in the form of .sql files, can save you unnecessary stress and prevent future headaches.
backup.png
backup2.png
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: [Added] Backup button

Unread post by admin »

admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: [Added] Backup button

Unread post by admin »

To show a confirm message before running the backup, add this JS in Setup -> Header:

Code: Select all

function nuRunBackup() {

    var r = confirm("Run the Backup?");
    if (r == true) {
        nuMessage(nuTranslate("Backup is running") + "...");
        nuRunPHPHidden("nubackup", 0);
    }

}
Post Reply