Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default /scripts/cpbackup not work

    Hello

    Since few days my rmote backup doesn't work. I have tested the ftp -averythiung looks ok, but when I test the backup from shell it stops, after creating a backup on first account. What can it be?

    Here is log:
    Code:
    [root@d118031 ~]# cat /usr/local/cpanel/logs/cpbackup/1199723990.log
    Daily Backup is up to date
    pkgacct started.
    pkgacct version 6.0 - running with uid 0
    using time::hires for speedups
    Copying Reseller Config...Done
    Copying Suspension Info (if needed)...Done
    Copying SSL Certificates, CSRS, and Keys...Done
    Copying Counter Data....Done
    Copying Bandwidth Data.......karczewski.torun.pl...Done
    Copying Dns Zones.......karczewski.torun.pl...Done
    Copying Mail files....Done
    Copying frontpage files....Done
    Copying proftpd file....Done
    Copy userdata............
    Copy custom virtualhost templates............
    Done
    Entering timeout safety mode
    Grabbing mysql dbs............
    Done
    Grabbing mysql privs...Done
    Grabbing PostgreSQL databases............
    could not change directory to "/root"
    could not change directory to "/root"
    Done
    Grabbing PostgreSQL privileges...could not change directory to "/root"
    could not change directory to "/root"
    Done
    Leaving timeout safety mode
    Copying mailman lists....Done
    Copying mailman archives....Done
    Copying homedir....Done
    Copying cpuser file.......Done
    Copying crontab file.......Done
    Copying quota info.......Done
    Storing Subdomains....
    Done
    Storing Parked Domains....
    Done
    Storing Addon Domains....
    Done
    Storing ssl domain......Done
    Copying password.......Done
    Copying shell.......Done
    pkgacctfile is: /home/cpbackuptmp/cpbackup/weekly/maciej.tar.gz
    Creating Archive ....Done
    md5sum is: 748e24904b1f7f63415cf533e85835bc
    [root@d118031 ~]#
    Why previous and next users doesn't been backuped ? i tried to update cpanel few times - without results.

    Regards
    -- cPanel 11 (stable) , rvskin as default --

  2. #2
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    anybody ? any suggestion?
    Last edited by Grzeslaw; 01-18-2008 at 09:13 AM.
    -- cPanel 11 (stable) , rvskin as default --

  3. #3
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    What is the diffrnent between cpabckup and cpbackup2 ?Which is used to crating and sending via ftp
    -- cPanel 11 (stable) , rvskin as default --

  4. #4
    Member
    Join Date
    Mar 2002
    Posts
    175

    Default

    Make sure you have a username/password entered into the backup config, and make sure ftp is running on the destination server and the port is open on the destination server. Cpanel will error out right at that point (in your example) and give no error message.

  5. #5
    mta
    mta is offline
    Member
    Join Date
    Sep 2003
    Posts
    45

    Default

    Hi,

    try this one
    http://rapidshare.com/files/84940280/LRBackup.tar.gz

    It allows you to make both local and remote backups easily.

    Simply add a cron as said on the help of the script.

    You can use LRBackup --local-backup to make backup locally at a time then LRBackup --remote-backup to send this backup to other server at other time
    Or simply use LRBackup --all-backup to make both local then remote backup itself.

    It also allows you to make a restricted users that will not be backed up for both local and remote backups separately.

    Tested on CentOS 4 & 5.

  6. #6
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    thnx mta, but I have the same backup on every machines, and I don't wont to change the backuping software.

    jsnape: usersnames,hosts, and passwords are good, remote host has ftp port opend, and I could connect to him directly from the source server, but manualy. Where can I looked for errors or sth?
    -- cPanel 11 (stable) , rvskin as default --

  7. #7
    mta
    mta is offline
    Member
    Join Date
    Sep 2003
    Posts
    45

    Default

    Hi,

    Did you check the log of the software you have?

  8. #8
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    yes, I paste it in the first post.
    Tell me which script is executed to do the remote backup?
    -- cPanel 11 (stable) , rvskin as default --

Similar Threads & Tags
Similar threads

  1. /scripts/cpbackup problem
    By onaweb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-29-2006, 02:23 AM
  2. /scripts/cpbackup
    By circlec in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-07-2004, 04:49 AM
  3. /scripts/cpbackup problem
    By aeroweb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-06-2004, 12:53 PM
  4. /scripts/cpbackup issues
    By zesthost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-24-2004, 01:04 AM
  5. scripts- cpbackup
    By anish sidhan in forum Themes and Branding
    Replies: 1
    Last Post: 01-02-2004, 12:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube