Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-12-05 03:16:10

Jacob
Member
Registered: 2014-05-15
Posts: 193

Moving Videos

I'm currently using multi-server feature. Here's my scenario:

Server Jacob
Server Tom
Server Timmy

Currently, my main site files are on Server Jacob but the videos are on Server Tom but I need to move main site files to Server Timmy and the video files to Server Jacob.

How would I go about doing so without losing any content?

I'm assuming I can simply just download a backup of the database and site files and move it but how would the videos be moved?

Offline

#2 2014-12-05 06:42:20

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Moving Videos

You configure server Timmy to meet the script requirements, then you move the main files. Once done you test. If everything working you move the videos from server Tom to Server Jacob. You add in Admin -> Video -> Servers the new Jacob server and get its ID (in the left side of the table, you can also test the server). Once done you go to mysql and run: update video set server = jacob-server-id


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2014-12-17 06:35:09

Jacob
Member
Registered: 2014-05-15
Posts: 193

Re: Moving Videos

Thanks! That worked great however I noticed an issue. I tried finding the cause however failed.

On the main server in media/videos/mobile I have a ton of videos even though I am using the multi-server feature and pretty much all videos are hosted on the second server. Why is that?

Edited

Does the script allow remote thumbs like how the multi-server operates?

Last edited by Jacob (2014-12-17 08:31:06)

Offline

#4 2014-12-17 18:08:55

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Moving Videos

Are the videos uploaded to the media server successfuly? If yes, then the videos from the main server are automatically deleted.

You can use a separate thumb server. See Admin -> Video -> Config -> Thumbs.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2014-12-18 20:13:31

Jacob
Member
Registered: 2014-05-15
Posts: 193

Re: Moving Videos

Are the videos uploaded to the media server successfuly? If yes, then the videos from the main server are automatically deleted.

-> These are the ones I manually moved to the media server.

You can use a separate thumb server. See Admin -> Video -> Config -> Thumbs.

-> Where do I put in the URL for the thumbs? Like which URL to fetch the thumbs from.

Offline

#6 2014-12-19 07:55:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Moving Videos

You have to delete these videos if you moved them manually.

libraries/framework/cdn.php and edit libraries/bootstrap.php and uncommend cdn.php


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB