CPanel backups: Difference between revisions
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
===Install duplicity=== | ===Install duplicity=== | ||
yum install gcc python-devel librsync-devel python-lockfile | easy_install pip | ||
pip install b2 | |||
yum install gcc python-devel librsync-devel python-lockfile python-fasteners | |||
cd /root | cd /root | ||
wget https://code.launchpad.net/duplicity/0.7-series/0.7.16/+download/duplicity-0.7.16.tar.gz | wget https://code.launchpad.net/duplicity/0.7-series/0.7.16/+download/duplicity-0.7.16.tar.gz | ||
Latest revision as of 20:02, 23 January 2018
Setup
Install duplicity
easy_install pip pip install b2 yum install gcc python-devel librsync-devel python-lockfile python-fasteners 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.