Take backup of Plesk-8.6 for linux

Plesk-8.6 Backup:-

This article describe how to take backup of Plesk-8.6. On Plesk backup restoration time .bak (Plesk backup file) and .map (Plesk Map file) both files are essential. So take the backup of both files. You can take backup using pleskbackup command or you can also set the cron job for this. We are describe both method below.

Manual Method:-

STEP 1:- Logged in server as root user (Super User) and run the below command.
[root@localhost ~]#/usr/local/psa/bin/pleskbackup all pleskbkp.bak

Where,
pleskbkp= Backup file name
all = Whole Plesk server backup

STEP 2:- Run the below command and take the backup of Plesk map file.
[root@localhost ~]#/usr/local/psa/bin/pleskrestore --create-map pleskbkp.bak -map pleskbkp.map

Where,
pleskbkp.map= Plesk server map file

Automatic Method:-

STEP 1:- Edit the crontab and put the script in it and save the same.
[root@localhost ~]# crontab -e
55 23 * * * /usr/local/psa/bin/pleskbackup all pleskbkp.bak
40 00 * * * /usr/local/psa/bin/pleskrestore --create-map pleskbkp.bak pleskbkp.map

STEP 2:- Run the below command and check the cron job list.
[root@localhost ~]# crontab -l
55 23 * * * /usr/local/psa/bin/pleskbackup all pleskbkp.bak
40 00 * * * /usr/local/psa/bin/pleskrestore --create-map pleskbkp.bak pleskbkp.map

No comments:

Post a Comment