Page 1 of 1

scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Thu Feb 13, 2020 5:12 pm
by alexscj
Hello,

trying to convert a big SCJ v1 db, 6.5 GB, 1.8 mill galleries.

How can I send scj_1to2_db_converter.php to background so it's not dependent of the current session ?

Can we resume an interrupted scj_1to2_db_converter.php so it continues from where it was interrupted ? Amazing if you can implement this.

Re: scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Thu Feb 13, 2020 6:36 pm
by admin
Hello, you can use `screen` for example

or bg\fg commands

Re: scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Fri Feb 14, 2020 8:34 am
by alexscj
Thanks! Seems

Code: Select all

screen
does the job. It's in progress

Sending the converter.php to background stopped it from running for some reason.

Re: scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Fri Feb 14, 2020 12:35 pm
by admin
ok

Re: scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Fri Feb 14, 2020 4:57 pm
by alexscj
I'm sorry that my db size doesn't impress you :D

Re: scj_1to2_db_converter.php - Huge db - Best practices - background / resume

Posted: Fri Feb 14, 2020 5:31 pm
by admin
=)) I have 10M at demo site, so it's ok )