Author Topic: Backup slow  (Read 1739 times)

brononi

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Backup slow
« on: August 06, 2008, 03:09:42 pm »
Hey,

We're trying to take a backup (+/- 40GB) of our system, but this takes ages (after 20hours no luck).
We're seeing now also that the system (admin page and so) starts to begin slow down. It takes about 10minutes before the server is boot up. The server recieve a power-off each night.
I think that there's a backup running on the background that messes up everything. Is this possible after a reboot?

The system is a 3.6Ghz, 3GB memory, 2x500GB Disk SATA...

Any idea what i can do to improve anything?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Backup slow
« Reply #1 on: August 12, 2008, 07:20:41 pm »
Hi,

My recommendation is that you shouldn't  takea full data backup with that size.   

Take a configuration backup  and use rsync to backup your data.

Ideally, we'll improve the backup module to do this automatically.


brononi

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Backup slow
« Reply #2 on: August 13, 2008, 07:28:44 am »
Take a configuration backup  and use rsync to backup your data.

Is rsync something that's standard in there?  :-\

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Backup slow
« Reply #3 on: August 13, 2008, 04:10:25 pm »
rsync is a pretty standard tool and quite straighforward to use? The downside is you will have to run commands as eBox doesn't support that yet from the webinterface.

Give it a try if you have time. The directory where all user and group data live is /home/samba, so that's the one you should make sure you backup.

With rsync you can just tell it sync this directory against this directory which can be local or remote, and everytime you run it, it will take care of syncing the differences between your production copy and your backup.


brononi

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Backup slow
« Reply #4 on: September 24, 2008, 01:34:24 pm »
What is the easiest way to install rsync?  :-[

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Backup slow
« Reply #5 on: September 24, 2008, 07:04:06 pm »
Run:
Code: [Select]
$ sudo apt-get install rsync
in those host which is the data source to back up. Read the manual for instructions  but it is not so difficult.
My secret is my silence...