![]() |
I have 3 different websites on 3 different shared-servers/vps. I want...
website#1 to act as the mirror/backup for ALL uploaded files.
website#2 should only backup the images (png,gif, jpeg).
website#3 should only backup the .psp, .psd, .mp3, .flv, and .mp4 files.
The backup websites should be able to create their own folders so that it matches the same folders as the main website. "wp-content/uploads/2010/01"
Please take a look at the related post below so you can see the code that I use on my website.
RELATED POST: [[LINK href="http://wpquestions.com/question/show/id/752"]]http://wpquestions.com/question/show/id/752[[/LINK]]
THIS IS THE CODE THAT WE HAVE ALREADY (working). It mirrors all uploads silently to our backup website#1. Now I need to improve this plugin so I can backup only CERTAIN files to website#2 and website#3.
plugin: uploadmirror/uploadmirror.php
And here's the code for the accompanying 'helper' file that downloads the uploads on the remote server: website#1 /wp-content/uploads/filedump.php Solution - 1Didnt Jonah Schulte solve your problem before? |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 9 |