Announcement

#1 2020-05-21 15:34:26

gurol
Member
2020-05-21
3

Photos to be stored on another server

Hi!

Is there option to have piwigo to be installed on one VPS and to store all images on another VPS?
This is needed because i have two VPS, one is fast but has small HDD, another is slower but has plenty of free GB of space. So, I want to install Piwigo system on the first one, but to make all the photos to be uploaded to the second one.

Any ideas guys?

Offline

 

#2 2020-05-21 23:59:33

windracer
Member
St. Pete, FL
2014-12-28
388

Re: Photos to be stored on another server

If you're able to map a shared location from one VPS to the other you could symlink Piwigo's _data, galleries, and upload folders to the VPS with more storage. This is basically what I do to store all of my images on my NAS instead of the server where Piwigo is actually running.

Offline

 

#3 2020-05-22 11:19:38

gurol
Member
2020-05-21
3

Re: Photos to be stored on another server

Thanks,
but it is more actual only after uploading the photos to VPS1 right?
I mean firstly i would have to upload photos to the main server, and later move all the _data galleries to VPS2 and put in symlink for that assets from VPS1 to VPS2?

Offline

 

#4 2020-05-22 20:49:19

erAck
Only trying to help
2015-09-06
1494

Re: Photos to be stored on another server

If you symlink the directories mentioned then an upload on VPS1 will place the files already under the target directories on VPS2.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact