Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 193
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 198
Total: 198

Author Topic: Downloads folderm  (Read 2126 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
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: 16436
    • 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: 185
    • View Profile
    • Quizland
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
2 Replies
5426 Views
Last post September 23, 2006, 09:20:19 pm
by SMFHacks
0 Replies
5642 Views
Last post May 19, 2008, 08:57:52 pm
by ApplianceJunk
5 Replies
6169 Views
Last post August 30, 2009, 05:36:57 pm
by SMFHacks
1 Replies
5866 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
10966 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal