CPanel backups: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 18: | Line 18: | ||
===Copy scripts=== | ===Copy scripts=== | ||
yum install pbzip2 | |||
Copy /usr/local/sbin/b2backup and the associated /etc/cron.weekly/b2backup scripts from cpanel44002 on to the new server. | Copy /usr/local/sbin/b2backup and the associated /etc/cron.weekly/b2backup scripts from cpanel44002 on to the new server. | ||
Revision as of 15:32, 23 January 2018
Setup
Install duplicity
yum install gcc python-devel librsync-devel python-lockfile cd /root wget https://code.launchpad.net/duplicity/0.7-series/0.7.16/+download/duplicity-0.7.16.tar.gz tar xzvf duplicity* cd duplicity* python setup.py install --prefix=/usr/local
Set up directories
mkdir /var/log/b2backup chmod 700 /var/log/b2backup mkdir /var/b2backup chmod 700 /var/b2backup
Copy scripts
yum install pbzip2
Copy /usr/local/sbin/b2backup and the associated /etc/cron.weekly/b2backup scripts from cpanel44002 on to the new server.
Turn off existing backups
Make sure cPanel is no longer backing up to talkie.