CPanel backups: Difference between revisions
Jump to navigation
Jump to search
Created page with "==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/..." |
|||
| Line 16: | Line 16: | ||
mkdir /var/b2backup | mkdir /var/b2backup | ||
chmod 700 /var/b2backup | chmod 700 /var/b2backup | ||
===Copy scripts=== | |||
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. | |||
Revision as of 08:41, 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
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.