Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12404
Latest: azaratir
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39925
Total Topics: 7028
Most Online Today: 69
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 97
Total: 98

Author Topic: Downloads folderm  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 102
    • View Profile
Downloads folderm
« on: March 21, 2017, 07:22:23 am »
Since installing the mod I set it up for only one folder. Now this folder has reached the gut busting size of 1GB. I have now set it for multiple folders.

We have a cron job that runs a backup for the whole site and it nows seems that the operation, at times, doesn't complete. This then leaves the backup file  in the temp backup folder instead of deleting it.

My only thoughts to the reason why the backup doesn't complete is the file size which is getting on for 1.5GB.

What I can do is to omit certain folders in the backup process to reduce the size of the backup.

So my question is:

Is there an easy way to create folder 0 in the Downloads and then transfer the files to it then associate those files with the posts they originated in? By doing this I can exclude folder 0 from the backup process and substantially reduce the size of the backup file.

I do hope you understood that.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: Downloads folderm
« Reply #1 on: March 21, 2017, 12:01:21 pm »
You can create folder 0 and move files into it manually
You would have to adjust the filename in the downloads database table to be 0/filenamehere
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 102
    • View Profile
Re: Downloads folderm
« Reply #2 on: March 21, 2017, 12:33:14 pm »
Thanks for the reply

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3233 Views
Last post May 19, 2008, 08:57:52 pm
by ApplianceJunk
3 Replies
6070 Views
Last post September 23, 2009, 11:13:43 pm
by SMFHacks
1 Replies
2468 Views
Last post September 06, 2009, 10:11:21 pm
by SMFHacks
1 Replies
3794 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
8035 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Change colors of Halloween theme by SMFHacks
October 24, 2019, 11:44:59 am

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

Powered by EzPortal