Introduction
As you already know, taking backups of your content is important. [1]
Backing up forum data
In order to back up your userbase, threads and posts, you are going to have to copy your database. There are several ways to do this, but the easiest way is by using phpmyadmin[2]
Using phpmyadmin to take a database backup
Using SSH / the command line
Making backups using the command line or SSH is of course also possible. This is generally done with the mysqldump command like this:Code: [Select] Where user is the Wedge database user or root. Password is this users password (note that there is no space between -p and the password), database_name is the database name you used for Wedge and dumpfilename.sql is the name and location of the backup file (ie: /home/bob/backup.sql). Your backup file is now available in that location. To conserve bandwidth you might want to compress the file. For simplicity and compatibility we recommend you use bzip or gzip compression, as these can be imported via phpmyadmin easily as long as they're under 8MB or your PHP max limit.
Backing up settings and themes
In order to back up most of your settings, themes and add-ons, you simply have to backup your forum files using FTP or another remote file administration program.
See also
Restoring backups
Automated backups
As you already know, taking backups of your content is important. [1]
Backing up forum data
In order to back up your userbase, threads and posts, you are going to have to copy your database. There are several ways to do this, but the easiest way is by using phpmyadmin[2]
Using phpmyadmin to take a database backup
- Log on to your phpmyadmin page. It is usually found at mysite.com/phpmyadmin or in an admin panel at your host.
- Click your way into “databases” and find the one you instructed Wedge to install to. Click it.
- Press export
- Make sure all the tables are selected. You can do this by pressing “select all”. Ensure that you've got SQL marked as the desired output.
- At the bottom, turn on bzip compression. This will severely shrink (75-80%~) the size of the backup, which can get fairly huge with larger forums.
- Click “Go”
- Make a nice cup of tea and wait for your file to be downloaded.
Using SSH / the command line
Making backups using the command line or SSH is of course also possible. This is generally done with the mysqldump command like this:
mysqldump -u user -ppassword database_name > dumpfilename.sql
Backing up settings and themes
In order to back up most of your settings, themes and add-ons, you simply have to backup your forum files using FTP or another remote file administration program.
See also
Restoring backups
Automated backups
1. | And if you don't know now, you will know when your data gets lost or corrupted someday. |
2. | If you don't know if you have phpmyadmin, ask your provider. phpmyadmin can sometimes be accessed from an admin panel on your webhost, or on yoursite.com/phpmyadmin. |