Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


CDP.me - Open Source Linux Server Backups - Page 10
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

CDP.me - Open Source Linux Server Backups

16781012

Comments

  • PetaByetPetaByet Member
    edited February 2015

    @Asim, as @TinyTunnel_Tom suggests you can just clear the document root

    rm -rf /var/www/html/* or rm -rf /var/www/*

  • mike0000mike0000 Member
    edited March 2015

    @PetaByet I'm having a problem with the cPanel backups, are there more detailed logs somewhere? The email report just shows that it failed grabbing the backup:

    Backup job (e88c0fbe20bc433e8c439ca12f9ace6a) started
    Starting cPanel backup
    Backup started, waiting for it to finish
    Backup is not available yet, waiting 30 seconds and re-try.
    Re-trying
    Backup found, continuing
    Creating temporary FTP account for backup transfer
    Temporary FTP Account created
    Error downloading backup

    I can see the backup getting done, FTP account created, my cPanel host uses standard port, etc. So I'm not sure where it's failing along the way.

    Edit:

    Just to add in, I used the automated installer on a fresh minimal install of Debian - and I changed the apache settings for AllowOverride and stuff, so all that should be good.

  • @mikeyur Please pull the latest cron.php from the repo, it should now report FTP errors.

  • @PetaByet

    Array
    (
        [type] => 2
        [message] => ftp_get(): You aren't logged in
        [file] => /var/www/cron.php
        [line] => 464
    )

    I'm not quite sure what to do with this, since it's creating a temp FTP account.. not using details I provided.

    Just double checked and the ftp. subdomain is setup & working. Would it have anything to do with the server requiring user@domain for ftp username or something like that?

  • @mikeyur Just added some extra lines to cron.php which should show all errors, please try again and let me know.

  • @PetaByet

    Array
    (
        [type] => 2
        [message] => ftp_login(): Login authentication failed
        [file] => /var/www/cron.php
        [line] => 468
    )

    Yup, that's my guess. The account being created is cdpmeXXX@ - I can login fine with one of those accounts, but if you take out the @domain.. no worky. Possible that it's just trying to connect with cdpmeXXX instead of the proper username listed in cPanel?

    http://i.sprk.co/150308-2357-dkuzc.png

  • @mikeyur Committed another change, please try again.

  • @PetaByet

    Backup job (e88c0fbe20bc433e8c439ca12f9ace6a) started
    Starting cPanel backup
    Backup started, waiting for it to finish
    Backup found, continuing
    Creating temporary FTP account for backup transfer
    Temporary FTP Account created
    FTP login failed ([email protected])

    I blocked out domain.. connecting to the right user, but for some reason the mail. cname vs. ftp or just the server's IP. In this case it should still connect, since that subdomain is configured properly, but it didn't.

  • @PetaByet .. nevermind, just realized using mail.xxxxx.net is in the username - so it's grabbing the wrong domain as username

  • Okay :).

  • @PetaByet Sorry if I didn't make that clear.. instead of grabbing the proper username ([email protected]) it's tacking on the wrong domain to the username, so [email protected] - which isn't a real username.

    Any ideas? Can I hardcode an FTP login or something?

  • @mikeyur Change line 468 to
    $ftp_login = @ftp_login($ftp_connect, $tempftpuser.'@domain.com', $tempftppw);

  • does it accept backup to huber or some online store?
    or backup to a ftp?

  • @jasonnde said:
    does it accept backup to huber or some online store?
    or backup to a ftp?

    The script backups all files to the server where is it hosted.

  • sorry,I mean backup to https://hubic.com

  • tommytommy Member

    jasonnde said: sorry,I mean backup to https://hubic.com

    No. since you can't install anything on hubic.

    PetaByet said: The script backups all files to the server where is it hosted.

  • @jasonnde said:
    sorry,I mean backup to https://hubic.com

    Yeah, thought you meant that.

  • skizioskizio Member
    edited April 2015

    I tried to backup cpanel but get this error..

    Backup job (ead15b66bce7403a4028b24eb71a31f3) started
    Starting cPanel backup
    Backup started, waiting for it to finish
    Backup found, continuing
    Creating temporary FTP account for backup transfer
    Temporary FTP Account created
    Error downloading backup
    

    Can someone help me?

  • @skizio said:
    I tried to backup cpanel but get this error..

    Backup job (ead15b66bce7403a4028b24eb71a31f3) started
    Starting cPanel backup
    Backup started, waiting for it to finish
    Backup found, continuing
    Creating temporary FTP account for backup transfer
    Temporary FTP Account created
    Error downloading backup
    

    Can someone help me?

    Seems like it's a FTP error. Could you check if you can login to FTP?

  • @PetaByet said:
    Seems like it's a FTP error. Could you check if you can login to FTP?

    FTP on backup server right?
    Connection attempt failed with "ECONNREFUSED - Connection refused by server".

  • Is FTP running on the cPanel server? The following command should tell.

    telnet cpanel.server.ip.address 21

  • CloudxtnyHostCloudxtnyHost Member, Host Rep

    Great little web application. regarding the ssh options. any chance it will work with a user that can "sudo" as root (i.e. sudo su) or can it only use the root user?

  • @httpzoom said:
    Great little web application. regarding the ssh options. any chance it will work with a user that can "sudo" as root (i.e. sudo su) or can it only use the root user?

    Thank you! I'm not sure how sudo can work with phpseclib, but you are more than welcome to use a non-root user that has permission to read files and tar them etc.

  • jhjh Member

    I'm thinking about trying this out. Does anyone have experience of it working reliably?

  • @jhadley said:
    I'm thinking about trying this out. Does anyone have experience of it working reliably?

    It works. A few issues. sometimes when I add servers it deletes others.

    Some backups ain't logged on the machine but are on the server

  • KeyJeyKeyJey Member

    Issues in here, had some issues to install after some time now, and I couldn't change admin password. Now I can't access with any of the passwords.

  • Mini-Review

    I was try to use this product. And CDP.me didn't satisfy my needs.
    CDP.me is very raw.

    In the end, I went back to duplicity.

    Thanked by 1KeyJey
  • NdhaNdha Member

    @KeyJey said:
    Issues in here, had some issues to install after some time now, and I couldn't change admin password. Now I can't access with any of the passwords.

    yes, confirm i had same problem, also mysql backup not working even i follow cdp tutor for mysql backup..

    Thanked by 1KeyJey
  • KeyJeyKeyJey Member

    desperand said: In the end, I went back to duplicity.

    What is that duplicity ?

Sign In or Register to comment.