Hi,
I am moving my forum from a VPS to a dedicated server and I am running some tests.
What I did a couple of times in the last days is:
- backup on the old server
- restore on the new server
Everything seems working fine but there is one thing I noticed: when I restore on the new server, the newest member shown on the home page is a test member I created after the previous restore. Seems only a visualization issue, because all the members are still there.
Probably an example will clarify what I mean:
- 25 October: backup and restore on the new machine; create a fake member test01 (number of total members 45000)
- 07 November: new backup and new restore; total members 50.000; in the forum statistics the number of users is correct, but the newest members is still test01 (that is not even in the DB since it was created only on the restore then dumped).
I am guessing this is because of the caching system (since I drop the DB before the new restore, that is the only place that info could be saved). What should I do then?
In the config I have
Should I erase the cache before the new restore? (if so, how?
)
Should I change the prefix at each restore?
Could this issue carry other problems? Otherwise, I could leave like that, since if I create a new user, it appears correctly in the forum stats.
Thank you
I am moving my forum from a VPS to a dedicated server and I am running some tests.
What I did a couple of times in the last days is:
- backup on the old server
- restore on the new server
Everything seems working fine but there is one thing I noticed: when I restore on the new server, the newest member shown on the home page is a test member I created after the previous restore. Seems only a visualization issue, because all the members are still there.
Probably an example will clarify what I mean:
- 25 October: backup and restore on the new machine; create a fake member test01 (number of total members 45000)
- 07 November: new backup and new restore; total members 50.000; in the forum statistics the number of users is correct, but the newest members is still test01 (that is not even in the DB since it was created only on the restore then dumped).
I am guessing this is because of the caching system (since I drop the DB before the new restore, that is the only place that info could be saved). What should I do then?
In the config I have
PHP Code:
// ******** DATASTORE PREFIX ******
$config['Datastore']['prefix'] = 'forum1';
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

Should I change the prefix at each restore?
Could this issue carry other problems? Otherwise, I could leave like that, since if I create a new user, it appears correctly in the forum stats.
Thank you

Comment