Koozali.org: home of the SME Server

Backup

Offline fastautomation

  • **
  • 31
  • +0/-0
Backup
« on: June 19, 2008, 11:28:58 AM »
What is the best way to do a complete backup of my server on a daily basis?

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Backup
« Reply #1 on: June 19, 2008, 02:41:42 PM »
There are some tired, jaded, cranky old so and so's who would scream RTFM!!!! :shock: or use the F'n Search button :shock:

I personally use the DAR2 contrib and three usb drives.

Unless you want to make a "ghost" of the whole system. If that is what you want you better use the search button.

Have a really great day  :-D
« Last Edit: June 19, 2008, 02:44:11 PM by imcintyre »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Backup
« Reply #2 on: June 19, 2008, 04:11:35 PM »
fastautomation

There is no "best" way, it depends on your requirements

Please learn to read the FAQ, the list of Contribs and the list of Howtos, as your question and many others have already been answered.

Start here
http://wiki.contribs.org/Main_Page
and here
http://wiki.contribs.org/Category:Contrib
and here
http://wiki.contribs.org/Category:Howto

There is even a grouping of Backup solutions here
http://wiki.contribs.org/Category:Backup

Of course there is also the standard default backup to tape (scheduled) or backup to desktop (not scheduled) which you would have found out about if you did indeed read the manual here
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual


The "most popular" contribs would be
DAR2
Backup with dar
Affa

....and I'm not a tired, jaded, cranky old so and so, just telling it the way it is !
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Backup
« Reply #3 on: June 19, 2008, 05:52:32 PM »
Just my way of saying it without saying it... 8)

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: Backup
« Reply #4 on: June 19, 2008, 11:35:56 PM »
depends what you want backup the whole system or just user files the whole sys i like acronis much better than ghost

Offline fastautomation

  • **
  • 31
  • +0/-0
Re: Backup
« Reply #5 on: June 20, 2008, 04:12:14 PM »
Sorry if I haven't been specific enough, I have read all the manuals and so forth but I need to backup the complete server remotely to my offices. I don't know if it's possible or how it can be done.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Backup
« Reply #6 on: June 20, 2008, 04:28:00 PM »
It sounds like this must be what you are looking for.

http://wiki.contribs.org/Affa

Offline fastautomation

  • **
  • 31
  • +0/-0
Re: Backup
« Reply #7 on: June 20, 2008, 05:15:26 PM »
Affa does look like what I'm after but when trying to install it, about half way I get "trying another mirror" "error: failure, no more mirrors to try. Anymore suggestions.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Backup
« Reply #8 on: June 20, 2008, 06:07:34 PM »
Quote
about half way I get "trying another mirror" "error: failure, no more mirrors to try.

strange,

I just installed it on my clean 7.3 test server with all updates. It installed in about 30 seconds with no errors???

I would try again. You may need to do the following.

Code: [Select]
yum clean all

and then retry


Offline uniqsys

  • *
  • 133
  • +0/-0
Re: Backup
« Reply #9 on: June 20, 2008, 06:14:37 PM »
Affa does look like what I'm after but when trying to install it, about half way I get "trying another mirror" "error: failure, no more mirrors to try. Anymore suggestions.

It would be more helpful if you could be a little more specific on your error, so we could help you better.

I use Affa and it works GREAT.  It is exactly what you want to do, especially remotely.  It uses rsync so it takes some time to sync the first time out, but after that it is very speedy.
...

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Backup
« Reply #10 on: June 20, 2008, 10:07:08 PM »
Just a note,

For some reason yum did not ask for the:

Code: [Select]
signal-event post-upgradeand
Code: [Select]
signal-event rebootafter installing,

When I went to run the perl script to configure I got the message "Error: Couldn't open /home/e-smith/db/affa db file."

after issuing the above commands we were off and running......

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: Backup
« Reply #11 on: June 21, 2008, 09:29:42 AM »
When I went to run the perl script to configure I got the message "Error: Couldn't open /home/e-smith/db/affa db file."
No need to do a reboot. Any Affa call will create the db, e.g. affa --make-cronjobs
I have updated the Affa installation chapter in the wiki.