Backing Up the Entire Server
To backup the server configuration settings and all user data you have on your hosting machine:
- Log in as root to your server.
- Change to the directory, where Plesk is installed:
cd /plesk_installation_directory/bin
- Run the following command:
./pleskbackup all
Where the
is a target backup file name with absolute or relative path. The data will be backed up without disruption of hosting services and downtime. The resulting backup archive will be placed in the directory you specified.
To Change the plesk backup directory. please change the location of the directory in the plesk conf file
-------------
nano -w /etc/psa/psa.conf
# Backups directory
DUMP_D /var/lib/psa/dumps
-------------
to run backup
/usr/local/psa/bin/pleskbackup --all .
================
Scheduling Backups
To schedule backup of the server configuration and all user data:
- Click the Server shortcut in the navigation pane.
- Click the Scheduled Tasks icon in the Services group.
- Click Add New Task.
- Specify when to run the backup.
- Minute - enter the value from 0 to 59
- Hour - enter the value from 0 to 23
- Day of the Month - enter the value from 1 to 31
- Month - enter the value from 1 to 12, or select the month from a drop-down box
- Day of the Week - enter the value from 0 to 6 (0 for Sunday), or select the day of the week from a drop-down box
You can schedule the time using the UNIX crontab entry format. In this format, you can
- enter several values separated by commas. Two numbers separated by a hyphen mean an inclusive range. For example, to run a task on the 4th, 5th, 6th, and 20th of a month, type 4-6,20.
- insert an asterisk to specify all values allowed for this field. For example, to run a task daily, type * in the Day of the Month text box.
To schedule the task to run every Nth period, enter the combination */N, where N is the legal value for this field (minute, hour, day, month). For example, */15 in the Minute field schedules the task to start every 15 minutes.
You can type the contracted names of months and days of the week, which are the first three letters: Aug, Jul, Mon, Sat, etc. However, the contracted names cannot be separated with commas or used together with numbers.
- Specify the command in the Command input box:
usr/local/psa/bin/pleskbackup all
Where the
is a target backup file name with absolute or relative path to its location. - Click OK.
The data will be backed up without disruption of hosting services and downtime. The resulting backup archive will be placed in the directory you specified.
To schedule backup of a user account and user's sites:
- Click the Clients shortcut in the navigation pane.
- Click the client name you need.
- Click the Backup icon in the Tools group.
- Click the Schedule Backup icon in the Tools group.
- Specify when and how often to perform backup.
- To enable recycling of backup files, clear the Unlimited check box and type the maximum allowed number of files in the repository.
When this limit is reached, the oldest backup files are removed.
- Specify the combination of symbols that backup file names should begin with.
This will help you distinguish between backup files.
- Select the repository where you would like to store the backup file.
- To create a multivolume backup, select the respective check box and specify volume size in megabytes.
- To save the user account settings, select the Back up client's preferences and account details check box.
- Select the domains to back up.
- To back up all domains, select the check box in the upper left corner of the list of domains.
- To back up individual domains, select the corresponding check boxes in the list of domains.
- Click the Enable icon in the Tools group.
- Click OK.
To schedule backup of a single domain (web site):
- Click the Domains shortcut in the navigation pane.
- Click the domain name you need.
- Click the Backup icon in the Tools group.
- Click the Schedule Backup icon in the Tools group.
- Specify when and how often to perform backup.
- To enable recycling of backup files, clear the Unlimited check box and type the maximum allowed number of files in the repository.
When this limit is reached, the oldest backup files are removed.
- Specify the combination of symbols that backup file names should begin with.
This will help you distinguish between backup files.
- Select the repository where you would like to store the backup file.
- To create a multivolume backup, select the respective check box and specify volume size in megabytes.
- Click the Enable icon in the Tools group.
- Click OK.
http://download1.swsoft.com/Plesk/Plesk8.0/Doc/plesk-8-backup-restore-users-guide.pdf
Optimizing Server Performance
If you serve numerous web sites, you may want to configure the scheduled backup and restore processes, so that they do not consume much server resources.
To reduce the server load:
- Go to Server > Backup Settings.
- Specify the number of simultaneous backup processes in the Maximum number of simultaneously running scheduled backup processes box. The default value is 10. Type a lesser value.
- Select the Execute scheduled backup processes with low priority check box.
- Click OK.
If you need any assistance, We can provide you for a small fee. please email us mayur.c24@gmail.com
0 comments:
Post a Comment