WordPress Database And Files Backup Solutions – Best Of

If you are a WordPress user, then you definitely know the importance of keeping backup copies of our files and database because there is always a risk of losing your data. How? your site might get hack (WordPress security level or server security level). What’s worst? You could lose all the files and databases. There are a lot of ways to strengthen your WordPress blog’s security but we still think one of the best way is to backup regularly so that you can re-install your files or content and roll backed to your post in no time if the site is compromised.

Here, we have chosen some of the plugins and services which can be helpful in terms of backing up your WordPress files and databases. Full list after jump.

WordPress Plugins

These plugins are used to take a back up of your critical data, files, tables and save them to your archives or any of the online storage for free or for a nominal price. Schedule the storage automatically and manage your entire database with these.

WP-DB-Backup 

WP-DB-Backup plugin creates a backup of your core database tables and also other tables in the database and gives you an option of saving your back up data either to your server or download to your computer or save get you backup file e-mailed to you.

WP-DB-Backup

Bei Fen – Backup Plugin

Bei Fen backup plugin gives you the choice of taking a backup of either your complete WordPress installation or only the files or only your database and the backups can be restored with a single click.

Bei Fen

WP Time Machine

This plugin creates an archive of your files and uploads and data and provides a connection to any of the free online storages like Dropbox, or Amazons AWS S3 and also to an FTP. You could exclude your cache directories or some of your MySQL tables which don’t start with your table prefix.

WP Time Machine

WordPress Backup

WordPress Backup plugin is used to zip your back up your images, current theme directory and your plugin directory.

WP S3 Backup

With WP S3 Backups take a backup of the parts automatically and install them to Amazon S3, a service to safeguard your important files at a comparatively lesser price.

WP S3 Backup

WordPress DB Manager

A complete plugin to optimize, repair, backup, restore, and delete the backup database and also to run your queries is offered by WP-DB Manager. Also manages the automatic scheduling of the back-up and manages your whole database.

WordPress DB Manager

WordPress EZ Backup

An administrator plugin WordPress EZ Backup create backup archives of your entire site, archives of any MySQL database chosen by you. You can view the Live log file of your backup procedure. Has an interactive Help & Auto Settings of your web server configuration.

DBC Backup Plugin

DBC Backup plugin schedules daily database backups with the wp cron system where your backup file is protected by a small hash key and are transferred to an export directory, .ht access and an imdex.html file. You can compress your backup as Gzip or Bzip2.

BackWPup

Other than taking a backup of your WordPress Blog database and files, BackWPup plugin optimizes checks & repairs the database, stores the backup either to Folder, FTP Server, Amazon S3, RackSpaceClous and sends a log or backup via e-mail.

Online Storages

Taking a backup of your data means storing it in a secure place which should also retrieves your data at a much faster rate. These online storage options helps you keep a check on your data where you can share, upload and edit your files.

Dropbox

Sync your files or your WordPress data of any size online automatically and also when new changes and files are detected and store them on Dropbox’s secure servers. Share and control the access of your files with other people. Get a storage space of 2GB for free and up to 100 GB for premium usage.

IDrive

IDrive offers you the facilities of Automatic and Continuous Backup, True Archiving, Versioning, Mapped Drive Backup and more with an online backup space of 2GB for free in IDrive Basic Package and a space of 150 – 500 GB for premium users and a 50GB pack for multiple users for Business under the IDrive Pro package.

Humyo

Humyo offers a free online storage space of 5GB for media files and 5GB for non-media files where you can access these via web only, but once you upgrade your account to Premium one, you get 100 GB storage along with automatic backup, sharing, uploading & downloading files, access via web, phone, PC, extra secure SSL encryption at a price of $69.99 per year.

Binfire

Binfire offers File hosting, Collaboration and Project Management site in its free version with 10GB storage space, file uploads of 200 MB, Private & Project web folder, File locking, Member permissions, Whiteboards, Status reports, Intuitive tasks & Milestones for projects and more.

Backup Services

The Backup services take a backup of your blog, and store them securely and restore them in case of a crash and provide you with many other services like upgrading your versions, giving you the authority of controlling your data, migrating to a new server and more.

BlogVault

blogVault creates a backup of your blog which includes the full posts, comments, images, plugins, themes and style sheets by copying them into its secure and robust servers which lets you restore the contents any time easily.

Backupify

Backupify is a service to backup your archives, cloud accounts, SaaS data, WordPress data and social media files on a daily basis to the Amazon S3 cloud with great security and a data duplication policy. You could not only backup your data but also control your data independently.

Backup Buddy

Backup Buddy schedules and backs up your data to Amazon S3 server or an e-mail or an FTP / FTPS account, Restore your WordPress site with your themes, widgets, plugins etc., on the same server or migrate it to a new server with a new name and domain like Sandbox or Playground site.  Upgrade your newer versions of the plugin in WP Dashboard

