Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: Hermankidd
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 39780
Total Topics: 7006
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 41
Total: 41

Author Topic: Downloads folderm  (Read 1141 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Downloads Pro Customer
  • Jr. Member
  • *****
  • Posts: 99
    • 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: 14904
    • 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
  • Jr. Member
  • *****
  • Posts: 99
    • 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
3154 Views
Last post May 19, 2008, 08:57:52 pm
by ApplianceJunk
3 Replies
5973 Views
Last post September 23, 2009, 11:13:43 pm
by SMFHacks
1 Replies
2432 Views
Last post September 06, 2009, 10:11:21 pm
by SMFHacks
1 Replies
3713 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
7854 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

[Mod]Login Menu Button by SMFHacks
July 05, 2019, 03:26:24 pm

Update by SMFHacks
June 19, 2019, 10:58:25 am

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

Powered by EzPortal