Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2001
    Posts
    929

    FTP backup by CRON?

    I'm not a great expert in SSH or anything but I was wondering...

    I have a resellers account on a Cpanel server. I was thinking is there anyway I could perhaps backup automatically every week from each of my hosted accounts to a seperate FTP server?

    If anyone knows could you point me in the right direction of where to start.

    Cheers

  2. #2
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    You could create a script to ftp all the files to your backup site, but I would not suggest it. ftp sends the password across the network in clear text.

    Take a look at "rsync". It only sends the changed files and uses SSH as a protocal.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  3. #3
    Join Date
    Aug 2000
    Location
    Tacoma, Washington
    Posts
    9,576
    You might want to take a look at this too:
    http://reoback.penguinsoup.org/

    Ran across it a week or so ago.

    Greg Moore
    Former Webhost... now, just a guy.

  4. #4
    Join Date
    Oct 2001
    Location
    san diego
    Posts
    256
    or use:
    scp
    which is a secure copy option

  5. #5
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    jahsh,

    rcp used scp (ssh) to do the copy. The advantage is that it only sends the files that changed and deletes the files on the recieving side (if you want) that were deleted on the sending side.

    By only sending the changed files, you save a lot of transfer/time.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  6. #6
    Join Date
    Jun 2001
    Posts
    929
    Thanks i'm looking through the mentioned methods. I would ideally like one that doesn't require any special componants or modules installed as I don't think I can do this as a reseller.

    I'll report back

    Cheers

  7. #7
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    I'm pretty sure at least Red Hat ships with rsync. Try "locate rsync". OTOH, you should be able to compile/install your own copy even if it's not installed.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •