Help to create a backup file.
Have a question?
Ask the Community!

Question Asked by X-Ware

Help to create a backup file.

Best Answer not yet chosen
Hello, I need to create a ".tar.bz2" file for a backup of one directory.

I tried to do it via cPanel -> File Manager but the task never ends. So I tried to create a "cron job" but I just got an error telling me that the command can not be completed.

What I need is to generate this file: /public_html/estrategiasguate.com/edi_mail.tar.bz2 from this direcroty: /mail/_estrategiasguate.com

Can you tell me how can I do it or can you help me to create this backup ?

Thanks a lot !
  • Asked 2011-11-02 19:23
  • Hits: 11337
  • Expires in: Expired

Best Answer Chosen by InMotion Hosting Staff

Vote
0 Rate this answer as good
0
0 Rate this answer as bad
Hi X-Ware,

Thanks for posting your question. I'm more than happy to assist you today. In file manager, you should be able to select the directory and "compress." Then you will need to select the method of compression you would like. Of course, depending on the size of the directory will determine how long the process takes. Once the file is compressed you can then download the file. I've tested this out on my dev account to ensure it works as I have directed.

If you need further assistance please feel free to contact me.

Thanks!

Tim S
2011-11-03 08:02
Source(s):
Answer Question
Vote
0 Rate this answer as good
0
0 Rate this answer as bad
Hi X-Ware,

Thanks for posting your question. I'm more than happy to assist you today. In file manager, you should be able to select the directory and "compress." Then you will need to select the method of compression you would like. Of course, depending on the size of the directory will determine how long the process takes. Once the file is compressed you can then download the file. I've tested this out on my dev account to ensure it works as I have directed.

If you need further assistance please feel free to contact me.

Thanks!

Tim S
2011-11-03 08:02

Rating:
 
Please log in to rate this question.
Like this Question?

Comments

Comments 

 
0 #2 Tim S. 2011-11-03 10:21
Hi X-Ware,

Thanks for getting back to me. I'm more than happy to assist you today. The likely cause of your issues is the large size of the folder. If you attempt to do it in a cron job, the process if resource intensive will likely be killed. I would suggest splitting the folder into smaller increments and compressing each section.

If you need further assistance please feel free to contact us. Thank you!

Tim S
 
 
0 #1 X-Ware 2011-11-03 09:39
Thanks for your support. This directory ir really big, like 4 GB, so I understand it will take so long. But when I did it via the File Manager, the browser stays there and never ends.

So I decided to try using cron, can you tell me how to do it with chon ?

Thanks a lot !
 

You must log in before commenting.

Need more Help?

Search
Current Customers
Chat:Click to Chat Now
Call:888-321-HOST (4678)
E-mail:support@InMotionHosting.com
Ticket Submit a Support Ticket
Need more FTP and File Management help?
Try browsing the standard FTP and File Management category page in our Knowledge Base.
Not a Customer?
Get web hosting from a company that is here to help. Sign up today!

Follow InMotion Hosting!

 4236 Followers. Follow Us!