MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: BigWeb.EU on 2017-08-05, 19:28:26
-
Hi Mustafa,
I have a server to move kloxo -> kloxo, however , theres ~50 sites and ~150GB in many many files. All sites are under "admin" user.
Is there a way i can only backup client settings/domain names/Mysql etc , but not the actual files ? So that Koxo would recreate all the structure on new server and DB, and I would move the actual files (home/admin) manually ?
-
Try using 'sh /script/backup'.
-
I cant use nromal backup - it is GZIPING and theres too many files . Thats why i need only bakcup of everything except the files , i will move files over SSH directly manually . Possible ?
-
I cant use nromal backup - it is GZIPING and theres too many files . Thats why i need only bakcup of everything except the files , i will move files over SSH directly manually . Possible ?
Not possible at this moment.
But you can this simple trick:
1. Create new client with name 'dbclient' (or other name)
2. Change owner of database to this 'dbclient'
3. If want backup database, use 'sh /script/backup --class=client --name=dbclient'
4. If want backup other than database, use 'sh /script/backup --class=client --name=client1' (change client1 to real client except 'dbclient')
-
Nice approach, will probably use for other tasks.
At the moment worked out this way :
1. copy whole mysql directory from old to new host (made sure all passwords are same for both old and new hosts)
2. ran upcp / cleanup - this broght all DBs/scheudled takss/etc in kloxo , and recreated direcotries
3. copied directories manually and extracted in /home.
All is working