LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2012, 07:08 PM   #1
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
Question Easiest service to configure for network backups


I am interested in getting a backup service working for my local network.

I am running CentOS 6.2, I was just wanting some good advice on this subject. I have tried BackupPC so many times but failed to even get that working effectively (well at all).

Is this the best back service to use? If so are there any really good posts either on this blog or elsewhere. I have actually tried a few but non have worked at all so far (this is going over x number of years I have tried configuring this to work).

Any help's much appreciated in advance as usual,
Jeremy.
 
Old 04-20-2012, 08:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Do you mean off-site backup or local backup to a local file server?

If you have ssh access to the target, rsync should do the trick; see man rsync for details. I've heard Back in Time, a GUI frontend for rsync, reviewed favorably.
 
Old 04-21-2012, 08:57 AM   #3
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Original Poster
Rep: Reputation: 1
It's local I don't tend to trust offsite backups prefer to make them myself local to the network.

Is that a http based GUI or a Linux OS based GUI?

I know that BackupPC can use rsync as it's actual backing up process among others about 5 I think from when I was looking at the setup configs.
 
Old 04-21-2012, 09:17 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
You say you want the easiest and the best but they are seldom the same!

If "best" means providing full, differential and incremental backups with restore of selectable files from a specific point in time to arbitrary locations, the the best FOSS backup solutions for several computers on a network are arguably Amanda and Bacula -- but they're not easy!

If "best" means fully driven by GUI interfaces, I dunno (Bacula has Bat as a management console but configuration is by editing files).

If "best" means "easy to understand and set up" ...
 
Old 04-21-2012, 08:52 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Back in Time is Linux software.
 
Old 04-23-2012, 05:31 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
If you're looking to keep multiple versions of changed data on your backup then take a look at DIRVISH.

We use that as we often get requests along the lines of "I deleted document X yesterday / I saved a spreadsheet over document Y can you get them back from an older version?"

We also send the data to LTO4 tape but we use custom scripting for that to allow for encryption.
 
Old 04-23-2012, 07:31 AM   #7
kyrunner
LQ Newbie
 
Registered: Apr 2012
Location: New York
Distribution: Centos,Debian
Posts: 29

Rep: Reputation: 1
Here is my backup script that runs every night.

#!/bin/bash
# bash script to backup website
BACKUP_LOG=/home/mike/mysql/website.log

date +"%Y-%m-%d %X" > $BACKUP_LOG

# bash script to backup mysql
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_BACKUP_DIR=/home/mike/mysql

# backup mysql databases

/usr/bin/mysqldump --user=$MYSQL_USER --password=$MYSQL_PASSWORD --all-databases --lock-all-tables --flush-logs --master-data=2 | bzip2 -c > $MYSQL_BACKUP_DIR/all-$(date -I).sql.bz2


# backup file system
rsync -avh --progress --delete /etc/postfix /srv/www /home/mike/mysql kyrunner@192.168.1.1:/Users/kyrunner/backup

# remove old MySQL database backups
find $MYSQL_BACKUP_DIR -maxdepth 1 -type f -name *.sql.bz2 -mtime +30 -exec rm -Rf {} \;

date +"%Y-%m-%d %X" > $BACKUP_LOG

# send email
mailx -s "Micro: website log" testgamil@gmail.com < $BACKUP_LOG

Last edited by kyrunner; 04-23-2012 at 07:35 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure Network Booting Service (in RHEL 3 using GUI tool provided with it ) jatin Linux - Newbie 5 06-04-2010 09:50 AM
[SOLVED] What is easiest smtp server to setup and configure? alanoco79 Linux - Newbie 10 03-06-2010 12:18 AM
LXer: Use AIX to configure your Network Info Service LXer Syndicated Linux News 0 12-01-2007 01:00 AM
what is the difference between service network reload and service network restart ? markraem Linux - Networking 3 11-21-2007 03:08 PM
LXer: Install and configure Network Information Service (+) LXer Syndicated Linux News 0 09-01-2007 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration