Professional Documents
Culture Documents
TaoPix Backup FAQ-80-en
TaoPix Backup FAQ-80-en
Solution
Select the Data Export menu from the left hand side, and then select your
'mediaalbum' (or possibly 'taopix') database.
Page 1 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
Click HERE to download an example batch file for your Taopix Control Centre
Database (that you can run via a Windows Scheduled Task) to automate
your daily MySQL backup process.
cd %filepath %
--------------------------------------------------
Page 2 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
The script sets a path to save the backups to, it then backups up the database
including all stored procedures and triggers. It then zips the backup file (7-zip must
be installed on the machine for this to work), and then renames the zipped file with
a date and timestamp.
If you are backing up to a drive other than C: then you will need to enter a C:
command at the start of the script to change the drive so the mysqld command can
run, and then revert the drive back to the appropriate letter after the mysqls
command (i.e. the drive letter with a colon where you are writing the file.sql) so the
file.sql can be loacted by 7zip.
Click HERE to download an example batch file for your Taopix Online
Databases (that you can run via a Windows Scheduled Task) to automate
your daily MySQL backup process.
cd %filepath %
--------------------------------------------
Please note: you will need to be logged into the Portal first to be able to
access these files
For the Control Centre database backup, <databasename> will need replacing with
either mediaalbum or taopix
Page 3 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
set filepath at the start of the scripts will need updating to whereever you wish to
save backups to.
Please also check that your MySQL Server directory is at the path specified.
Give the task a name (ie Taopix Daily BD Backup) and choose the Run
whether user is logged on or not option in Security Options section.
Page 4 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
Page 5 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
Go to 'Actions' and select 'New' --> click Browse and go to the location
where you have saved your .bat file
Click OK twice and you will see the task added (you may be prompted to
enter your users password).
As well as the Control Centre database you must backup the following Taopix
Control Centre folders externally (not on the same machine). You could use Amazon
Page 6 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en
Other Taopix KB Articles
Glacier or backup to a Tape Drive if you have the server local.
Path Contents
..\TAOPIX\MediaAlbumServer\Public Auto Update Files and Customer Order Files
..\TAOPIX\MediaAlbumWeb\config Crucial Taopix Configuration Details
..\TAOPIX\MediaAlbumWeb\Branding Your unique Brand customisations
..\TAOPIX\MediaAlbumWeb\Customise Your Customisations and API Scripts
..\TAOPIX\MediaAlbumWeb\webroot\Branding Your unique Brand customisations
..\TAOPIX\MediaAlbumWeb\webroot\images Your custom image files
..\TAOPIX\MediaAlbumWeb\webroot\css Your custom css files
..\TAOPIX\MediaAlbumWeb\webroot\OrderData\Th Customer Order Thumbnails
umbnails
As well as the Online databases you will want to consider backing up the following
folders externally (not on the same machine). You could use Amazon Glacier or
backup to a Tape Drive if you have the server local.
Path Contents
..\TAOPIX\taopixonline\Data Includes Order Thumbnail Data
..\TAOPIX\taopixonline\site\config Crucial Taopix Configuration Details
..\TAOPIX\taopixonline\site\Branding Your unique Brand customisations
..\TAOPIX\taopixonline\site\webroot\Branding Your unique Brand customisations
..\TAOPIX\taopixonline\site\webroot\images Your custom image files
..\TAOPIX\taopixonline\site\webroot\css Your custom css files
Within your backup software you need to make sure that Backup Open Files is NOT
selected. Backups should also be performed without locks.
Do NOT use the Advance Open File option if available in your software.
Do NOT directly attempt to backup the MySQL folders and files.
Page 8 / 8
(c) 2015 Taopix KB <kb@taopix.com> | 22-09-2015 15:29
URL: http://kb.taopix.com/index.php?action=artikel&cat=6&id=80&artlang=en