+ Reply to Thread
Results 1 to 7 of 7

Thread: Uploading custom .gz thru cPanel backup restore

  1. #1
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Uploading custom .gz thru cPanel backup restore

    I was thinking, since I do most of my site development olffline (on personal server), is it possible to maybe archive it (and following folder structure on this server ofcourse) into .gz and than upload and restore it using cPanel's backup restore feature. That would save loads of time compared to FTPing, but I'm not sure what would it to files that are not in archive but already on server.
    Anyone got some input on this?
    Last edited by Torch; 05-14-2006 at 04:27 PM.

  2. #2
    Cynical's Avatar
    Cynical is offline Lord Of The Keys Cynical is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Massachusetts, USA
    Posts
    1,746

    Re: Uploading custom .gz thru cPanel backup restore

    Err... you can try it, I've never done it, but I don't see why it wouldn't work, as long as have all of the files that are already on your site (the files not in public_html) in the same structure in your archive, because I think when you restore a backup it erases what is already present... not sure about that though. Best wait for a staff reply.
    Seven: This rule is so underrated, keep your family and business completely separated.

  3. #3
    Vyriix is offline x10Hosting Member Vyriix is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    63

    Re: Uploading custom .gz thru cPanel backup restore

    cpanel extract replaces whatever files that are having same file name inside your public_html.

    Yes it's possible provided you have the correct permissions set in ur tar file, or u have to set the correct permissions after you extracted the files.

    Alternately, you can open a few ftp sessions at a time and upload ur files part by parts

  4. #4
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Re: Uploading custom .gz thru cPanel backup restore

    That's what I'm trying to avoid, uploading one by one. Because I have pretty large site structure and rather unstable connection ATM so it times me out from time to time when FTPing.

    Anyway, my main concern is if cPanel will first delete all already existing files and than restore, or will it just replace already existing leaving the files that are not in archive untouched?

  5. #5
    Vyriix is offline x10Hosting Member Vyriix is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    63

    Re: Uploading custom .gz thru cPanel backup restore

    it will do the latter one, it will leave the files that are not in archive untouched. Unstable connection as in, getting timeouts often? Most FTP softwares comes with automated queing uploading system and will auto reconnect and resume when the connection fails. If each the of the files are rather small in size, it should be no probelm to upload through ftp, and will be faster if u open multiple ftp sessions at once.

  6. #6
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Re: Uploading custom .gz thru cPanel backup restore

    Speed is another issue I mentioned in first post, and the main reason I want to try this.
    Command parsing goes rather slow (it's not issue with the FTP software I'm using nor this host, just my current connection) and each file (no matter how small) takes at least 3-5 second to upload. Multiply that by 500+, and that is a lot of time. So it's much faster to just upload them all in single archive. BTW, I'm not talking about doing just changes on individual files, I mean the upload of whole site or large amount of files.

    Anyway, I'll backup the site and try uploading my .gz... Let's see what happens

  7. #7
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Re: Uploading custom .gz thru cPanel backup restore

    And it works perfectly!! :D

+ Reply to Thread

Similar Threads

  1. [cPanel] Auto MySQL backup
    By Stanz in forum Tutorials
    Replies: 8
    Last Post: 10-04-2011, 11:01 AM
  2. possible cpanel backup problem
    By -Daniel in forum Free Hosting
    Replies: 3
    Last Post: 07-05-2005, 08:19 PM
  3. digital.exofire.net | Support | problem#1 = " cPanel "
    By kaliforna in forum Free Hosting
    Replies: 10
    Last Post: 04-12-2005, 11:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers