remove all backuppc files

Discussion in 'Installation/Configuration' started by 010101, Mar 8, 2011.

  1. 010101

    010101 New Member

    Hi

    I'm trying to setup backuppc on a debian 5 server where I have just installed ISPconfig 3 following a tutorial here http://www.howtoforge.com/perfect-server-debian-lenny-debian-5.0-with-bind-and-dovecot-ispconfig-3

    I tried installing backuppc but I want to start fresh, totally remove it and install it following another guide from howtoforge.com (http://www.howtoforge.com/linux_backuppc)

    I have done:
    apt-get remove backuppc
    apt-get purge backuppc
    updatedb
    locate backuppc > this still shows hundreds of results like the following ones
    Code:
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS19mysql
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS19spamassassin
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20backuppc
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20clamav-daemon
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20clamav-freshclam
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20jailkit
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20openbsd-inetd
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20postfix
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20pure-ftpd-mysql
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS20rsync
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS21quotarpc
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS23ntp
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS24dovecot
    /var/lib/backuppc/pc/localhost/0/f%2fetc/frc2.d/fS89cron
    
    when I try again to install backuppc I don't get the blue setup screens as I got the first time, I suppose it's due to some configuration file being still there.

    How could I remove everything related to backuppc and start with a fresh install?

    thank you :)
     
  2. Rudika79

    Rudika79 New Member

    Hi,

    The "apt-get purge backuppc" command need to be delete every files which belong to backuppc program. Maybe remove script is broken.

    Install first with apt-get and after run debconf command to get configuration screen.

    To get back the blue configuration screen you can use:
    Code:
    debconf backuppc
    Rudolf
     
  3. 010101

    010101 New Member

    thank you

    with broken you mean the remove script of backuppc or the remove option of apt-get? I guess the first one, apt-get seems to be working as expected.

    I'll try reinstalling it as you suggested

    any idea how to safely remove all those files ( avoiding manually removing them one per time... )
     
  4. Rudika79

    Rudika79 New Member

    I meant remove script is broken. Maybe you can ask at debian forum for this problem. I tried remove couple package of my debian install and I didn't have any problem (didn't try with backuppc!).

    You don't need to remove one program from debian if you want to reconfigure. Most of configuration file you can find in /etc directory. Every program putting there the configuration files. Maybe for backuppc is /etc/backuppc directory. And if you don't want to mess with manually edit config files then you have debconf program to run package configuration script which running during first install.

    Rudolf
     
  5. 010101

    010101 New Member

    solved adding

    Allow from all

    at the end of /etc/backuppc

    now I can access backuppc using the username and password that were assigned during the setup

    I still don't know how to remove those files for which I opened this thread, but the important thing is fixed
     

Share This Page