Skip to main content

How to backup with encryption or other protection?

Comments

7 comments

  • cPanelMichael
    Hello :) There are no native features that will automatically encrypt backup archives after generation. You can vote and add your input to the following feature request: [url=http://features.cpanel.net/responses/remote-backup-via-ssl-and-with-encrypted-archives]Remote Backup via SSL and with encrypted archives | cPanel Feature Requests If you plan to develop a custom script to do this, then you may want to look into the package account hookable events: Hookable Events - Package Account Thank you.
    0
  • lorio
    [quote="postcd, post: 1640661"> I found tool called duplicity, but it requires python 2.4 while my WHM has 2.6, i probably rather wont mess with downgrade right?
    You can install duplicity via yum to be compatible with CentOS (if you use CentOS as a OS). Take a look at Hello :) to the following feature request: [url=http://features.cpanel.net/responses/remote-backup-via-ssl-and-with-encrypted-archives]Remote Backup via SSL and with encrypted archives | cPanel Feature Requests
    Thanks for pointing out my request. I posted it Januar 2009. There is always hope ;-)
    0
  • postcd
    yes, yum is that which reports above issue with perl version.
    0
  • lorio
    Would you mind posting the whole message from the shell? What is the output for: yum install duplicity
    0
  • postcd
    Hello, there it is: /http://pastebin.com/y4EciYH7
    0
  • lorio
    root@* [/]# yum install duplicity Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.wiredtree.com * epel: mirror.steadfast.net * extras: mirror.sanctuaryhost.com * rpmforge: mirror.teklinks.com * updates: mirror.raystedman.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package duplicity.x86_64 0:0.4.11-3.el5.rf will be updated ---> Package duplicity.x86_64 0:0.6.22-3.el6 will be an update --> Processing Dependency: python-boto >= 0.9d for package: duplicity-0.6.22-3.el6.x86_64 --> Processing Dependency: python-GnuPGInterface >= 0.3.2 for package: duplicity-0.6.22-3.el6.x86_64 --> Processing Dependency: ncftp >= 3.1.9 for package: duplicity-0.6.22-3.el6.x86_64 --> Processing Dependency: python-paramiko for package: duplicity-0.6.22-3.el6.x86_64 --> Processing Dependency: librsync.so.1()(64bit) for package: duplicity-0.6.22-3.el6.x86_64 --> Running transaction check ---> Package librsync.x86_64 0:0.9.7-15.el6 will be installed ---> Package ncftp.x86_64 2:3.2.4-1.el6 will be installed ---> Package python-GnuPGInterface.noarch 0:0.3.2-6.el6 will be installed ---> Package python-boto.noarch 0:2.27.0-1.el6 will be installed ---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be installed --> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch --> Processing Dependency: python-crypto for package: python-paramiko-1.7.6-1.el5.rf.noarch --> Running transaction check ---> Package python-crypto.x86_64 0:2.0.1-22.el6 will be installed ---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be installed --> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch --> Finished Dependency Resolution Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge) Requires: python(abi) = 2.4 Installed: python-2.6.6-52.el6.x86_64 (@updates) python(abi) = 2.6 Available: python-2.6.6-51.el6.x86_64 (base) python(abi) = 2.6 You could try using --skip-broken to work around the problem ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows: duplicity-0.4.11-3.el5.rf.x86_64 has missing requires of python(abi) = ('0', '2.4', None) duplicity-0.4.11-3.el5.rf.x86_64 has missing requires of python-GnuPGInterface sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
    It looks a bit messy. I see CentOS 5 and Centos 6 packages. What is your OS? The problem here is that you have python packages installed from different repositories. You have installed rpmforge as a repository. I would get rid of rpmforge and stick to epel if possible. Take a look at [url=http://www.cyberciti.biz/faq/fedora-sl-centos-redhat6-enable-epel-repo/]CentOS / RHEL / Scientific Linux 6 Enable & Install EPEL Repo to learn how to handle repostories and find the installed packages from different repositories.
    0
  • postcd
    thank you for help fixing it, i see i had el5 duplicity, while my os is Centos 6.x 64bit i removed rpmforge and did yum clean-all; then yum install duplicity and i think it works. except it says "ssh: Could not resolve hostname: Name or service not known" when connecting remote server with duplicity.
    0

Please sign in to leave a comment.