Can I delete all files in g2data_abc123/cache ?

ycc

Joined: 2008-08-18
Posts: 25
Posted: Sun, 2011-05-01 02:35

Hello guys,

Thanks for all help I have got here in the past.

My question now regards backup, I have to run over a poor connection. I run Gallery 2.3.1

As I understand a complete backup includes
1. the database
2. all files in (all sub-folders of) the g2data_xyz123 folder
3. the files in the main gallery2 folder including config.php and .htaccess (if present)

Since my connection is poor my question is this:

Can I remove any files from the backup to make it easier to backup.
I think my g2data_XYZCODEXYZ/cache folder contains thousands of files. Can I just delete these by ftp without anything happening to my installation or backup? (except maybe running more slowly)

Thanks for the really useful software you are producing and maintaining .

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2011-05-01 06:47

FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!

 
ycc

Joined: 2008-08-18
Posts: 25
Posted: Sun, 2011-05-01 12:45

Thanks nivekiam,
As I interpret your excellent FAQ I should not try to delete cache by FTP but rather through the admin control panel/maintenance.
Thanks.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2011-05-02 02:22

It's unwise to delete cache/images because of significant performance issues. You can delete the rest any way you like; one way is through the admin interface.

 
ycc

Joined: 2008-08-18
Posts: 25
Posted: Mon, 2011-05-02 04:54

I just checked my
g2data_abc123/cache
there is no g2data_abc123/cache/images

g2data_abc123/cache only contains the following folders:
derivative
entity
module
theme

I am on a slow connection and cannot check in detail, but my impression is that these four folders contain many thousands of files (guess: 6-8000).
My Gallery2 installation contains about 1500 pics and very little data about the pictures.

Thanks (I am honestly a very content user of G2)

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2011-05-02 12:10

You are getting distracted. Just follow the instructions in the FAQ link provided earlier.

--
dakanji.com

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2011-05-02 14:19

I'm sorry - my bad - I meant cache/derivative - that's where the resized images, thumbnails, etc go. Unwise to delete them.