Forums / General / How to make a backup of VAR dir

How to make a backup of VAR dir

Author Message

Ted Striker

Saturday 14 April 2007 3:57:13 am

Hi,

I'm trying to make a Backup of the whole "var" dir, and it's virtually imposible. I don't have SSH or TelNet access to the server, to make a "tar" file on the commad line, so I have to do it via FTP.

But my CuteFTP Pro client fails to manage long name nested dirs on VAR dir.

Is there any way to make a BackUp of this dir, any php scrip to "tar" it and them donwload? Any other idea would be welcome :)

Thank you!

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Mark Marsiglio

Saturday 14 April 2007 4:38:24 am

You probably don't need the whole var folder. Try backing up just the var/[yoursiteaccess]/storage directory. The other files (caches, logs, etc) are typically not backed up.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Ted Striker

Sunday 15 April 2007 4:03:14 am

Thanks for the answer.

Yeah, I know that I only need the "/var/[siteaccess]/storage", but still have the same prolem, in a complex site, the nested folders can be really loooooooooong, and cannot download them via FTP, some of them always fail...

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Heath

Sunday 15 April 2007 4:14:45 am

The descriptions you give seem to point problems with your own ftp client application and or operating system.

I'd imagine you could use a different ftp client like say, ncftp and a unix-like operating system to retrieve the var directory recursively successfully.

hth,

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org