Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 09:39:13

Author Topic: Partial backup help  (Read 3016 times)

0 Members and 1 Guest are viewing this topic.

Offline BigWeb.EU

  • Valuable Member
  • *
  • Posts: 114
  • Karma: +0/-0
    • View Profile
Partial backup help
« 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 ?


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Partial backup help
« Reply #1 on: 2017-08-05, 19:37:30 »
Try using 'sh /script/backup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline BigWeb.EU

  • Valuable Member
  • *
  • Posts: 114
  • Karma: +0/-0
    • View Profile
Re: Partial backup help
« Reply #2 on: 2017-08-05, 20:14:23 »
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 ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Partial backup help
« Reply #3 on: 2017-08-06, 04:33:06 »
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')
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline BigWeb.EU

  • Valuable Member
  • *
  • Posts: 114
  • Karma: +0/-0
    • View Profile
Re: Partial backup help
« Reply #4 on: 2017-08-07, 20:08:04 »
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

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.047 seconds with 21 queries.

web stats analysis