How to run backup on plesk 10+ servers

ARUN Posted in BACKUP, PLESK BACKEND
0

cd /usr/local/psa/bin/

./pleskbackup –help

TAKE BACKUP SERVER WIDE :

./pleskbackup server -vv

TAKE BACKUP DOMAIN WISE :

./pleskbackup domain-name

Forcefully restore cpanel backup file from a specific location.

ARUN Posted in BACKUP, WHM BACKEND
0
Forcefully restore cpanel backup file from a specific location.
/scripts/restorepkg --force /home/USERNAME/backup-11.28.2011_23-00-USER.tar.gz

Install and configure NFS server

ARUN Posted in BACKUP
0

yum install nfs-utils nfs4-acl-tools portmap

How to change plesk default backup location

ARUN Posted in BACKUP, PLESK BACKEND
0
vi /etc/psa/psa.conf
# Backups directory
DUMP_D /var/lib/psa/dumps     –> Change this….and try
Note : I never got a chance to try this

Where is default plesk backup location

ARUN Posted in BACKUP, PLESK BACKEND
0

/var/lib/psa/dump

How to install rdiff-backup on centos 5.5

ARUN Posted in BACKUP, INSTALLATION
0

===x86_64 ===
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm
yum install rdiff-backup

==== 32 bit ====

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm

yum install rdiff-backup

More Details : http://wiki.rdiff-backup.org/wiki/index.php/Installations

Configure samba

ARUN Posted in BACKUP
0

Open /etc/samba/smb.conf and include the lines below to the bottom of that file.

vi /etc/samba/smb.conf

[username]
comment = users backup
path = /home/username/
valid users = username
public = no
writable = yes
printable = no
create mask = 0765

Save that file and issue the command below :

smbpasswd -a username

Give the password

/etc/init.d/smb restart

WHM backup conf file

ARUN Posted in BACKUP
0

cat /etc/cpbackup.conf

To check if backup is enabled on whm server.

[email protected] # grep BACKUPENABLE /etc/cpbackup.conf

BACKUPENABLE no

[email protected] #

Backup log file :  /usr/local/cpanel/logs/cpbackup/