#1  
Old 28th June 2007, 02:46
raptor2552 raptor2552 is offline
Junior Member
 
Join Date: Apr 2007
Location: Melbourne, FL
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default backuppc data directory

How do I change the data directory in backuppc that is currently set to /var/lib/backuppc/pc? Backuppc works well but I would like to add an external HDD dedicated to backup files. This is running on Ubuntu 7.04 and was installed using Synaptic.
Reply With Quote
Sponsored Links
  #2  
Old 28th June 2007, 21:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You could create a symlink to the new directory.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
raptor2552 (2nd July 2007)
  #3  
Old 2nd July 2007, 23:22
raptor2552 raptor2552 is offline
Junior Member
 
Join Date: Apr 2007
Location: Melbourne, FL
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes I was able to link to a new directory

Thanks
Reply With Quote
  #4  
Old 17th October 2007, 03:36
commonplace commonplace is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default more help, please!

I have the exact same scenario. BackupPC, installed via Synaptic, backing up by default to /var/lib/backuppc but I want it to backup to my external hard drive.

I know a little about symlinks but I've never actually had to do them.

I did this:

Code:
ln -s /var/lib/backuppc /media/300/backuppc
That seemed to work... but it just makes everything in /var/lib/backuppc appear in the new location. I want it in the new location instead of the original, not in addition to. What am I doing wrong, or what do I need to do to accomplish this?

To recap: The partition where /var/lib/backuppc resides is not where I want my backups going to. /media/300/backuppc is a folder on my external (300GB, hence the '300' name) hard drive

Thank you!!

/Kevin
Reply With Quote
  #5  
Old 17th October 2007, 17:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by commonplace
That seemed to work... but it just makes everything in /var/lib/backuppc appear in the new location. I want it in the new location instead of the original, not in addition to. What am I doing wrong, or what do I need to do to accomplish this?
Your backups are stored in /media/300/backuppc only, not in /media/300/backuppc AND /var/lib/backuppc. When you take a look at the contents of /var/lib/backuppc, you actually see the contents of /media/300/backuppc because /var/lib/backuppc is a symlink to /media/300/backuppc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 21st May 2008, 15:39
Caribbean Caribbean is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I would like to use both drives

This is a good post for me, but I am installing a new hard drive and followed some of the other howtos to get the disk recognized, but I would like to now have BackupPC use the new hard drive and the old harddrives together. The SymLink just re-routes the data to the new location correct?

As you can see below I have added 500GB (1 drive) to my 750GB (original 2 drives using CentOS) and now have 1.2TB. However df -h shows that I still just have the orginal 750GB.


[root@CRO-Backup ~]# vgdisplay
--- Volume group ---
VG Name Backup00
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 3
Act PV 3
VG Size 1.20 TB
PE Size 32.00 MB
Total PE 39343
Alloc PE / Size 24439 / 763.72 GB
Free PE / Size 14904 / 465.75 GB
VG UUID VDHoBk-nd0b-R0zu-iqpx-lNCe-5CEy-rSF74d

[root@CRO-Backup ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/Backup00-Backup00
739G 578G 123G 83% /
/dev/sda1 99M 17M 77M 18% /boot
tmpfs 888M 0 888M 0% /dev/shm

Note: VG size is correct with the extra 500GB, but the df -h command shows /dev/mapper seeing only the original size. How can I get BackupPC to just utilaze all of the space -- or will it and I just need to wait?

Sorry for being such a newbie!
Reply With Quote
  #7  
Old 22nd May 2008, 12:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

You must extend the LV with the lvextend command and then resize the file system on the LV with the resize2fs command. See http://www.howtoforge.com/linux_lvm_p4
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 19:37
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37


All times are GMT +2. The time now is 14:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.