Archive for the tag 'Backups'

How to extract web files, databases etc from Plesk backup manually?

If you have not so big dump file, for example 100-200MB, you can unzip it and open in any local Email client. Paths of the dump will be shown as attachments. Choose and save needed one then unzip it.

Other Way - It can be done using mpack tools to work with MIME files. This packet is included into Debian:

# apt-get install mpack

For other Linux systems you can try to use RPM from ALT Linux:

ftp://ftp.pbone.net/mirror/ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/i586/RPMS/mpack-1.6-alt1.i586.rpm

or compile mpack from the sources: http://ftp.andrew.cmu.edu/pub/mpack/.
- Create an empty directory to extract the back up file:

# mkdir recover
# cd recover

and copy backup into it.By default Plesk backup is gzipped (if not, use cat), so run zcat to pass data to munpack to extract content of directories from the backup file:

# zcat DUMP_FILE.gz > DUMP_FILE
# cat DUMP_FILE | munpack

In result you get the set of tar and sql files that contain domains’ directories and databases. Untar the needed directory. For example if you need to restore the httpdocs folder for the DOMAIN.TLD domain:

# tar xvf DOMAIN.TLD.htdocs

Reference: http://parallels.com/

SBDavid

Scheduling Backups in Plesk

To schedule backing up of data:

Go to the backup files repository corresponding to the type of data you want to back up:
To back up server settings and all users’ data, go to Home > Backup Manager (in the Server group).

To back up a user account with user’s sites, go to Resellers > reseller’s name > Backup Manager (in the Files group) or Clients > client’s name > Backup Manager (in the Files group).

To back up a Web site, go to Domains > domain name > Backup Manager (in the Files group).
Click Scheduled Backup Settings.

Select the Activate this backup task check box and specify the following:

When and how often to run the backup.
Backup file name.

Splitting of the backup file. To create a multivolume backup, select the respective check box and specify volume size in megabytes. Note that volume size cannot exceed 4095 megabytes.

Location where to store the backup file. Select the repository where you would like to store the backup file.
Maximum number of backup files stored in the repository. Type a number if you want to recycle backup files: When this limit is reached, the oldest backup files are removed.

E-mail notification on backing up errors. If you want to send an e-mail notice when something goes wrong during backing up, type the e-mail address you need.
What data to back up. You can back up only settings, or settings and user data.
Click OK.

Reference : http://parallels.com/Plesk/