LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-08-2008, 09:55 AM   #1
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Rep: Reputation: 15
BackupPC on the backup server


I got a backup server that I want to set up with the following specs:

HP Proliant DL380G5
- 1TB (RAID5)

This server is going to run as a backup server. That is I will install BackupPC and run full and incremental backups of our fileserver (same HP Proliant RAID5), our firewall (also HP Proliant, but only 2x 146GB RAID disks in there) and our mailserver (same situation like firewall).

The main thing here is the fileserver. Here's how it's been partitioned. Notice the space allocation for the boot partition. Our systems guy must have been high on something.

/boot 3.7GB
/ 9.3GB
swap 502MB
/srv 918GB
/usr 19GB


I would like some advice on how to partition the backup server. Is LVM a good idea?

Quote:
BackupPC stores the backups in /var/lib/backuppc, so I've made that an extra partition of about 90 GB on the BackupPC server. It should be noted that this is still very small, especially if you want to back up lots of machines, so bigger is better. Also, you should consider using LVM for the /var/lib/backuppc partition so that you can enlarge it whenever you need it. You can learn more about LVM in this tutorial: http://www.howtoforge.com/linux_lvm

source>>
 
Old 08-08-2008, 10:18 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
LVM is always a really good idea.

/boot = 100MB or so, never really need more than that.
/ = 1024MB is usually sufficient.
/usr = 4GB - 8GB is usually sufficient.
/var = 2GB - 4GB is usually sufficient.
/tmp = 2GB - 4GB is usually sufficient.
swap = matching the amount of RAM in system is usually sufficient.
/srv = If that's where you're storing backups, use remaining space or change it like /backup or /data, etc.

The nice thing about LVM is it allows you to grow and shrink each on the fly when necessary. Since this is a backup server, I wouldn't even worry about setting aside /home on it's own partition, unless users are going to be using it, then set aside if that's the case.
 
Old 08-08-2008, 12:21 PM   #3
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
BackupPC stores the backups in /var/lib/backuppc
I'm storing the backup as stated above. So do I let /var take up the rest of the space, then?
 
Old 08-08-2008, 02:15 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Nah, I'd create a /var/lib/backuppc and leave /var with it's own partition, that way if your backups fill up all the space, it won't affect anything in var like logs and pid files, etc.
 
Old 08-08-2008, 02:46 PM   #5
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by trickykid View Post
Nah, I'd create a /var/lib/backuppc and leave /var with it's own partition, that way if your backups fill up all the space, it won't affect anything in var like logs and pid files, etc.
You mean two var's? One official one, and the other containing only ./lib/backuppc?

Last edited by rozilla; 08-08-2008 at 09:29 PM.
 
Old 08-10-2008, 06:47 PM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by rozilla View Post
You mean two var's? One official one, and the other containing only ./lib/backuppc?
What he meant was to have a partition that is mounted on /var. Then, inside the directory /var you have a directory lib, and inside that a directory backuppc. That directory, whose full path is /var/lib/backuppc is used as the mount point for the partition with all the backup space. This is standard UNIX/Linux approach to file structures. Hope that's clear.
 
Old 08-11-2008, 10:24 AM   #7
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks, that helped. :-)
 
Old 02-01-2022, 09:21 PM   #8
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Rep: Reputation: Disabled
Quote:
Originally Posted by choogendyk View Post
What he meant was to have a partition that is mounted on /var. Then, inside the directory /var you have a directory lib, and inside that a directory backuppc. That directory, whose full path is /var/lib/backuppc is used as the mount point for the partition with all the backup space. This is standard UNIX/Linux approach to file structures. Hope that's clear.
they call it 'hardlink'
 
  


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
BackupPC help tsaravan Linux - Networking 1 12-20-2007 05:46 PM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
backuppc tkt Linux - Newbie 0 06-10-2005 12:44 AM
BackupPC uselpa Slackware 1 01-24-2005 10:19 AM

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

All times are GMT -5. The time now is 06:22 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