backupbuddy

Online Backup For WordPress 

Backup Technology specializes in online backup and disaster recovery and provides on-demand backup through an enterprise level backup service where the data is highly encrypted and compressed and stored in a secure data centre. Provides you an online backup of 50 MB for free with the facilities of locked and email backups.

VaultPress

VaultPress safeguards everything from our plugins, themes, comments, post-revisions with WordPress multi-cloud backups. Updates your blog with hot – fixes and protects them with zero-day vulnerabilities.

MyEASYBackup

myEASYbackup plugin performs a backup by creating a single file called dataset which compresses the data in a .zip file format and saves them outside WordPress installation directory. You could download, upload and delete your data sets.

via: http://www.hongkiat.com/blog/wordpress-database-and-files-backup-solutions-best-of/

Modbus with C#: libraries, code, utilities and examples

In this post you will find how to use nModbus with C# and how to create a simulation enviroment to test your program with Modbus.
Other useful resources that you can find in this post are:

  • using a Modbus simulator
  • Creating virtual Com ports
  • Using sniffer tools to debug the transmission
  • A Modbus TCP Client in C# with another library

Getting NModbus

The C# library that i use the most when i need Modbus communication between pc and plcs or other components is nModbus.
nModbus manages both Modbus TCP and RTU protocols, it’s well tested and sources are available. The site for nModbus is http://code.google.com/p/nmodbus/and here you can get the latest sources.

Once you extract the sources you can open the solution file, located in the src folder.

Sample code

NModbus contains many samples included in the source code. Once you open it, you can watch at the MySample project that contains many examples on how to read and write using different devices:

The two examples that i use the most are Modbus TCP and RTU, and an example of the code to use the library is this:

Modbus TCP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *  Reading
 */
TcpClient client = new TcpClient("127.0.0.1", 502);
ModbusIpMaster master = ModbusIpMaster.CreateIp(client);
// read five input values
ushort startAddress = 100;
ushort numInputs = 5;
bool[] inputs = master.ReadInputs(startAddress, numInputs);
for (int i = 0; i < numInputs; i++)
    Console.WriteLine("Input {0}={1}", startAddress + i, inputs[i] ? 1 : 0);
/*
 *  Writing
 */
ushort startAddress = 1;
// write three coils
master.WriteMultipleCoils(startAddress, new bool[] { true, false, true });

Modbus RTU

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SerialPort port = new SerialPort("COM1");
// configure serial port
port.BaudRate = 9600;
port.DataBits = 8;
port.Parity = Parity.None;
port.StopBits = StopBits.One;
port.Open();
// create modbus master
IModbusSerialMaster master = ModbusSerialMaster.CreateRtu(port);
byte slaveId = 1;
ushort startAddress = 1;
ushort numRegisters = 5;
// read five registers
ushort[] registers = master.ReadHoldingRegisters(slaveId, startAddress, numRegisters);
for (int i = 0; i < numRegisters; i++)
    Console.WriteLine("Register {0}={1}", startAddress + i, registers[i]);
byte slaveId = 1;
ushort startAddress = 1;
// write three coils
master.WriteMultipleCoils(slaveId, startAddress, new bool[] { true, false, true });

Depending on the registers that you are going to read and write you have different methods, that will call the different functions of the protocol, and that will return the results in 2 formats: ushort or bool (if you are reading multiple registers you will get array of ushorts and bools).

ITDONOTWORK

NModbus is supported by thousands of users, and you can find help on the NModbus google Group.

Testing your program with a simulation:

The most common Modbus simulator is located at http://www.plcsimulator.org/

This simulator provides both Modbus TCP and RTU protocols, and shows the content of the registers in the main windows so you can analyze the behaviour of your program directly in the tables of the simulator.

Creating Virtual COM Ports to test Modbus RTU:

While it’s easy to use TCP to analyze the Modbus TCP on the host (just create a socket with a 127.0.0.1 ip), testing Modbus RTU or ASCII may require some hardware, like a null-modem cable and 2 COM Ports.
To avoid this you can download a null modem emulator called Com0Com (open source, located at http://sourceforge.net/projects/com0com/) to create a pair of virtual com ports wich you can use to connect your simulator and software.

Sniffer tools available for free:

If you need to analyze the traffic between the 2 devices, to see what’s going on with your communication, there are 2 useful tools:
Wireshark is used to sniff ethernet packets and to decode the protocol. This tool can decode Modbus TCP protocol quite good and it’s useful to debug the transmission.
Free Serial Port Monitor is a serial port sniffer that can analyze the transmission between 2 COM Ports.

Other Modbus TCP libraries:

a good Modbus TCP library is available athttp://www.codeproject.com/Articles/16260/Modbus-TCP-class

This library offers a client with some interesting features and it’s also useful when debugging devices.

via: http://www.mesta-automation.com/modbus-with-c-sharp-libraries-examples/